Program blocks
5.3 MODBUS blocks
CP 154xSP-1
Operating Instructions, 12/2019, C79000-G8976-C426-05
85
Program blocks
Program-controlled changing of the IP parameters is supported by program blocks. The
program blocks access address data stored in a suitable system data type (SDT).
Apart from the address parameters of the CP, with T_CONFIG the address parameters of
DNS servers (IF_CONF_DNS) and NTP servers (IF_CONF_NTP) can also be changed
program controlled.
The following program blocks and system data types can be used:
●
T_CONFIG
Together with the following SDTs:
–
IF_CONF_V4
–
IF_CONF_V6
–
IF_CONF_NTP
–
IF_CONF_DNS
You can find detailed information on the blocks and SDTs in the STEP 7 information system.
5.3
MODBUS blocks
MODBUS (TCP)
All three CP types support the program blocks for MODBUS (TCP):
●
MB_CLIENT
●
MB_SERVER
You can find detailed information in the STEP 7 information system.