COM_MOD_FCT23_TYPEΒΆ
Parameter | Value |
---|---|
Library_File_Name | Modbus_AC500_V10.lib |
Firmware | V2.2 |
This structure is used to handle the MODBUS function 23 with the Function Block COM_MOD_MAST COM_MOD_MAST. The structure has to be used at the DATA input with an ADR(instance_of_struct) operator.
Note
MODBUS function 23 could only be used with CPUs with onboard ETHERNET.
Type and the content need to be created and defined by the user.
Visible variable | Type | Default value | Description |
---|---|---|---|
pByDataWrite | POINTER TO BYTE | 0 | Pointer to buffer containing data to write. Compare FCT 16 input DATA |
pByDataRead | POINTER TO BYTE | 0 | Pointer to buffer to store data to read. Compare FCT 03 input DATA |
wDataAddressRead | WORD | 0 | Address of the data to be read. Compare FCT 16 input ADDR |
wNumDataUnitsRead | WORD | 0 | Number of data units to be read. Compare FCT 16 input NB |