![](/images/new-backgrounds/1300968/300968259x1.webp)
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.
SW067
F | 9 |
| 8 | 7 | 6 | 5 | 4 |
| 3 | 2 | 1 | 0 |
|
| 0: Write enabled | ||||||||||||||||||||
|
|
|
|
|
|
|
|
| SW | C | T |
|
|
| F | D | RW | LW | W |
| XW/YW | ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
| 1: Write protected | ||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Special registers |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Input/output registers | ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||
|
| Counter registers |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Link registers | |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||
|
|
|
| Timer registers |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Link relay registers | ||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||
|
|
| PC internal file registers |
|
|
|
|
|
|
|
|
|
|
| Auxiliary registers | ||||||||||||||||||||
| Expansion file registers (IC card) |
|
|
|
|
|
|
|
| Data registers |
| ||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
| ||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
| ||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
|
|
| |
MOV W0903][00015 MOV | ||||
/* | Designates the module and sets the CMD number. */ |
| ||
|
| |||
+[00485 | MOV | |||
/* | Sets the loopback data length. */ |
| ||
|
| |||
+[00004 | MOV W0906][00000 MOV | |||
/* | Sets the send source register type and starting register | |||
number. */ |
|
|
| |
|
| |||
+[00004 | MOV W0908][00500 MOV | |||
| /* Sets the loopback destination register type and starting | |||
register number. */ |
| |||
|
| |||
+[00100 | MOV | |||
/* | Sets the response time limit. (10 seconds) */ |
| ||
|
| |||
+[341995909 DMOV W0912∙W0911][01025 MOV | ||||
/* | Loopback destination IP address, message transmission UDP | |||
port | number */ |
| ||
|
| |||
+[W0903 | SEND W0914][RST | |||
|
| /* 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.
⎯ 129 ⎯