GC-1502 user manual
Channel1Fre AT % I8.0: UDINT; Channel2Fre AT % I12.0: UDINT;
Gc-1502 has two counter channels, INPUT1 and GND1 for the first group,
INPUT2 and GND2 for the second group.
When the pins of RST1 and RST2 of gc-1502 are connected to the high
current, the corresponding counter channel's count value and frequency can be
cleared.
2.5 Combined with GCAN- 8000series
The state of the digital input is represented by two byte
For example: the GCAN-IO-8000 module node number is 1, the channel 1 of
the first GC-1502 module count 28685, and the frequency is 56849Hz, then the
CAN data frame ID sent by the GCAN-IO-8000 module is 0x181, and the data
length ( DLC) is 8. The frame data is 0x0D, 0x70, 0x00, 0x00, 0x11, 0xDE,
0x00, 0x00. The following table lists a common counter status and its
corresponding status data.
GC-1502 status
Channel
1
Status
count
frequency
CAN bus data
0D
70
00
00
11
DE
00
00
Table 2.3