Vhandy Technology
GC-3822 user manual
start address of the first channel, each channel occupies 2 bytes, the collected
temperature corresponds to -32768~+32767 so the second The starting address
of the channel is I2.0. When the user uses more than one GC-3822
module, the second GC-3822 needs to be defined from "I4.0", because each
3822 has 2 channels; "%" (percent sign) is the direct variable start symbol : ":"
(semicolon) is a variable or type separator. Use the symbol variable AI0 to read
the signed integer from the %I0.0 address.AT stands for the address of variable
access and the additional attributes of the variable (see page 46 of the e-book
for details).
(Note: Input only affects input, output only affects output, output and input do
not affect each other. That is, if there is and only output module in front of the
input module, then no matter how many output modules there are in front, the
address of the first input module is still I0 .0.)
2.5 Combination with GCAN-IO-8000 series equipment
The state of the analog input is represented by two bytes.
For example: GCAN-IO-8000 module node number is 1, the input status of
channel 1 of the first GC-3822 module is 26
℃
, and the input status of other
channels is not connected to the sensor, then the GCAN-IO-8000 module sends
CAN data frame ID is 0x181, data length (DLC is 8, frame data is 0x04, 0x01,
0xFF, 0x7F, 0xFF, 0x7F, 0xFF, 0x7F
The following table lists a common AI state and its corresponding state data.
AI status
Number of
channels
1
2
3
4
state
26
℃
No sensor
connected
No sensor
connected
No sensor
connected
CAN bus
data
04
01
FF
7F
FF
7F
FF
7F