IoDrvModbusComPort (FB)ΒΆ
FUNCTION_BLOCK IoDrvModbusComPort EXTENDS IoDrvModbusBase.IoDrvModbusBase IMPLEMENTS ICmpIoDrvParameter
This function block is generated for each serial Modbus master in the device tree.
- InOut:
Scope
Name
Type
Initial
Comment
Input
xStopBOOLFALSE
Stops sending any new requests to the Slaves if TRUE, continues if FALSE
xResetComPortBOOLFALSE
Closes and immediately reopens the COM Port on a rising edge
Output
uiNumberOfCommunicatingSlavesUINT0
Displays the number of communicating Slaves
xAllSlavesOkBOOLFALSE
Is TRUE if all Slaves are communicating, is FALSE if some Slaves have errors
Methods:
Structure: