1. Catalogs
  2. Infranor Group
  3. AN_CANopen_PLC_commissioning_en_1.2
video corpo

AN_CANopen_PLC_commissioning_en_1.2
1 /8Pages

AN_CANopen_PLC_commissioning_en_1.2

AN_CANopen_PLC_commissioning_en_1.2
1 /8Pages

Catalog excerpts

AN_CANopen_PLC_commissioning_en_1.2-1

Application note October 13, 2020 - Issue 1.2 1 – GENERAL DESCRIPTION This document describes how to set up a CANopen PLC (master) with an INFRANOR® XtrapulsPac™-ak or XtrapulsPacHP-ak drive (slave). It is not written for a specific PLC. So, depending on the manufacturer, some terms might be slightly different. The following documents are referred to (and can be downloaded from our website www.infranor.com): - XtrapulsPac™ and XtrapulsPacHP™ Installation Guides, - XtrapulsPac™ and XtrapulsPacHP™ User Guides (functionalities such as 'SDO', 'PDO', 'SYNC', 'Node Guarding' are described in this document), - XtrapulsPac™ and XtrapulsPacHP™ EDS files, Adressees of this application note must have at least a basic knowledge in PLC or industrial PC programming. 2 – CONFIGURATION 2.1 – INSTALLATION For the wiring, node addressing, etc., please refer to the XtrapulsPac™ and XtrapulsPacHP™ Installation Guides. 2.2 – PLC SOFTWARE TOOL CONFIGURATION 2.2.1) Import of the EDS file The EDS (Electronic Data Sheet) file provides the PLC software tool with a description of the communication functionalities and objects available in the XtrapulsPac™-ak and XtrapulsPacHP™-ak drives. Please, refer to your PLC documentation for importing an EDS file. 2.2.2) CANopen configuration: MASTER If it has not been done automatically, you must add a CANopen Master to your PLC configuration. Then, configure your Master with the most common parameters: Transmission speed (or baud rate): it must be set according to the slaves connected to the bus, SYNC COB-ID: identifier of the synchronization messages; default value is 0x80, Period of the SYNC messages: communication cycle. Please, note that the XtrapulsPac™-ak and XtrapulsPacHP-ak drives only support a cycle lower than 150 milliseconds.

 Open the catalog to page 1
AN_CANopen_PLC_commissioning_en_1.2-2

2.2.3) CANopen configuration: SLAVE For the next step, add your slaves and configure each one with: i- Node ID: node address, i- Communication cycle time: XtrapulsPac™ and XtrapulsPacHP™: the period must be defined in the drive: ■ in the appropriate field of the slave's configuration window (software CoDeSys, ...) ■ by sending an SDO (object 0x1006,0) at startup (software Unity, Sycon, ...) b) or by writing the desired cycle into object 0x1006,0 (communication cycle period) via Optio Launch the Optio software, connect it to your drive, then open the 'Fieldbus configuration' window: Define the...

 Open the catalog to page 2
AN_CANopen_PLC_commissioning_en_1.2-3

The PDO mapping defines which application objects are transmitted within a PDO. This is made by means of the master's configuration tool (then, the mapping is automatically sent to the slave at the CANopen start-up). Typically, objects which are usually used or requiring a real-time access are mapped (such as "Control Word", "Status Word", ...). For each slave, proceed as follows: - add / remove the desired objects to/from the various PDOs, - configure the transmission type for each PDO: if you do not need to optimize the bandwidth or if you are not well aware of the compatibility of your PLC,...

 Open the catalog to page 3
AN_CANopen_PLC_commissioning_en_1.2-4

Syntax: ► ":=" affectation: Example: 0x6060,0 := 1 read object 0x6061,0 and test if equal to '1' Description: Enable the drive, write the profile parameters, then start the movement. Only basics are shown here, error handling must also be considered. See XtrapulsPac User Guide for the object description. Switch to Profile position mode (0x6060,0 := 1) In Profile position mode ? (0x6061,0 = 1) In state ‘Operation enable’ ? (0x6041,0 and 0x26F = 0x227) NO Write Profil parameters : - Profile Acceleration (0x6083,0) - Profile Decceleration (0x6084,0) - Profile Velocity (0x6081,0) - Target Position...

 Open the catalog to page 4
AN_CANopen_PLC_commissioning_en_1.2-5

Description: Enable the drive, write the homing parameters, then start the homing. Only basics are shown here, error handling must also be considered. Switch to Homing mode (0x6060,0 := 6) In state ‘Operation enable’ ? (0x6041,0 and 0x26F = 0x227) NO Write Homing parameters : - Homing Offset (0x60FC,0) - Homing Speeds (0x6099,1) (0x6099,2) - Homing Acceleration (0x609A) - Homing Method (0x6098) Switch to state ’Ready to switch on’ (0x6040,0 := 6) In state ‘Ready to switch on’ ? (0x6041,0 and 0x26F = 0x221) NO Switch to state ’Operation enable’ (0x6040,0 := 0xF) "CANopen PLC commissioning" application...

 Open the catalog to page 5
AN_CANopen_PLC_commissioning_en_1.2-6

APPENDIX I: Sending SDO at startup 1) Sycon software (Hilsher, Telemecanique): Open the 'Node configuration' window, then 'Object Configuration': In this example, select objet 0x1006,0 in 'Predefined supported Objets in the EDS file', then 'Add to Configured Objets'. Once the object added, you can change its 'Current Value' (example: 0x4E20 for a communication cycle of 20 ms). "CANopen PLC commissioning" application note – Issue 1.2

 Open the catalog to page 6
AN_CANopen_PLC_commissioning_en_1.2-7

2) Unity software (Schneider): In the hardware catalogue manager, edit the Xtrapuls-Pac-ak drive: in Expert Mode, click on the bootup procedure tab and make sure that "No Restore" is selected. "CANopen PLC commissioning" application note – Issue 1.2

 Open the catalog to page 7
AN_CANopen_PLC_commissioning_en_1.2-8

i- In the Unity software, after having added the PAC_AK slave, open the node configuration window. o The tab 'Configuration' allows changing the application parameters: o To configure the communication parameters, click on the 'Object Dictionary' tab. Set object 0x1006,0 (communication cycle period in ps) according to the master cycle time ("SYNC message period"): ■n- PDO ■n- Error control -n- Bootup ' B' Object Dictionary 1 ' B' Cortigurstion Area Filter: Status Filter: * Tabs only available with CPU BMX 20102 and BMX 20302 If the tab Object Dictionary is not available, the parameter 0x1006,0...

 Open the catalog to page 8

All Infranor Group catalogs and technical brochures

  1. smt-100

    32  Pages

  2. PacSimBox_e

    1  Page

  3. Pac_SF01_EN

    4  Pages

  4. Option_CT_EMF

    6  Pages

  5. ma_series

    6  Pages

  6. CD1a_e_7.1(old)

    45  Pages

  7. BM20A(F)v3_0

    20  Pages

  8. BM20A(D)v3_0

    20  Pages

  9. BF400(GB)v2_2

    21  Pages

  10. BF400(D)v2_2

    21  Pages

  11. BF230(GB)v2_0

    23  Pages

  12. BF230(F)v2_0

    23  Pages

  13. BD2m_e_2.2

    69  Pages

  14. BD2m(GB)2.0

    70  Pages

  15. BD2_e_3.2

    53  Pages

  16. BD2(GB)3.1

    53  Pages

  17. BD2(D)3.1

    54  Pages

  18. Movinor_LH_e

    4  Pages

  19. ma_series

    6  Pages

  20. BD1t(GB)3.1

    81  Pages

  21. BD1t(F)3.0

    85  Pages

  22. BD1pInst(GB)3.0

    25  Pages

  23. BD1pInst(F)3.0

    23  Pages

  24. BD1pInst(D)3.0

    24  Pages

  25. BD1m(GB)5.0

    58  Pages

  26. BD1m(F)5.0

    57  Pages

  27. BD1m(D)v3_3

    64  Pages

  28. BD1k(GB)2.1

    35  Pages

  29. BD1k(F)2.1

    36  Pages

  30. BD1j(GB)v2_41

    19  Pages

  31. BD1j(F)v2_4

    21  Pages

  32. BD1i(GB)v2_21

    23  Pages

  33. BD1i(F)v2_2

    27  Pages

  34. BD1h(F)3.0

    65  Pages

  35. BD1h(D)3.0

    59  Pages

  36. BD1g(GB)v3_0

    28  Pages

  37. BD1g(F)v3_0

    28  Pages

  38. BD1f(GB)v2_01

    18  Pages

  39. BD1f(F)v2_01

    17  Pages

  40. BD1e(F)v2_01

    22  Pages

  41. BD1d(GB)v2_01

    25  Pages

  42. BD1d(F)v2_01

    25  Pages

  43. BD1c(GB)v2_01

    19  Pages

  44. BD1c(F)v2_01

    19  Pages

  45. BD1a400(GB)v2_3

    43  Pages

  46. BD1a400(F)v2_3

    44  Pages

  47. BD1a400(D)v2_3

    45  Pages

  48. BD1(GB)7.1_noPW

    45  Pages

  49. BD1(GB)7.1

    45  Pages

  50. BD1(F)7.1_noPW

    47  Pages

  51. BD1(F)7.1

    47  Pages

  52. BD1(D)7.1

    45  Pages

  53. BD1 Katalog

    11  Pages

  54. 08ma_ms_e_01700

    20  Pages

  55. Easy_STO_en_1.4

    14  Pages

  56. CD1kUser_en_2.3

    26  Pages

  57. CD1a_en_8.17

    62  Pages

  58. CD1_STO_en_1.8

    16  Pages

  59. Drawing_1

    1  Page

  60. Datasheet_MSS

    5  Pages

  61. Datasheet_2

    2  Pages

  62. Datasheet_1

    4  Pages

  63. BLSBLT_series

    2  Pages

  64. BL220221

    2  Pages

  65. BL270

    2  Pages

  66. BL190

    2  Pages

  67. bl100_series

    6  Pages

  68. bl40_series

    6  Pages

  69. BL30

    2  Pages

  70. Movinor_T_EN

    4  Pages

  71. Movinor_N_EN

    4  Pages

  72. CybIO

    6  Pages

*Prices are pre-tax. They exclude delivery charges and customs duties and do not include additional charges for installation or activation options. Prices are indicative only and may vary by country, with changes to the cost of raw materials and exchange rates.