8
Guangcheng Technology
GC-2204 user manual
"0.0" represents the position of the output point, and "0.0"~"0.3" respectively
define the 1-4 output points in the first GC-2204 module. When the user uses
more thanone
gc-2204 module, the second gc-2204 shall be defined from "1.0" to "1.3", and
so on.
"%" (percent sign) is the direct variable starter; ":" (colon) is the variable or
type separator.
The Boolean is read from the %I0.0 address using the symbol variable DI0. AT
represents the address of the variable access and the additional attribute of the
variable.
2.5 Combined with GCAN- 8000series
The state of the digital output is represented by a byte, channel 4 in the
high and channel 1 in the low.
For example, if the node number of the gcan-io-8000 module is 1, 4
channels of the first GC-2204 module should be set The output state of channel
is logical "1", and the output state of other channels is logical "0", which needs
to pass through the master stationGcan-io-8000 sends data, its frame ID is
0x201, the data length (DLC) is 1, and the frame data is0x08 note that if only
one gc-2204 module is used, only the first byte in the frame data is effective.
The following
tables 2.4
and
2.5
list two common DO states and their
corresponding status data.
DO status
Channel
4
3
2
1
Status
1
0
0
0
CAN bus data
08
Table 2.4
DO status when CAN bus data is 08
DI status
Channel
4
3
2
1
Status
0
0
1
1
CAN bus data
03
Table 2.5
DI status when CAN bus data is 03