MODBUS RTU help
Posted: Wed May 13, 2020 6:39 pm
Hello,
this is Component macro in MODBUS Slave (SCADA)
could you kindly share how to retrieve the info ( INDEX 0 thru INDEX 3)
*======================================*
GetLastIncoming
Gets a value from the last incoming command.
Index 0 = 0 Read / 1 Write
Index 1 = 0 Coils / 1 DigInput / 2 AnInput / 3 Register
Index 2 = Address
Index 3 = Number
Parameters
This macro has no parameters
Return value
UINT
*======================================*
Thank you
this is Component macro in MODBUS Slave (SCADA)
could you kindly share how to retrieve the info ( INDEX 0 thru INDEX 3)
*======================================*
GetLastIncoming
Gets a value from the last incoming command.
Index 0 = 0 Read / 1 Write
Index 1 = 0 Coils / 1 DigInput / 2 AnInput / 3 Register
Index 2 = Address
Index 3 = Number
Parameters
This macro has no parameters
Return value
UINT
*======================================*
Thank you