Program blocks
5.1 Program blocks for OUC
CP 154xSP-1
82
Operating Instructions, 12/2019, C79000-G8976-C426-05
For changing configuration data of the CP during runtime:
●
T_CONFIG V1.0
Program-controlled configuration of the IP parameters
See section Changing the IP parameters during runtime (Page 84) for more on this.
The program block can be found in STEP 7 in the "Instructions > Communication > Open
User Communication" window.
Connection descriptions in system data types (SDTs)
For the connection description, the blocks listed above use the parameter CONNECT (or
MAIL_ADDR_PARAM with TMAIL_C). The connection description is stored in a data block
whose structure is specified by the system data type (SDT).
Creating an SDT for the data blocks
Create the SDT required for every connection description as a data block (global DB).
The SDT type is not created by selecting an entry from the "Data type" drop-down list in the
declaration table of the block, but by entering the name manually in the "Data type" box, for
example "TCON_IP_V4". The corresponding SDT is then created with its parameters.
Содержание CP 1542SP-1
Страница 8: ...Preface CP 154xSP 1 8 Operating Instructions 12 2019 C79000 G8976 C426 05 ...
Страница 12: ...Table of contents CP 154xSP 1 12 Operating Instructions 12 2019 C79000 G8976 C426 05 ...
Страница 86: ...Program blocks 5 3 MODBUS blocks CP 154xSP 1 86 Operating Instructions 12 2019 C79000 G8976 C426 05 ...
Страница 106: ...Approvals CP 154xSP 1 106 Operating Instructions 12 2019 C79000 G8976 C426 05 ...
Страница 116: ...Documentation references 10 CP 154xSP 1 116 Operating Instructions 12 2019 C79000 G8976 C426 05 ...