129
6 F 3 B 0 3 6 2
For data storage registers, a boundary error (TermSTS = 0AH) occurs if the specified area
(start register + register range) does not exist in the local port.
A response timeout error (TermSTS = 02H) occurs if the loopback response time exceeds the
time specified by the timer counter value.
If the local port registers are write protected by setting the special coil, the memory write
protected status (TermSTS = 04H) is returned.
F9876543210
SW067 SW CT F DRW LW W XW/YW
e. Sample program
This sample ladder program issues a remote port loopback request to the Ethernet Port.
This program is executed by turning on the R0092 A point.
A user program must compare the transmitted and loopback data for equivalence.
Parameters: 12544:3100H, 00015:000FH
|R0092 |
1|-| |-+[12544 MOV W0903][00015 MOV W0904]----------------------------|
| | /* Designates the module and sets the CMD number. */
| | |
| +[00485 MOV W0905]---------------------------------------------|
| | /* Sets the loopback data length. */
| | |
| +[00004 MOV W0906][00000 MOV W0907]----------------------------|
| | /* Sets the send source register type and starting register
|number. */
| | |
| +[00004 MOV W0908][00500 MOV W0909]----------------------------|
| | /* Sets the loopback destination register type and starting
|register number. */
| | |
| +[00100 MOV W0910]---------------------------------------------|
| | /* Sets the response time limit. (10 seconds) */
| | |
| +[341995909 DMOV W0912W0911][01025 MOV W0913]-----------------|
| | /* Loopback destination IP address, message transmission UDP
|port number */
| | |
| +[W0903 SEND W0914][RST R0092]---------------------------------|
| /* Sets the request. */
7.5 Time Setting
The Ethernet Port internal time is set from the T2N. This information is used as the time
information in the Ethernet Port event trace.
0:Write enabled
1:Write protected
Special registers
Counter registers
Timer registers
PC internal file registers
Expansion file registers (IC card)
Input/output registers
Link registers
Link relay registers
Auxiliary registers
Data registers