ETH_MOD_FCT23_TYPEΒΆ
This structure is used to handle the MODBUS function 23 with the Function Block ETH_MOD_MAST ETH_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.
| Available as of PLC runtime system: | V2.2 | Remark: |
| Included in library: | Ethernet_AC500_V10.lib |
| Visible variable | Type | Default value | Description |
| pByDataWrite | POINTER TO BYTE | 0 | Pointer to buffer containing data to write. see FCT 16 input DATA |
| pByDataRead | POINTER TO BYTE | 0 | Pointer to buffer to store data to read. see FCT 03 input DATA |
| wDataAddressRead | WORD | 0 | Address of the data to be read. see FCT 16 input ADDR |
| wNumDataUnitsRead | WORD | 0 | Number of data units to be read. see FCT 16 input NB |