MDI_DataInterface_RTU (FB)
FUNCTION_BLOCK MDI_DataInterface_RTU
This function block is used to transfer command and status data between the application layer and the communication layer of the PLC program. An instance of the relevant function block must exist for each axis in the application.
- InOut:
Scope
Name
Type
Initial
Comment
Input
ExecuteBOOLBegins the read-and-write interface cycle.
DriveAddressBYTE1
Drives node address.
TimeOutINT200
Communication Timeout [ms].
LastDoneBOOLLink to last MDI_DATAINTERFACE_RTU.Done but to reset function chain.
TypeOfDriveMDI_DriveType.ACSx80
e5x0:= 0, ACSx80:= 1.
ResetCommsErrorBOOLClear a communication error that is present in the output.
Inout
AxisReference to axis.
Output
DoneBOOLRead-and-write operations completed without an error.
ErrorBOOLSignals that an error has occurred within function block.
ErrorIDContains the error code when there is an error.
Structure: