AH500 Module Manual
8-12
data is received through COM2
37373 R/W
Number of times the sending of
a command through COM2 is
retried
0~255
37374 R/W
Length of a packet which is sent
through COM2
Length of a packet which is sent
37375 R/W
Length of a packet which is
expected to be received through
COM2
Length of a packet which is expected to be
received
37871
R/W
Contents of a packet sent
through COM2
Contents of a packet which is sent
8.4.1 Descriptions of the Control Registers
CR#7: Triggering the reading of data through COM1
[Description]
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
After 1 or 2 is written into CR#7, the reading of data through COM1 will be triggered. After 0 is
written into CR#7, the reading of data through COM1 will stop.
COM1 Word
COM1
Bit
Not triggering it
16#0000 16#0001 16#0002
Triggering it once
16#0100 16#0101 16#0102
Always triggering it
16#0200 16#0201 16#0202
CR#8: Triggering the writing of data through COM1
[Description]
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
After 1 or 2 is written into CR#8, the writing of data through COM1 will be triggered. After 0 is written
into CR#8, the writing of data through COM1 will stop.
Please refer to the table in the description of CR#7.
CR#17: Triggering the reading of data through COM2
[Description]
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
After 1 or 2 is written into CR#17, the reading of data through COM2 will be triggered. After 0 is
written into CR#17, the reading of data through COM2 will stop.
Please refer to the table in the description of CR#7.
CR#18: Triggering the writing of data through COM2
[Description]
High byte: Bit; Low byte: Word
0: Not triggering it; 1: Triggering it once; 2: Always triggering it
Please refer to the table in the description of CR#7.