background image

DOC-0017-07-EN: AC20 Series - EtherCAT Option 

 

DOC-0017-07-EN-A

  

27.03.2023  

27 (58

  The EtherCAT Master device and an EtherCAT task will be added. Click on 

Browse… 

to find the 

target network adapter. The gateway must be active (

see previous section

). 

 

 

 

Build and download into the Controller 

 

 

Содержание AC20 Series

Страница 1: ...DOC 0017 07 EN AC20 Series EtherCAT Option 1 58 DOC 0017 07 EN A 27 03 2023 DOC 0017 07 EN A 27 03 2023 AC20 Series EtherCAT Communication Option Technical Manual...

Страница 2: ...peed control utilizing AC induction motors or AC permanent magnet synchronous machines 1 3 Personnel Installation operation and maintenance of the equipment should be carried out by competent personne...

Страница 3: ...gh voltages The equipment must be permanently earthed due to the high earth leakage current and the inverter motor must be connected to an appropriate safety earth Ensure all incoming supplies are iso...

Страница 4: ...ctly installed All control and signal terminals are SELV i e protected by double insulation Ensure all external wiring is rated for the highest system voltage Thermal sensors contained within the moto...

Страница 5: ...9 0781 509 0 Fax 49 0781 509 98176 Internet http www parker com eme E mail EM Motion parker com Certified according to ISO 9001 2015 Parker Hannifin Manufacturing Germany GmbH Co KG Sitz Bielefeld Amt...

Страница 6: ...cable laws Parker Hannifin Company together with local distributors and in accordance with EU directive 2002 96 EC undertakes to withdraw and dispose of its products fully respecting environmental con...

Страница 7: ...7 Network 13 7 1 Network Connector and Cable Specification 13 7 2 LED Indications 14 8 Configuration 15 8 1 Communication parameters 15 8 2 Process Data 18 8 3 Acyclic Data Exchange 21 8 4 EtherCAT ES...

Страница 8: ...ernet of Things ready Includes Email Client Web server with customizable content SSI Service Side Include functionality and FTP server Ethernet Over EtherCAT EoE File Access Over EtherCAT FoE EtherCAT...

Страница 9: ...All activities covered in this chapter should be carried out when there is no power to the inverter If the drive has been powered up ensure enough time has elapsed that the inverter has discharged its...

Страница 10: ...option card installation 1 Use a T9 TORX driver to partially unscrew the two 3x12 countersunk fixings along the top of the product 2 Insert a flat head screwdriver into the moulding features and leve...

Страница 11: ...g by cutting the 7x bridges using suitable small side cutters 6 Remove the Comms Interface Option card from its packaging 7 Slide the Comms Card along the PCB using the connector features for alignmen...

Страница 12: ...steps 2 3 in reverse 1 Remove the Comms Interface Option card from its packaging 2 Slide the Comms Card along the PCB using the connector features for alignment Note The front facia of the Option sho...

Страница 13: ...cription 1 TX 2 TX 3 RX 4 Normally left unused to ensure signal integrity these pins are tied together and terminated to PE via a filter circuit in module 5 6 RX 7 Normally left unused to ensure signa...

Страница 14: ...a physically passive state ERR LED This LED indicates EtherCAT communication errors LED State Description Comments Off No Error No power or No Error Red Blinking Invalid Configuration Invalid registe...

Страница 15: ...cations Option Comms The AC20 EtherCAT option requires configuration of both communication parameters and process data mapping 8 1 Communication parameters Keypad Menu Path DSE Lite Function Block Web...

Страница 16: ...ally be selected In offline mode display your configuration page in DSE Lite and click the plus sign at the left of function block Option Comms Config to see set communication parameters Alternatively...

Страница 17: ...ccess the AC20 webserver by typing the IP Address of the drive into the web browser The drive must be in configuration state Set the EtherCAT Option comms parameters as shown below AC20 Webserver view...

Страница 18: ...ub indexes 01h FEh represents the value of each of the parameter elements In the example below parameter number 1 is a single element parameter and parameter number 2 is a 4 element parameter array AC...

Страница 19: ...this is mapped into the table Option Comms Input Mapping Only writable AC20 parameters that are not configuration parameters may be added to the read process data Keypad Menu Path DSE Lite Function B...

Страница 20: ...ameters when in the PROCESS ACTIVE state On transition into the PROCESS ACTIVE state all read process mapped parameters will be updated When in the PROCESS ACTIVE state the read process mapped paramet...

Страница 21: ...string parameter array must be accessed via each element of the array Each element has its own parameter number Status Codes The following CANopen report codes may be reported CANopen Abort Code Desc...

Страница 22: ...ons or parameterize and connect fixed motor control blocks in the application Download the application into the drive then connect to the PLC to read write the value of the parameters In the example b...

Страница 23: ...input 0626 Digout Invert WORD Invert digital Output 0497 Remote reverse BOOL Invert motor Rotation 0498 Rem Trip Reset BOOL Trip Reset AC20 Output Mapping Data Type Comments PLC Module 0507 Status Wor...

Страница 24: ...vailable to download on the Codesys website Prior knowledge of Codesys software is assumed EtherCAT ESI File Installation Download the AC20 EtherCAT option comms ESI file from the Parker website Start...

Страница 25: ...03 2023 25 58 Create a project Launch Codesys and select New Project from the start page In the New Project Tab select project type and define properties then click on OK Select Codesys Control Win V...

Страница 26: ...ion settings and click on Scan network to find the required node From the Scan network pane click the required node to make it the active path Note If the node is not found make sure the soft PLC is i...

Страница 27: ...tion DOC 0017 07 EN A 27 03 2023 27 58 The EtherCAT Master device and an EtherCAT task will be added Click on Browse to find the target network adapter The gateway must be active see previous section...

Страница 28: ...20 Series EtherCAT Option 28 58 DOC 0017 07 EN A 27 03 2023 Add AC20 EtherCAT Slave Scan for Device Right click EtherCAT Master and select Scan for Devices Select device found and click on Copy All De...

Страница 29: ...0 Series EtherCAT Option DOC 0017 07 EN A 27 03 2023 29 58 Add Device Manually Right click on EtherCAT_Master and select Add Device Select the device Anybus_CompactCom_40_EtherCAT and click on Add Dev...

Страница 30: ...d DSE Lite or Webserver add parameter numbers into the appropriate table Note If the first row of a table input mapping or Output mapping is empty or equal to 0 the table will not be accessible and co...

Страница 31: ...ild and download the project into the PLC then go online from slave Expert Process Data Tab click on Load PDO Info from The Device to load the configured I O mapping table into the project The Transmi...

Страница 32: ...evice Option 2 From PLC The parameter 2566 MASTERMAPPING must be set to TRUE to allow the PLC to transfer the mapping to the AC20 In Codesys after adding AC20 slave manually or by scanning into the pr...

Страница 33: ...ct the Expert Process Data pane in PDO list Pane select Transmit PDO Parameter or Receive PDO Parameter then in PDO Content click Insert and select items from the object directory in the opened tab an...

Страница 34: ...0017 07 EN AC20 Series EtherCAT Option 34 58 DOC 0017 07 EN A 27 03 2023 After process data mapping configuration compile the project then select EtherCAT I O Mapping and assign a name to the variabl...

Страница 35: ...eries EtherCAT Option DOC 0017 07 EN A 27 03 2023 35 58 Create a program to transfer data In the example ladder code below in Network 1 the data is read from drive to PLC and in Network 2 the PLC writ...

Страница 36: ...services can be achieved using the functions ETC_CO_SdoRead and ETC_CO_SdoWrite Add function block Library From project tree double click on Library Manager then Click on add Library select EtherCATSt...

Страница 37: ...ledge of TwinCAT software is assumed EtherCAT ESI File Installation Download the AC20 EtherCAT option comms ESI file from the Parker website Copy the file ESI into the folder C TwinCAT 3 1 Config IO E...

Страница 38: ...ng Option 1 Using AC20 Input and output mapping tables The parameter 2566 MASTERMAPPING must be set to FALSE to prevent the PLC from overwriting the mapping Through the mapping tables from the keypad...

Страница 39: ...vices and scan the network Select the EtherCAT port and deselect any other Ethernet ports Select YES to scan for connected EtherCAT devices Select YES to activate Free Run mode The FREE RUN mode is us...

Страница 40: ...ing to the order appears in the project under I O Devices If you change slave mapping table after the operation described above you will need to click AC20 slave in the TwinCAT I O tree to open device...

Страница 41: ...vices and scan the network to add EtherCAT master and AC20 device Click on Box 1 Parker AC20 EtherCAT Anybus M40 select Process data make sure PDO Configuration is checked In the PDO list Pane select...

Страница 42: ...EN A 27 03 2023 Right click PLC Add the standard PLC and define properties Enter type and address of the variable AT I Input AT Q Output Right click AC20_PLC Project select Add Global Variable List an...

Страница 43: ...o add a ladder program Edit program and call it from the main routine Save All and build Link AC20 I O to the PLC From I O tree double click AC20 Input or output module select Linked to then select th...

Страница 44: ...y The acyclic read Write services can be achieved using the functions FB_EcCoESdoRead and FB_EcCoESdoWrite From project tree double click on References to open the Library manager then Click on add Li...

Страница 45: ...eries EtherCAT Option DOC 0017 07 EN A 27 03 2023 45 58 Example Write parameter 0457 Motor Max Speed 21C9h Start TwinCAT Runtime Enable Config Press Activate Configuration Wait and verify Run Mode Bui...

Страница 46: ...e A COMMS BREAK trip will occur if the 0777 Comms Supervised parameter transitions from TRUE to FALSE and the drive is in the operational state The trip may be disabled by clearing the respective bit...

Страница 47: ...unrecoverable exception state Diagnostic UNSUPPORTED OPTION The fitted option is not supported by the drive Diagnostic NOT RESPONDING no initial response from the option When a diagnostic event is ent...

Страница 48: ...TRING String SHORT_STRING n BYTE Bit string length 8 USINT 1 WORD Bit string length 16 UINT 2 DWORD Bit string length 32 UDINT 4 Arrays Some parameters have multiple elements and are classified as par...

Страница 49: ...0 IP Config Enable 1 Web Enable 2 Web Parameters Enable 3 FTP Enable 4 FTP Admin Mode WORD CONFIG Ethernet access using comms option bitwise NODE ADDRESS 763 0 USINT CONFIG Communications node address...

Страница 50: ...RSION 0 770 0 USINT NOT Firmware version of the comms module COMMS VERSION 1 770 0 USINT NOT Firmware version of the comms module COMMS SERIAL NUM 773 0 DWORD NOT Serial number of the comms module COM...

Страница 51: ...EN A 27 03 2023 51 58 Parameter Name No Default Value Range Units Type Writable ACTUAL BAUD RATE 790 0 10 kbps 0 10 kbps 1 20 kbps 2 50 kbps 3 100 kbps 4 125 kbps 5 250 kbps 6 500 kbps 7 800 kbps 8 10...

Страница 52: ...ress of the AC20 is in the range 169 254 xx xx by default Therefore the user s PC network adapter must be configured to this range as shown below IPv4 is used for communication Alternatively the IP ad...

Страница 53: ...found by DSE lite or a new drive is connected to the Ethernet port a network scan must be performed again as blow Once the network scan has been performed any AC20 connected to the network will appear...

Страница 54: ...r of errors U8 RW 01h 06h Error field U32 RO 1008h Manufacturer device name 00h Manufacturer device name Visible string RO EtherCAT Object 1009h Manufacturer hardware version 00h Manufacturer hardware...

Страница 55: ...pped object NN U32 RO RW 1C00h Sync Manager Communication Type 00h Number of entries U8 RO 4 01h Mailbox wr U8 RO 1 02h Mailbox rd U8 RO 2 03h Process Data Out U8 RO 3 04h Process Data In U8 RO 4 1C12...

Страница 56: ...noseconds 06h Calc and Copy Time U32 RO Output Calc and Copy Time in nanoseconds 09h Delay Time U32 RO Delay time in nanonseconds Always set to 0 0Ch Cycle Time Too Small U16 RO Cycle time to small 1C...

Страница 57: ...data type causing them to be represented as arrays If a parameter has more than 1 element of different data types it will be represented as a record The offset between the Parameter no and the object...

Страница 58: ...DOC 0017 07 EN AC20 Series EtherCAT Option 58 58 DOC 0017 07 EN A 27 03 2023...

Отзывы: