1.Write IP telegram to 14-byte communication object
This example shows how to write the contents of a received IP telegram to a 14-byte communication object.
The following steps are required:
The following steps are required:
- Step 1:
Create simple telegram. - Step 2:
In the Sender tab, select the option Data received from IP sender, and enter the data of the IP device (telegram type, address, IP port, etc.). - Step 3:
In the Receive tab, save a data block of type Value as plain text, and assign it a communication object of data type "14-byte". The complete contents of the IP telegram is written to this communication object. - Done!
If the HS/FS now receives a telegram at the defined IP port, the content is written to the 14-byte communication object.