Professional Documents
Culture Documents
G2B / G3B
Revision F
RX>SWID1/SWID2
These parameters can be used to configure; mini-master, node id and bus speed. The
Command SWID2 sets node id (1…127), while SWID1 sets both CAN bus speed (bits
and master/slave mode (bit 3) according to Table 1. SWID1 parameter values.
. Default values are slave, 250K (SWID1=3) and node-id 100 (SWID2=100).
RX>CAN_CONF
CAN_CONF is an 8 bit binary parameter. This can be used to configure if byte 7 in TPDO2
should correspond to the CANopen Error Register or CAN digital channel 33-40 or the ninth
analog actuator channel. It is also possible to configure if default CAN filter should be used or
not. G3B also has the possibility to be configured with or without CAN termination.
Bit Description
b3, b0 0, 0 = TPDO2, byte 7 - CANopen Error Register (Default)
0, 1 = TPDO2, byte 7 - CAN Digital channel 33-40
1, 0 = TPDO2, byte 7 - Analog actuator channel 9 (Only with b4=1)
1, 1 = Reserved
b1 0 = No CAN termination (Default)
1 = CAN Termination
(Only G3B)
b2 0 = No CAN filters (Default)
1 = Use pre-configured CAN filters
b4 0 = TPDO1 incl. logic
1 = TPDO1 excl. logic
b7-b5 Reserved
Table 2. CAN_CONF configuration.
RX>SSCM
SSCM (Speed and Set CAN Management) is an 8 bit binary parameter.
- bit0 to bit5 - reserved for future use.
- bit6 - specifies whether the set management must be commanded by CAN RPDO1 (1)
or usual SCI parameters (0).
- bit7 - specifies if RPDO4 has to be considered (1) or not considered (0) for speed
management.
Examples
SSCM = 0 – speed reduction and set management via CANBUS are disabled.
SSCM = 128 – only speed reduction via CANBUS is enabled. SET management remains
commanded by usual SCI parameters and receiver inputs.
SSCM = 64 – only SET management via CANBUS is enabled. Speed reduction via CAN is
disabled.
SSCM = 192 – both SET management and speed reduction via CANBUS are enabled.
RX>GENRED
GENRED (GENeral REDuction) is a decimal parameter. Valid values are from 0 to 100. This
value specifies the speed coefficient that has to be used when Speed CAN Management
(SSCM.bit7) is active and a 2 seconds timeout has passed without receiving any RPDO4
messages.
Examples
GENRED = 0 means that all movement are blocked (even DV is inactivate)
GENRED = 85 means 85 % of speed.
GENRED = 100 means 100% of speed (no reduction)
TRANSP
See description under PDO configuration.
DFC
See description under Digital channels configuration.
CAN Connection
The CAN bus is connected through the cable marked EX3. Cable 1 and 4 is CAN-H, cable 2
and 5 is CAN-L and cable 3 is signal ground.
Byte no Description
0-7 Real-time Control Data
Table 4. RPDO1, COB-ID 0x200 + node id.
Byte no Description
0-7 Real-time Frame Data
Table 5. RPDO2, COB-ID 0x300 + node id.
Byte no Description
0-7 Real-time Icon/Font Data
Table 6. RPDO3, COB-ID 0x400 + node id.
Byte no Description
0 = Speed reduced to 0% for A
100 = No reduction for A
128 = Speed reduced to 0% for B
228 = No reduction for B
255 = No reduction for A and B
0 Speed Reduction Analogue output 1
1 Speed Reduction Analogue output 2
2 Speed Reduction Analogue output 3
3 Speed Reduction Analogue output 4
4 Speed Reduction Analogue output 5
5 Speed Reduction Analogue output 6
6 Speed Reduction Analogue output 7
7 Speed Reduction Analogue output 8
Table 7. RPDO4, COB-ID 0x500 + node id.
Byte no Description
0-7 Reserved for future use.
Table 8. RPDO5, COB-ID 0x000. (Not used)
Byte no Description
0-7 Reserved for future use.
Table 9. RPDO6, COB-ID 0x000. (Not used)
Byte no Description
127 = Neutral
0 = 100% dir B / Backward
254 = 100% dir A / Forward
0 Analogue input 1 / Lever 1
1 Analogue input 2 / Lever 2
2 Analogue input 3 / Lever 3
3 Analogue input 4 / Lever 4
4 Analogue input 5 / Lever 5
5 Analogue input 6 / Lever 6
6 Analogue input 7 / Lever 7
7 Analogue input 8 / Lever 8
Table 10. TPDO1, COB-ID 0x180 + node id.
Byte no Description
0 b7-b0 = CAN digital channel 1-8
1 b7-b0 = CAN digital channel 9-16
2 PCU Emergency Switchoff.
0 = Portable control unit is on.
255 = Portable control unit is off.
3 b7-b0 = CAN digital channel 17-24
4 b7-b0 = CAN digital channel 25-32
5 b2-b0 = Micro level
b3 = Micro right active
b4 = Micro left active
b5 = Reserved
b7-b6 = Radio quality
6 b1-b0 = Battery level
1, 1 = 75-100%
1, 0 = 50-75%
0, 1 = 25-50%
0, 0 = 0-25%
b7-b2 = Reserved
7 Error register (optionally CAN digital channel
33-40 or analog input channel 9, CAN_CONF
| BIT0 | BIT3)
Table 11. TPDO2, COB-ID 0x280 + node id.
Byte no Description
127 = Neutral
0 = 100% dir B
254 = 100% dir A
0 Analogue output 1
1 Analogue output 2
2 Analogue output 3
3 Analogue output 4
4 Analogue output 5
5 Analogue output 6
6 Analogue output 7
7 Analogue output 8
Table 12. TPDO3, COB-ID 0x380 + node id. (Optional – not used default)
Byte no Description
0-7 Reserved for future use.
Table 13. TPDO4, COB-ID 0x480 + node id. (Not used)
Byte no Description
0-7 Reserved for future use.
Table 14. TPDO5, COB-ID 0x000. (Not used)
Byte no Description
0-7 Reserved for future use.
Table 15. TPDO6, COB-ID 0x000. (Not used)
PDO configuration
All PDO’s can be configured as specified in the CANopen standard where it is possible to
choose if the PDO should be in use or not, mapping, transmission type, inhibit time and event
time.
Examples
By writing value 0x380 + node id to index 0x1802, sub-index 1 it is possible to activate
TPDO3. This is done by sending following CAN message with default node id (100):
The PDO’s can be configured to be sent at different intervals then the default which is 50ms.
To set TPDO1 to be sent at 20ms interval the following CAN message should be sent:
The configuration must then be saved in order to have it active at next startup, this is done by
sending the following CAN message:
TPDO3 (optional) corresponds to the analogue output value in percentage (127 steps in each
direction) where the value depends on all parameter configurations such as mapping, ramps,
start/stop values, micro level, blocking rules etc.
DFC Description
1 On/Off 1
2 On/Off 2
3 On/Off 3
4 On/Off 4
5 On/Off 5
6 On/Off 6
7 On/Off 7
8 On/Off 8
9 On/Off 9
10 On/Off 10
11 On/Off 11
12 On/Off 12
13 On/Off 13
14 Display button C1
15 Display button C2
16 Display button C3
17 Start button
18 CU input 1
19 CU input 2
20 CU input 3
21 CU input 4
22 Virtual on/off
23 Virtual on/off
24 Virtual on/off
25 Virtual on/off
26 Display button C4
27 Display button L1
28 Display button L2
29 Display button R1
30 Display button R2
31 On/Off 31
32 On/Off 32
33 On/Off 33
34 On/Off 34
35 On/Off 35
36 On/Off 36
37 On/Off 37
38 Virtual on/off
39 Radio/Cable Indication (‘1’ = cable, ‘0’ = radio)
40 Transmitter on
Table 16. Digital functions in the SCI interface.
Speed Management
For speed reduction on CAN the RPDO4 will be used if parameter SSCM.bit7 is set. Each
byte of the RPDO4 eight bytes is used to specify the value of speed for the corresponding
proportional output channel (not the lever).
The RPDO4 is a coefficient that can reduce the output. It does not replace Start/Stop
parameters.
Direction A
When byte = 0 then speed = 0 (doesn't even activate the DV bit)
When byte = 100 then speed for direction A = 100%
Direction B
When byte = 128 then speed = 0 (doesn't even activate the DV bit)
When byte = 228 then speed for direction B = 100%
When byte = 255 then speed = 100% (no reduction) for both direction A and B
When both a MICRO level is selected and a RPDO4 speed reduction is specified, the lower
value will be used (no double reduction).
Timeout
If RPDO4 is not received for more than 2 seconds (fixed), all proportional outputs will be
reduced to the fixed value specified in the GENRED parameter.
Set Management
RPDO1 is generally used to send command for the display. A special value of byte 0 of
RPDO1 (header) will change the meaning of this packet. RPDO1 (0x200 + NodeID) will
be used as special instructions based on the header, see Table 17 for using this for Set
Management.
Byte no Description
0 0x10 (Header – Custom command)
1 0x01 (Command – Set Management)
2 b0 = SET2 active/not active (1/0)
b1 = SET3 active/not active (1/0)
b2-b7 = Reserved
3-7 Reserved
Table 17. RPDO1, COB-ID 0x200 + node id, Command - Set Management.
The SCI parameter SSCM.bit6 specifies whether the Set Management is commanded by CAN
RPDO1 or usual SCI parameters. If the Set Management is commanded by usual SCI
parameters, the special RPDO1 message will be ignored.
When Set Management is operated by RPDO1, the selection of the SET must follow the
RPDO1.byte2.bit0 and bit1, ignoring all other SCI parameters involved in SET selection
(SETSEL, SETACK1, SETACK2, ORET1 and ORET2).
Timeout
If RPDO1 – Set Management command, haven’t been received within 2 seconds then the
working set will be the one with highest priority according to parameter SETPRIO.
Emergency message
The following CANopen Emergency message will be sent when an error has occurred in
system.
Byte no Description
0-1 Emergency error code (CANopen specific)
2 Error register (CANopen, object 1001h)
3-4 Manufacturer specific error code (7-segment
display error code)
5-7 Reserved
Table 18. EMCY, COB-ID 0x80 + node id.
For further details regarding the error codes, see Service Manual.
Document History
A Initial document version.
B Updated digital fields
C Updated digital fields
D Updated digital function description
E Updated with new SCI parameters, OD, PDO’s, examples, Emergency message etc
F Added G3B and removed G4, updated CAN_CONF, TPDO1, TPDO2, TPDO3