Toshiba S20LP Network Card User Manual


 
44
6 F 3 B 0 3 5 6
(5) Sample program
This program transmit the data from TOSLINE-S20LP's scan data memory to T2N/T3H's D
register. If the following program is executing, the data of the scan memory from 0000 to
0009 are transmitted to the data register from D0200 to D0209 (D register).
Source designation Transfer size Destination designation
RW003 H01 H10 RW005 00010 RW020 H00 H04
RW004 00000 RW021 00200
Channel 1 S20LP 10 Words transfer D0200 (CPU register)
Scan memory address
Operation
When X0000 is ON, 10 words data starting with scan memory address 0 is transferred to
D0200 and after.
TOSLINE-S20LP T2N/T3H’s CPU
scan data memory source register designation
00001 D0200 00001
00100 D0201 00100
12345 D0202 12345
Transmit
03344 D0207 03344
11565 D0208 11565
00045 D0209 00045
[00272 MOV RW003] [00000 MOV RW004] [00010 MOV RW005]
X0000
[00004 MOV RW020]
[00200 MOV RW021]
[RW003 XFER RW005 RW020]
H0110 00010 H0004