ATEQ G6 Series Manual
ATEQ G6 Series Manual

ATEQ G6 Series Manual

Ethercat module
Hide thumbs Also See for G6 Series:

Advertisement

Quick Links

G6 Series – EtherCAT
Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the G6 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ATEQ G6 Series

  • Page 1 G6 Series – EtherCAT Manual...
  • Page 2: Table Of Contents

    Introduction ..........................4 Basic notions ..........................5 Hardware installation Hardware configuration ........................ 7 Configuration of the ATEQ device (slave) Setup of the EtherCAT configuration mode ................. 10 Setup of the Unique ID ....................... 11 Configuration of the master Installation of the EtherCAT module ................... 12 Configuration files ........................
  • Page 3 ATEQ Manufacturer Plants – Measurement Solution, Global Leader 2 / 65 ATEQ 15, rue des Dames, Z.I. info@ateq.com T.: +33 1 30 80 1020 78340 LES CLAYES-SOUS-BOIS ateq.com F.: +33 1 30 54 1100 FRANCE ATEQ K.K. 3 – 41 ATEQ Building, Ikehata info@ateq.co.jp...
  • Page 4: Safety Advisory / Warranty

    ATEQ is at your disposal for any information concerning the use of the device under maximum safety conditions. We draw your attention to the fact that ATEQ cannot be held responsible for any accident related to a misuse of the measuring instrument, the workstation or non-compliance of the installation with safety rules.
  • Page 5: Preamble

    Preamble INTRODUCTION This manual intends to help you for the configuration and the use of your ATEQ G6 device on the 4 / 65 EtherCAT network. For more information on your ATEQ equipment, refer to the Quick Start Manual. FG_G6_ETHERCAT_EN_02 / 2020-06-17...
  • Page 6: Basic Notions

    Long format (Signed Double word) A Long format data is coded with two words (of 16 bits). In the memory range of the ATEQ device or when they are transmitted, both words are coming in the following order: — The first word is the least significant word —...
  • Page 7 Numerical value All the numerical values are treated with the Long format with fixed comma (10 Thus, their value is expressed in thousandths of unit. So, this value must be multiplied by 1000 to get the value in units. For example, a value of 207055 represents 207.055. So, any numerical value must be divided by 1000 to get the real value: —...
  • Page 8: Hardware Installation

    Hardware installation HARDWARE CONFIGURATION Connect your ATEQ equipment to the EtherCAT fieldbus using its EtherCAT connectors and compatible 7 / 65 cables. Your device has an EtherCAT internal board and two EtherCAT connectors. The EtherCAT internal board is located inside your device. Only one version is available: —...
  • Page 9 Wiring instructions General notes on wiring in EtherCAT — Use shielded Ethernet cables that meet the requirements of at least category 5 (Cat 5) according to EN 50173 or ISO/IEC 11801. — Do not use hubs in an EtherCAT network. 8 / 65 —...
  • Page 10 In case of an interrupted cable connection between two EtherCAT slaves or in case of a defective slave device, the redundant cable maintains the communication between the master and the other slaves, which otherwise would be cut-off from the bus. 9 / 65 Figure 3: Cable Interrupt in Standard Wiring in EtherCAT Network Figure 4: Cable Interrupt in Redundant Wiring in EtherCAT Network...
  • Page 11: Configuration Of The Ateq Device (Slave)

    (slave) Use this procedure to configure your device. 10 / 65 This configuration can be done with the front panel of your ATEQ device or with the ATEQ Fieldbus Configurator software. SETUP OF THE ETHERCAT CONFIGURATION MODE Five configuration modes are available according to the bytes number available:...
  • Page 12: Setup Of The Unique Id

    ➢ FIELDBUS ➢ UNIQUE ID From the ATEQ Fieldbus Configurator software Connect your PC to the RS232 connector of your ATEQ device. Run the ATEQ Fieldbus Configurator software: The Alias is set only by the master (no access by the slave).
  • Page 13: Configuration Of The Master

    12 / 65 Identification of the version of the EtherCAT module You can identify the hardware configuration using your ATEQ device or using a fieldbus configuration software. For the installation and configuration of the EtherCAT module, you have to select the component that corresponds to the firmware (see Configuration files).
  • Page 14: Configuration Files

    Configuration files to use for the configuration of the master instrument. EtherCAT hardware and software compatibilities The table below gives the configuration file to use according to the hardware reference of the 13 / 65 EtherCAT internal board of your ATEQ device (Hilscher hardware reference). Device EtherCAT Fieldbus...
  • Page 15: Selection Of The Master Board

    SELECTION OF THE MASTER BOARD The screenshot used in this section correspond to the Sycon.net from Hilscher software. Nevertheless, you may use your own software to configure the master. From the Device Assignment screen, select the master card: 14 / 65 FG_G6_ETHERCAT_EN_02 / 2020-06-17...
  • Page 16: Master Devices Installation

    MASTER DEVICES INSTALLATION The screenshot used in this section correspond to the Sycon.net from Hilscher software. Nevertheless, you may use your own software to configure the master. Scan the devices 15 / 65 To have connection and communication with EtherCAT, you must follow the instruction displayed in the examples below.
  • Page 17: Checking Of The Ethercat Configuration Modes

    CHECKING OF THE ETHERCAT CONFIGURATION MODES Five configuration modes are available according to the bytes number available (see Configuration of the ATEQ device (slave)). As you can see with the Sycon example below, the outputs must be at the 0x1A00 index (TxPDO) and 16 / 65 the inputs must be at the 0x1600 index (RxPDO).
  • Page 18 Setup of the Standard less mode The parameters configuration must be like the following ones: — Input_Data: IB = 96 bytes — Output_Data: QB = 96 bytes 17 / 65 FG_G6_ETHERCAT_EN_02 / 2020-06-17...
  • Page 19 Setup of the Medium more mode The parameters configuration must be like the following ones: — Input_Data: IB = 64 bytes — Output_Data: QB = 64 bytes 18 / 65 FG_G6_ETHERCAT_EN_02 / 2020-06-17...
  • Page 20 Setup of the Medium mode The parameters configuration must be like the following ones: — Input_Data: IB = 32 bytes — Output_Data: QB = 32 bytes 19 / 65 FG_G6_ETHERCAT_EN_02 / 2020-06-17...
  • Page 21 Setup of the Light mode The parameters configuration must be like the following ones: — Input_Data: IB = 16 bytes — Output_Data: QB = 16 bytes 20 / 65 FG_G6_ETHERCAT_EN_02 / 2020-06-17...
  • Page 22: Functional Description Of An Ateq Device

    Functional description of an ATEQ device INTRODUCTION 21 / 65 — R/W*: reading and writing — W*: writing only — R*: reading only FG_G6_ETHERCAT_EN_02 / 2020-06-17...
  • Page 23 Write table Writing table structure 0x00 Commands 22 / 65 0x01 0x02 Reserved 0x04 0x06 The program number (Running and Edit) Special cycle 0x09 0x0A Reserved 0x1F 0x20 Exchange table: Config Bits or Functions Bits or Parameters FG_G6_ETHERCAT_EN_02 / 2020-06-17...
  • Page 24 Details writing table structure Address (bytes) Description Bit 0 = 1 > Reset (stop the current cycle). Bit 1 = 1 > Start (starting a test cycle). 23 / 65 Bit 2 = 1 > Special cycle (start a special cycle, example: regulator adjust). Bit 3 = 1 >...
  • Page 25 Read table Reading table structure 0x00 State of the unit: 24 / 65 Echo / Error code command Status Current program Number of results available 0x0F Program step 0x10 Real time measurements. 0x1F 0x20 Exchange table: FIFO Results or Last Result or Parameters FG_G6_ETHERCAT_EN_02 / 2020-06-17...
  • Page 26 Results status: (@: 00h – 0Fh) Echo: Acknowledgement of delivery of the master command allowing to determinate in which state is the slave (current command or command realised). Error code: In case of command execution error, the corresponding command error bit is activated. 25 / 65 Address (bytes) Description...
  • Page 27 Address (bytes) Description Bit 0 = 1 > Pass part. (OK) Bit 1 = 1 > Fail test part. (NOK) Bit 2 = 1 > Fail reference part. (NOK) Bit 3 = 1 > Alarm. Bit 4 = 1 > Pressure error. 26 / 65 0Ch –...
  • Page 28 Real time measurements: (@: 10h – 1Fh) Description Address (bytes) Pressure current value 10h – 13h Example: reading of 524000 (7FEE0h) = 524 x 1000, thus the real value is 524. 27 / 65 Pressure unit code Example: reading 6000 (1770h) = 6 x 1000, thus the value is 6 which corresponds to 14h –...
  • Page 29 Reminder: "h" indicates a hexadecimal code, "(d)" indicates a decimal code. ATEQ device using Base procedure for using an ATEQ instrument. 28 / 65 If the number of results in the FIFO = 0, the results are erratic, do not read them.
  • Page 30 Fieldbus progress chart 29 / 65 FG_G6_ETHERCAT_EN_02 / 2020-06-17...
  • Page 31: Configuration

    CONFIGURATION General configuration Table of the configuration / extended menus bits 30 / 65 Reminder: “h” indicates a hexadecimal code, “(d)” indicates a decimal code. The bits below are mostly present in the CONFIGURATION or More functions... menus. They are only used to allow the access to other parameters according to the configuration, depending on the configuration, these are active or not.
  • Page 32 Mask Word Bit n° Meaning Menu Hexa 0001 Content of the frame: personalization RS232 0002 Content of the frame: pressure RS232 0004 Security Conf 31 / 65 0008 External dump Conf 0010 Exportation RS232 0020 Automatic reset Conf 0040 Reserved 0080 Reserved 0100...
  • Page 33 Mask Word Bit n° Meaning Menu Hexa 0001 Buzzer +Funct 0002 Display mode activation +Funct 0004 Sending conditions: fail part minimum flow RS232 32 / 65 0008 Offset +Funct 0010 Minimum flow activation +Funct Example: bit number 13 (automatic mode) activated to 1, will place to "2000h" the value in the first word.
  • Page 34 Reading of the configuration / extended menu bits Master Slave — Activate the “Read extended menu bits” command: Write at the address 00(h), the value 0200(h) Byte 0 = 00(h) 33 / 65 Byte 1 = 02(h) (Bit 1 = 1) Acknowledgement Command echo: —...
  • Page 35 Writing of the configuration / extended menu bits Master Slave — Write the extended menu bits at the address 20(h) — Activate the “Write extended menu bits” command: 34 / 65 Write at the address 00(h), the value 0800(h) Byte 0 = 00(h) Byte 1 = 08(h) (Bit 3 = 1) Acknowledgement Command echo:...
  • Page 36 Program Program selection command on the ATEQ device Master Slave — Write 1 word at the address 06(h) corresponding to the program number to be selected: 35 / 65 @06(h) = 0001(h) (= program n°2) — Activate the “Program selection” command:...
  • Page 37 Function Table of the function bits Table of the function bits per program. Reminder: “h” indicates a hexadecimal code, “(d)” indicates a decimal code. 36 / 65 The bits below are present in the FUNCTIONS menu of each program, if these have been previously validated in the More functions...
  • Page 38 Mask Word Bit n° Meaning Menu Hexa 0001 Reserved 0002 Automatic start cycle activation Funct 0004 Pressure compensation activation Funct 0008 Filtering activation Funct 37 / 65 0010 Standard conditions activation Funct 0020 Bar code activation 0040 Start after reading bar code 0080 Auxiliaries code activation 0100...
  • Page 39 Mask Word Bit n° Meaning Menu Hexa Fail part maximum flow buzzer activation 0001 Alarm buzzer activation Funct 0002 0004 Automatic mode activation Funct 0008 Reserved 38 / 65 0010 Reserved Reserved 0020 0040 Offset activation Funct 0080 Minimum flow activation Funct Example: bit number 46 (Offset function) activated on 1, will put to "4000h"...
  • Page 40 Reading of the function bits Master Slave — Select the program number on which the functions bits have to be read — Activate the “Read functions bits” command: Write at the address 00(h), the value 0400(h) 39 / 65 Byte 0 = 00(h) Byte 1 = 04(h) (Bit 2 = 1) Acknowledgement Command echo:...
  • Page 41 Writing of the function bits Master Slave — Select the program number on which the functions bits have to be read. — Write the functions bits at the address 20(h) — Activate the “Write functions bits” command: 40 / 65 Write at the address 00(h), the value 1000(h) Byte 0 = 00(h) Byte 1 = 10(h) (Bit 4 = 1)
  • Page 42 Parameters Downloading of the parameters All the parameters values below have a tratment by the ATEQ device as Long format with fixed comma ). A Long is a two words set. 41 / 65 Identifier N° Meaning Value Hexa “FILL TIME”...
  • Page 43 Identifier N° Meaning Value Hexa “Diff A-Z” 0050 0 > 650 seconds Differential auto reset time. Standard 0000 Instruction 1000 Ballistic 2000 “FILL MODE” 42 / 65 0067 Ramp 3000 Type of fill. Adjust 4000 EASY 5000 EASY Auto 6000 “EXT.
  • Page 44 Identifier N° Meaning Value Hexa “DELAY INT2” 00FF 0 > 650 seconds Programmed internal output 2 delay time. “DELAY INT1” 0100 0 > 650 seconds Programmed internal output 1 delay time. “DELAY AUX1” 43 / 65 0101 0 > 650 seconds Programmed auxiliary output 1 delay time.
  • Page 45 Identifier N° Meaning Value Hexa XXXX 0000 “DISPLAY MODE“ XXX.X 1000 016C Leak display management XX.XX 2000 X.XXX 3000 ‘IN8:” Refer to the “Configure input 44 / 65 0177 value” table at the end of the Function attributed to the entry of the special cycles chapter (output 8) ‘IN9:”...
  • Page 46 Configurable input values Input value Value code Program Selection 0000 Capil. Temp. Check (*) 10000 Temperature Check (*) 11000 Atm Pressure Check (*) 12000 45 / 65 P1 Sensor Check (*) 13000 Flow Check Cap 1(*) 14000 Flow Check Cap 2(*) 15000 16000 Line P.
  • Page 47 Unit table This list gives all the units used in the instrument in hexadecimal code. Unit code Unit Decimal Hexadecimal 0000 0000 46 / 65 1000 03E8 /min 2000 07D0 6000 1770 Pascal 2AF8 11000 12000 2EE0 Kilopascal 13000 32C8 14000 36B0 Millibar...
  • Page 48 Reading of the parameters The reading of the parameters is carried out by data exchange in the corresponding area depending on the configuration mode of the slave. Each parameter is identified by one identifier. See identifiers tables. This table is an example based on the reading of two parameters: —...
  • Page 49 Master Slave — Read the parameters at the address 20(h): Word 1 = identifier number of the first read parameter. Word 2 and Word 3 = first parameter value x1000 (long format). Word 4 = second identifier number of the read 48 / 65 parameter.
  • Page 50 Writing of the parameters The writing of the parameters is carried out by data exchange in the corresponding area depending on the configuration mode of the slave. Each parameter is identified by one identifier. See identifiers tables. This table is an example based on the reading of two parameters: —...
  • Page 51 Master Slave — Wait the end of the command: command echo = 0040(h) command error code ≠ FFFF(h) (end of command) — Deactivate the “Write parameters” command: Write at the address 00(h) the value 0000(h) Byte 0 = 00(h) (Bit 6 = 0) 50 / 65 Byte 1 = 00(h) The master instrument must always set to zero the command bit.
  • Page 52 Reading of the program name Master Slave — Select the program whose name you want to read — Activate the “Read program name” command: Write at the address 00(h), the value 2000(h) Byte 0 = 00(h) 51 / 65 Byte 1 = 20(h) (Bit 5 = 1) Acknowledgement Command echo: —...
  • Page 53 Writing of the program name Master Slave — Select the program whose name you want to modify — Write the program name of 12 characters/bytes maximum at the address 20(h). — 52 / 65 Activate the “Write program name” command: Write at the address 00(h), the value 4000(h) Byte 0 = 00(h) Byte 1 = 40(h) (Bit 6 = 1)
  • Page 54: Cycle

    CYCLE Standard command cycle Start cycle command on the ATEQ device 53 / 65 Master Slave — Select the program you want to start — Activate the “Start” command: Write at the address 00(h), the value 0002(h) Byte 0 = 02(h) (Bit 1 = 1)
  • Page 55 54 / 65 Start command = On Acknowledge by ATEQ = (Echo command = On) and (Error code command = FFFFh) Wait end of Start command = (Echo command = On) and (Error code command ≠ FFFFh) Start command = Off Acknowledge by ATEQ = (Echo command = Off) and (Error code command ≠...
  • Page 56 Reset command on the ATEQ device Master Slave — Activate the “Reset” command: — Write at the address 00(h), the value 0001(h) Byte 0 = 01(h) (Bit 0 = 1) Byte 1 = 00(h) Acknowledgement 55 / 65 Command echo: —...
  • Page 57 Special cycles Special cycle table Write the identifier number of the wanted special cycle at the address 04(h) and its instruction if necessary. @08(h) = identifier number of the special cycle 56 / 65 @09(h) = instruction for the special cycle Numb Special cycle ATR learning Cycle.
  • Page 58 Auto-zero on the ATEQ device Master Slave — Select the program on which you want to make the auto zero — Write at the address 08(h) the identifier number of the special cycle for an auto zero — Activate the “Start” and the “Start special cycle”...
  • Page 59: Results

    RESULTS FIFO results FIFO list results structure 58 / 65 At the end of each cycle, a result is stored as an array of 12 words contained in a FIFO of 8 results. This result includes the final state of the instrument (relays position, alarm signal, indicators state…), but also of the test (units, values measured for pressure and flow).
  • Page 60 Step table This table represents the codes of the steps in the cycle. Code Steps Decimal Hexadecimal 0000 Pre-fill. 59 / 65 0001 Fill 0002 Zero Diff. 0003 Stabilization 0004 Test 0005 Dump 65535 FFFF No step in progress FG_G6_ETHERCAT_EN_02 / 2020-06-17...
  • Page 61 Alarm codes table This list gives all the alarms in hexadecimal code. Identifier n° Alarm Decimal Hexadecimal 0000 No alarm. 60 / 65 0001 Pressure switched alarm (test pressure too high). 0002 Pressure switch (test pressure too small). 0003 Large leak on TEST (EEEE). 0004 Large leak on REF (MMMM).
  • Page 62 Cycle results reading (last 8 results in FIFO) Master Slave — Read the number of available results in the FIFO at the address 08(h): 08(h) = 0000(h) → no results 08(h) > 0000(h) → results available — 61 / 65 Activate the “Read FIFO results”...
  • Page 63 Reset FIFO results This command resets the 8 last cycle’s results available in the FIFO. Master Slave — Activate the “Reset FIFO results” command: Write at the address 00(h), the value 0080(h) Byte 0 = 80(h) (Bit 7 = 1) 62 / 65 Byte 1 = 00(h) Acknowledgement...
  • Page 64 Last results Last results structure At the end of each cycle, the last result is as an array of 12 words. This result includes the final state of the instrument (relays position, alarm signal, indicators state…), but also of the test (units, values measured for the pressure and the flow).
  • Page 65 Last results reading For using this function, it is important to: — Having done a start on the instrument before (“End of cycle” bit on in the relay status) — Not having done a reset of the FIFO 64 / 65 Master Slave —...
  • Page 66 Real time Status and real time measures The real time measurement is used for display curve or values during the cycle and not for the final measurement. Do not take or use the final results in this section, it is just to see the status of the device for the “Cycle 65 / 65 end”...

Table of Contents