Chapter 8 Serial Communication Module AH10/15SCM
8-43
(5) Triggering the reading/writing of data
Method 1:
Users can use the instruction TO in ISPSoft to trigger the reading of data from bit devices/word
devices, and the writing of data into bit devices/word devices. (CR#7,CR#8, CR#17, and CR#18)
7 R/W
Triggering the reading
of data through COM1
High byte: Reading data from bit devices
Low byte: Reading data from word devices
0: Not triggering it
1: Triggering it once
2: Always triggering it
17 R/W
Triggering the reading
of data through COM2
High byte: Reading data from bit devices
Low byte: Reading data from word devices
0: Not triggering it
1: Triggering it once
2: Always triggering it
8 R/W
Triggering the writing of
data through COM1
High byte: Writing data into bit devices
Low byte: Writing data into word devices
0: Not triggering it
1: Triggering it once
2: Always triggering it
18 R/W
Triggering the writing of
data through COM2
High byte: Writing data into bit devices
Low byte: Writing data into word devices
0: Not triggering it
1: Triggering it once
2: Always triggering it
If users want to continually trigger the reading of data from word devices, they can write 2 into
CR#17. If users wan to trigger the reading of data from word devices once, they can write 1 into
CR#17.
If users want to continually trigger the writing of data into word devices, they can write 2 into
CR#18. If users wan to trigger the writing of data into word devices once, they can write 1 into
CR#18.