ZMC408SCAN Motion Controller Hardware Manual V1.5
7.1.2.
CAN Bus Expansion Resource Mapping
The ZCAN expansion module generally has an 8-bit DIP switch, dial ON to take effect,
and the meaning of the DIP is as follows:
1-4: they are used for ZCAN expansion module IO address mapping, the
corresponding value is 0-15.
5-6: CAN communication speed, corresponding value is 0-3, four different speeds are
optional.
7: reserved.
8: 120 ohm resistor, dial ON means a 120 ohm resistor is connected between CANL
and CANH.
The IO numbers of the entire control system cannot be repeated, and existed
numbers must be avoided when mapping resources. And the DIP switch must be dialed
before power-on , if re-dial after power-on, it is invalid. It needs to be powered on again
to take effect.
Dial 1-4 to select the CAN address, and the controller sets the IO number range of the
corresponding expansion module according to the CAN DIP address. When each is dialed
as OFF, the corresponding value is 0, when it is ON , it corresponds to a value of 1, and the
address combination value = dial 4
×
8 + dial code 3
×
4 + dial code 2
×
2+ dial code
1.
Dial code 5-6 to select CAN bus communication speed, speed combination
value=dial code 6
×
2 + dial code 5
×
1, the combined value range is 0-3.
The corresponding speeds are as follows:
DIP 5-6
combination value
CANIO_ADDRESS high 8-bit value CAN communication speed
0
0 (corresponds to decimal 128)
500KBPS (default value)
1
1 (corresponds to decimal 256)
250KBPS
2
2 (corresponding to decimal 512)
125KBPS
3
3 (corresponding to decimal 768)
1MBPS
The controller side sets the CAN communication speed through the CANIO_ADDRESS