TM3_GetModuleBusStatus: Get TM3 Module Bus Status
This function returns the bus status of the module. The index of the module is given as an input parameter.
To see the general representation in IL or ST language, refer to the chapter Function and Function Block Representation.
The following table describes the input variable:
Input |
Type |
Comment |
---|---|---|
ModuleIndex |
BYTE |
Index of the expansion module (0 for the module closest to the controller, 1 for the second closest, and so on). |
The following table describes the output variable:
Output |
Type |
Comment |
---|---|---|
TM3_GetModuleBusStatus |
Returns TM3_NO_ERR (00 hex) if command is correct otherwise returns the ID code of the detected error. |