Toshiba T2N Network Card User Manual


 
131
6 F 3 B 0 3 6 2
e. Sample program
This sample ladder program issues a time set request to the Ethernet Port.
This program is executed by turning on the R0508 A point.
Parameters: 12544:3100H, 00024:0018H, 01942:0796H, 05124:1404H, 00048:0030H
|R0508 R0608 |
1|-| |-----------------------------------------------------------( )--|
| /* Time set request */
|R0608 |
2|-| |-+[12544 MOV RW000][00024 MOV RW001]----------------------------|
| | /* Designates the module and sets the CMD number. */
| | |
| +[01942 MOV RW002][05124 MOV RW003][00048 MOV RW004]-----------|
| | /* Sets the year, month, day, hour, minute, and seconds. */
| | |
| +[RW000 SEND RW010][RST R0508]---------------------------------|
| /* Sets the request. */
| |