Expanded functions – Toshiba PROSEC T3H User Manual
Page 35
User’s Manual
33
2. Expanded Functions
When “GLOBAL” setting is used, the link registers of “GLOBAL” setting block are
assigned to both CH1 and CH2 S20’s.
T3H’s link register Block
Setting
CH1 S20
CH2 S20
W
CH1
CH2
scan memory
scan memory
W0192 - W0255
4
LINK
0192 - 0255
-
W0256 - W0319
5
GLOBAL
0256 - 0319
0256 - 0319
W0320 - W0383
6
GLOBAL
0320 - 0383
0320 - 0383
W0384 - W0447
7
GLOBAL
0384 - 0447
0384 - 0447
W0448 - W0511
8
GLOBAL
0448 - 0511
0448 - 0511
W0512 - W0575
9
LINK
0512 - 0575
-
W1216 - W1279
20
LINK
0192 - 0255
W1280 - W1343
21
W1344 - W1407
22
-
-
W1408 - W1471
23
W1472 - W1535
24
W1536 - W1599
25
LINK
0512 - 0575
•
The blocks 1 - 16 are dedicated to the CH1 S20, and the blocks 17 - 32 are
dedicated to the CH2 S20.
It is not allowed to assign the blocks 1 - 16 to CH2, and blocks 17 - 32 to CH1.
•
For the blocks set as “LINK” or “GLOBAL”, the T3H performs data read from S20
(for data receive area) and data write to S20 (for data send area).
The data transfer direction (read or write) is automatically decided by the T3H
according to the S20’s receive/send setting.
•
For the blocks set as “GLOBAL”, the data transfer is as follows.
1) If CH1 is receive and CH2 is send;
CH1 receive data is read and written into both W register and CH2.
2) If CH1 is send and CH2 is receive;
CH2 receive data is read and written into both W register and CH1.
3) If both CH1 and CH2 are send;
W register data is written into both CH1 and CH2.
4) If both CH1 and CH2 are receive;
The receive data of “GLOBAL” setting channel is read and stored in W register.
NOTE
In case of TOSLINE-S20LP, it has 4096 words of scan memory. The
leading 2048 words can be assigned straight to W register. The following
2048 words can be accessed by using XFER instruction.