Sample Pc Link Protocol Transmission Program - Toshiba T2N Instruction Manual

Cpu module ethernet port
Hide thumbs Also See for T2N:
Table of Contents

Advertisement

5.5 Sample PC Link Protocol Transmission Program

This section presents a sample program that uses PC link protocol transmission.
This program creates increment data within the local port and writes it to the remote port's
registers. Next it reads out the same area and compares it with the data within the local port to
check that the function succeeded.
This program assumes that the parameter setup request and the operating mode control request
(message transmission permission) have already completed.
Local port IP address:
Local port message transmission UDP port number:
RW090: Execution count specification (1 to 32767)
RW091: Operation when a comparison error occurs (continue: 0, stop: 1)
RW092: Transfer register data length (1 to 485 words)
RW093: Write time transfer source register type
RW094: Write time transfer source register start number
RW095: Write time transfer destination register type/read time readout source register type
RW096: Write time transfer destination register start number/read time readout source
RW097: Read time storage register type
RW098: Read time storage register start number
W0991, W0990:
W0992: Remote destination message transmission UDP port number .......... 1025
This ladder program is executed by turn on the R0520 A contact.
133. 113. 98. 10 (85H. 71H. 62H 0AH)
register start number
Remote destination IP address
133. 113. 98. 20 (85H. 71H. 62H. 14H)
64
6 F 3 B 0 3 6 2
2000

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pu235nPu245n

Table of Contents