Example: tourism industry

CANopen® communication protocol - Electronics

EeNNoodd33--DD DDiiggiittaall ddoossiinngg ccoonnttrroolllleerr NU-eNod3D-CAN-E-1109_165758-B 1/43 canopen communication protocol eeNNoodd33--DD DDiiggiittaall ddoossiinngg ccoonnttrroolllleerr NU-eNod3D-CAN-E-1109_165758-B 2/43 Document revisions version date description A 10/08 - creation B 07/09 - addition of oiml R76 settings description eeNNoodd33--DD DDiiggiittaall ddoossiinngg ccoonnttrroolllleerr NU-eNod3D-CAN-E-1109_165758-B 3/43 1 INSTALLATION.

eNod3-D Digital dosing controller 2/43 NU-eNod3D-CAN-E-1109_165758-B Document revisions version date description A 10/08 - creation B 07/09 - addition of OIML R76 settings description

Tags:

  Communication, Protocol, Oiml, Canopen, 174 communication protocol

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of CANopen® communication protocol - Electronics

1 EeNNoodd33--DD DDiiggiittaall ddoossiinngg ccoonnttrroolllleerr NU-eNod3D-CAN-E-1109_165758-B 1/43 canopen communication protocol eeNNoodd33--DD DDiiggiittaall ddoossiinngg ccoonnttrroolllleerr NU-eNod3D-CAN-E-1109_165758-B 2/43 Document revisions version date description A 10/08 - creation B 07/09 - addition of oiml R76 settings description eeNNoodd33--DD DDiiggiittaall ddoossiinngg ccoonnttrroolllleerr NU-eNod3D-CAN-E-1109_165758-B 3/43 1 INSTALLATION.

2 5 Switching to canopen communication 5 Bus length and bit rate .. 5 Line 6 2 canopen protocol 7 CAN frame format .. 7 General informations .. 7 eNod3-D state 8 NMT state commands .. 9 Synchronization messages .. 10 Emergency 10 Error control services ..11 Heartbeat and Boot-up .. 11 Node 11 Access to the object SDO communications .. 13 PDO communications .. 14 3 canopen OBJECTS DICTIONARY : communication OBJECTS.

3 16 Device identification ..16 0x1000 : Device 16 0x1008 : Device name .. 17 0x1009 : Hardware version .. 17 0x100A : Software version .. 17 0x1018 : Product identifier .. 17 canopen 0x1001 : Error register .. 17 0x1003 : Pre-defined error 18 0x1005 : Synchronization messages COB-ID .. 18 0x100C : Life 18 0x100D : Life time factor ..18 0x1010 : Store 19 0x1014 : Emergency 19 0x1017 : Producer heartbeat time .. 19 0x1400 : RPDO1 communication parameters .. 19 RPDO1 mapping parameters.

4 20 0x1800 : TPDO1 communication parameters .. 21 0x1A00 : TPDO1 mapping parameters .. 21 0x1801/0x1802 : TPDO2/TPDO3 communication 21 0x1A01 : TPDO2 mapping .. 22 0x1A02 : TPDO3 mapping .. 22 4 ENOD3-D SPECIFIC OBJECTS ..23 communication parameters ..24 0x2000 : Functioning mode .. 24 0x2001 : CAN bus baud rate .. 24 0x2002 : d eNod3-D identifier (ID).. 25 0x2003/0x2004 : Command/state register .. 25 Calibration 0x3000 : Number of calibration segments .. 25 eeNNoodd33--DD DDiiggiittaall ddoossiinngg ccoonnttrroolllleerr NU-eNod3D-CAN-E-1109_165758-B 4/43 0x3001 : Calibration 25 0x3002 : Maximum 25 0x3003 : Scale interval.

5 26 0x3004 : Sensor capacity .. 26 0x3005 : Global span adjusting 26 0x3006 : Input signal range .. 26 0x3007 : Polynomial correction .. 27 0x3200 : Sensor sensitivy .. 27 Legal for trade 0x3500 : 27 0x3501 : Zero mode .. 28 0x3600 : Legal for trade (R76) switch .. 29 0x3601 : Legal for trade indicators .. 29 Filtering parameters ..29 0x4000 : A/D conversion rate .. 29 0x4001 : Self-adaptive 30 0x4002 : Digital filters 30 Logical inputs/outputs configuration ..31 0x4501 : Logical inputs configuration.

6 31 0x4509 : Logical outputs configuration .. 32 0x4601/0x4609 : Set points configuration .. 33 Dosing 0x4700 : Target 34 0x4701 : Cycle timings .. 34 0x4702 : 35 0x4703 : Reloading variables (dosing by unloading).. 36 0x4704 : Dosing levels .. 36 0x4705 : Cycle management options .. 37 0x4706 : Flow rate control .. 38 Other 0x4800 : Safety mode .. 39 0x4900 : Delta min TPDO2 .. 39 0x4901 : Delta min TPDO3 .. 40 Measures ..40 0x5000/0x5001/0x5002 : Current measurement .. 40 0x5003 : Current measurement status.

7 40 0x5004 : R 42 0x5100 : Logical inputs 42 0x5200 : Logical outputs 42 eeNNoodd33--DD DDiiggiittaall ddoossiinngg ccoonnttrroolllleerr NU-eNod3D-CAN-E-1109_165758-B 5/43 11 IINNSSTTAALLLLAATTIIOONN Switching to canopen communication protocol eNod3-D is equiped with a CAN and CAN compatible interface supporting canopen communication protocol . eNod3-D can be connected to the CAN bus using the CANH and CANL connections on the 9-pin connector (terminals 1 and 2 ; see diagram below). By default, eNod3-D is set to operate in ModBus-RTU protocol (RS232 or RS485 communication ) at a baud rate of 9600.

8 To switch from RS485/232 to CAN communication it is necessary to remove the appropriate jumper. WARNING : the communication protocol used by eNod3-D is selected at every power-up of the device. By default, the baud rate for CAN communication is 125 kbauds. It can be modified during eNod3-D setting up phase with eNodView software. Bus length and bit rate The bit rate on the CAN bus for data transfer depends on the bus length. The following table shows the bit rates supported by eNod3-D and the corresponding maximum bus length : Bit rate Bus max length Nominal bit time 1 Mbit/s 25 m 1 s 800 kbit/s 50 m s 500 kbit/s 100 m 2 s 250 kbit/s 250 m 4 s 125 kbit/s 500 m 8 s 50 kbit/s 1000 m 20 s 20 kbit/s 2500 m 50 s CAN bus interface OFF: canopen ON : RS485/422 eeNNoodd33--DD DDiiggiittaall ddoossiinngg ccoonnttrroolllleerr NU-eNod3D-CAN-E-1109_165758-B 6/43 Notes.

9 For bus whose length is greater than 200 m, using optocouplers is recommended for bus whose length is greater than 1000 m, using repeaters may be necessary to ensure the quality of transmissions. The baud rate used by eNod3-D can be selected and modified either by writting a specific code in the appropriate entry of the object dictionary (see ), either by modifying the appropriate reigster in ModBus-RTU or SCMBus protocols (using eNodView makes this operation easy) A bit Timing adapted to each baud rate is also specifed by canopen specification.

10 A bit is composed of time quantas and is characterized by the Sample point, which corresponds to the moment at which the bit state is taken into account. Thus, the data transfers have to respect the following values, according to canopen specification : Bit rate Length of time quantum tQ Location of sample point 1 Mbit/s 125 ns 6 tQ 800 kbit/s 125 ns 8 tQ 500 kbit/s 125 ns 14 tQ 250 kbit/s 250 ns 14 tQ 125 kbit/s 500 ns 14 tQ 50 kbit/s s 14 tQ 20 kbit/s s 14 tQ Line terminations So as to avoid signal reflection phenomena that may lead to communication errors, the CAN bus must be closed through termination resistors.


Related search queries