163
13.3.3 Data link of CH1
GP monitors CH1 device generally, it is also used to link CH1 device to GP device.
In this chapter, D(i) is GP i-th device, Dk(i) is i-th CH1 with check number is k in a list.
• CH1 GP connection device : D(i)
• Configuration of link device
- 1:Check, Start device:D1(i), Bit/Word:Word, Numbers:A, Read/Write:Write
- 2:Check, Start device:D2(i), Bit/Word:Word, Numbers:B, Read/Write:Read
- 3:Check, Start device:D3(i), Bit/Word:Word, Numbers:C, Read/Write:Read
- 4:Check, Start device:D4(i), Bit/Word:Word, Numbers:D, Read/Write:Read
- 5:Check, Start device:D5(i), Bit/Word:Word, Numbers:E, Read/Write:Write
GP device (Word) Data movement
CH1
Checked
number
Device
First A units of device from D(i) -----> 1 D1(i) ~ D1(i+A-1)
B units of device from the next <----- 2 D2(i) ~ D2(i+B-1)
C units of device from the next <----- 3 D3(i) ~ D3(i+C-1)
D units of device from the next <----- 4 D4(i) ~ D4(i+D-1)
E units of device from the next -----> 5 D5(i) ~ D5(i+E-1)
• CH1 GP connection device:D(i)
• Configuration of link device
- 1:Check, Start device:D1(i), Bit/Word:Word, Numbers:A, Read/Write:Write
- 2:Check, Start device:D2(i), Bit/Word:Bit, Numbers:B, Read/Write:Read
- 3:Check, Start device:D3(i), Bit/Word:Word, Numbers:C, Read/Write:Read
- 4:Check, Start device:D4(i), Bit/Word:Bit, Numbers:D, Read/Write:Read
- 5:Check, Start device:D5(i), Bit/Word:Word, Numbers:E, Read/Write:Write
GP device (Word)
Data
movement
CH1
Checked
number
Device
First A units of device from D(i) -----> 1 D1(i) ~ D1(i+A-1)
[(B+16-
from the next
<----- 2 D2(i) ~ D2(i+[(B+16-1)/16]-1)
C units of device from the next <----- 3 D3(i) ~ D3(i+C-1)
[(D+16-
from the next
<----- 4 D4(i) ~ D4(i+[(D+16-1)/16]-1)
E units of device from the next -----> 5 D5(i) ~ D5(i+E-1)
In case, configured CH1 link device as bit, it is linked as below because GP device is word.
- CH1 bit device 1~16 units <------> GP word device a unit
- CH1 bit device 17~32 units <------> GP word device 2 units