E Sample Programs - Toshiba V Series Operation Manual

Integrated controller, ethernet module
Hide thumbs Also See for V Series:
Table of Contents

Advertisement

Appendix E Sample Programs
For your reference, simple examples of message transmission programs are shown
below.
Use communication FBs, USEND_T and URCV_T, for these purposes.
For a detailed description of communication FBs, refer to the Instruction Manual for S/L
Controllers (6F8C0865).
<Example of UDP transmission>
The program shown here for reference sends data from S3 of STN1 through the Ethernet
UDP port 20013 of STN1 to S2 of STN2 where the data is received through the Ethernet
UDP port 20013.
6F8C0879
STN1
0
1
2
3
4
S
2
172.16.64.7
STN2
0
1
2
3
4
(slot number)
S
2
172.16.64.4
89

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents