![](/images/new-backgrounds/1300968/300968269x1.webp)
6 F 3 B 0 3 6 2
e.Sample program
This sample ladder program issues a RAS information readout to the Ethernet Port. |
| |||||
This program is executed by turning on the R0505 A contact. |
| |||||
| Parameters: |
| 12544:3100H, 00021:0015H |
| ||
| RAS storage registers: | Starting at D0000. |
|
| ||
| RAS request type: | Event trace information, reads out 30 items starting with the most | ||||
|
|
|
| recent data. |
|
|
|
|
|
|
|
| |
R0505 |
|
|
| R0605 | ||
|
| ( | ||||
| /* | RAS information readout | */ |
| ||
R0605 |
|
|
|
| ||
MOV RW000][00021 MOV RW001] | ||||||
/* | Designates the module and sets the CMD number. | */ | ||||
|
|
|
| |||
+[00004 | MOV RW002][00000 MOV RW003] | |||||
/* | Sets the RAS storage register type and start number | */ | ||||
|
|
|
| |||
+[00004 | MOV | |||||
| /* Sets the RAS request type. */ |
| ||||
|
|
|
| |||
+[00000 | MOV RW005][00030 MOV RW006] | |||||
/* | Sets the information readout start position and count. */ | |||||
|
|
|
| |||
+[RW000 | RECV RW010][RST | |||||
|
| /* Sets the request. | */ |
| ||
|
|
|
|
| ||
|
|
|
|
|
|
|