Summary of Contents for Advantech AMAX-5000 Series
Page 1
User Manual AMAX-5000 Series EtherCAT Slice I/O Modules...
Page 2
No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reliable. How- ever, Advantech Co., Ltd.
Page 3
This product has passed the CE test for environmental specifications when shielded cables are used for external wiring. We recommend the use of shielded cables. This kind of cable is available from Advantech. Please contact your local supplier for ordering information.
Page 4
In accordance with IEC 704-1:1982 specifications, the sound pressure level at the operator's position does not exceed 70 dB (A). DISCLAIMER: These instructions are provided according to IEC 704-1 standards. Advantech disclaims all responsibility for the accuracy of any statements contained herein. AMAX-5000 Series User Manual...
Introduction to AMAX-5000 Slice I/O Module This manual will only introduce AMAX-5000 series slice I/O modules. To know more about the AMAX-5580 controller and AMAX-5400 series extension modules, please download AMAX-5580 user manual from our website. Advantech provides different I/O modules for various applications. The following table outlines Advantech's supported I/O modules.
Serial number of the EtherCAT 0x1018:04 UDINT 0x0000 0000 Number SubDevice (Reserved) Error Setting Local Error 0x10F1:01 Local error reaction (Reserved) UDINT 0x0000 0001 Reaction Sync Error 0x10F1:02 Counter Sync error counter limit UINT 0x0004 Limit AMAX-5000 Series User Manual...
Install / Remove the Module AMAX-5000 series is an easy-install design to help you maintain your modules eas- ily. 2.1.1 Attach on the DIN-rail Follow these steps to secure AMAX-5000 modules on the DIN-rail: Unlock the latches at the bottom of AMAX-5000 module.
You can easily detach the module by releasing the latch at the bottom of the module. Then you can pull out the module without any difficulty. Figure 2.2 Unlock the latch to remove the module Figure 2.3 AMAX-5000 module design AMAX-5000 Series User Manual...
100m as described previously. The maximum number of connections in the channel should be 6 including con- nectors at each end. In any case, the channel length should be kept as short as possible. AMAX-5000 Series User Manual...
Type AWG22/1 AWG22/7 Shielding S/FTQ S/FTQ Round-Trip Resistance ≤ 115 Ω/km ≤ 115 Ω/km Insertion Loss at 100 MHz 19.5 dB/100 m 21.3 dB/100 m Near-End Crosstalk at 100 MHz 50 dB/100 m 50 dB/100 m AMAX-5000 Series User Manual...
To ensure a good contact between the jack (plug) and the receptacle, the contact plating (as indicated in Figure 2.8) of the jack should be at least 30 μm gold plating. Note! Do not use gold flash plating. Figure 2.8 Contact plating of the RJ45. AMAX-5000 Series User Manual...
Page 27
RJ45 as shown in Figure 2.11. The drain wire can even be soldered to the metal shield to ensure stable contact. Failing to do this will result in no shielding effect at all. Figure 2.11 Connect metal shield of RJ45 to drain wire AMAX-5000 Series User Manual...
Table 2.2: Recommended Minimum Distance Between Communication and Power Cables Cable Separation Type Minimum Distance Without metallic separation 10 mm Open metallic cable conduit 8 mm Perforated metal plate conduit 5 mm Bulky cable conduit 0 mm AMAX-5000 Series User Manual...
Coils in the communication cables should be avoided, as they represent large areas where electromagnetic disturbances can be introduced into the network and severely affect the communication performances as shown in Figure 2.15. Figure 2.15 Avoid loops in communication cables AMAX-5000 Series User Manual...
Moreover, AMAX-5001 provides 4-ch wet contact for digital input, and a smart diagnostic function which identifies power errors from external power supply or internal bus. The module status will be shown on the front LED indi- cator. Figure 3.1 AMAX-5001 Module AMAX-5000 Series User Manual...
This design will avoid damaging the entire system when a huge voltage/ current flows into the controller or modules. AMAX-5001 must be the first module on the right side of AMAX-5000 series control- ler. It provides maximum of 2A to the other modules on EtherCAT bus. But it does’nt provide power for the left side of the AMAX-5001 module, only for the right side mod- ules.
Page 36
From logic level 1 to 0: 4ms (including 3 ms DI filter) Digital Filter: 3ms Typical Input Current: Logic level 1: 1.3mA~4mA (10V~30V) 3.1.2.4 Protection Isolation Voltage: 2,000V 3.1.2.5 Environment Operation Temperature: -25~60°C (vertical mounted) Storage Temperature: -40~85°C Relative Humidity: 5~95% (non-condensing) AMAX-5000 Series User Manual...
Table 3.1: AMAX-5001 Module LED Indicator Color Indication Behavior Green Power on Orange Locating Module EtherCAT Connected Green Blink EtherCAT Connecting Green BUS Power On BUS Over Current (2A) V1 Over-voltage (30V) V2 Over-voltage (30V) V1 Under-voltage (10.7V) V2 Under-voltage (10.7V) AMAX-5000 Series User Manual...
Table 3.5: Module Configuration (0xF600:01 - 0xF600:10) Index (hex) Name Meaning Data type Flags Default value Locate LED control 0xF600:01 Locate Module 0: Turn Off BOOL 0x00 1: Turn On 0xF600:10 LED_Trigger For RMA centre testing BOOL 0x00 AMAX-5000 Series User Manual...
Module Enclosure: Polycarbonate Power Consumption: 2.5W @ 24V Protocol: EtherCAT Transmission Rate: 100Mbps Distributed Clock: Default not supported LED Indicator: PWR, RUN, Power Diagnosis LED Weight: Approx. 97g AMAX-5000 Series User Manual...
Page 42
Number of configurable IDs: 256 (2 x 16-bit ID switch) Bus Interface: 2 x RJ45 (1 x Input, 1 x Output) 3.2.1.4 Environment Operation Temperature: -25~60°C (vertical mounted) Storage Temperature: -40~85°C Relative Humidity: 5~95% (non-condensing) AMAX-5000 Series User Manual...
Table 3.6: AMAX-5074 Module LED Indicator Color Indication Behavior Green Power on Orange Locating Module EtherCAT Connected Green Blink EtherCAT Connecting Green BUS power on BUS Over Current (2A) V1 Over-voltage (28.8V) V2 Over-voltage (28.8V) V1 Under-voltage (19.2V) V2 Under-voltage(19.2V) AMAX-5000 Series User Manual...
Table 3.7: AMAX-5074 ID Switch Switch Number Multiple Range (HEX) (Top to Bottom) Example (SW2, SW1) = (4, C), then ID = 4x16 + 12x1 = 76 Note! Function Reserved, hot connection is currently not supported in CODE- SYS. AMAX-5000 Series User Manual...
Pin Number (Top to Bottom) Pin Definition Table 3.9: Lower 2 LAN Port LAN Number (Top to Bottom) Port Definition EtherCAT signal input EtherCAT signal output 3.2.5 Application Wiring Figure 3.13 Wiring for AMAX-5074 Power Input AMAX-5000 Series User Manual...
Input current REAL 0 Dec 3.2.6.2 Module Configuration Table 3.11: Module Configuration (0xF600:01) Index (hex) Name Meaning Data type Flags Default value Locate LED control 0xF600:01 Locate Module 0: Turn Off BOOL 0x00 1: Turn On AMAX-5000 Series User Manual...
Green Blink EtherCAT Connecting Module Abnormal [1]: The cause may be a disconnection or malfunction of the previous (on the left of this module) or this module. Please contact Advantech RMA Centre for further assis- tance. AMAX-5000 Series User Manual...
Over Temperature Pt-100 -50~150°C -70.85°C 167.18°C Pt-100 0~100°C -25.48°C 141.10°C Pt-100 0~200°C -25.48°C 260.80°C Pt-100 0~400°C -12.76°C 437.70°C Pt-100 -200~200°C -205.86°C 224.97°C Pt-1000 -40~160°C -40.00°C 160.00°C Balco -20~120°C -39.62°C 141.65°C -80~100°C -96.02°C 128.59°C 0~100°C -8.61°C 128.59°C AMAX-5000 Series User Manual...
Page 58
Locate LED control 0xF6000:01 LocateModule 0: Turn Off BOOL 0x00 1: Turn On Sampling rate for all channels 0xF6000:11 AI_SamplingRate UINT 0x0001 0x0000: 10HZ 0x0001: 400Hz [1]: Before revision number: 0x00001003, default sampling rate was 10Hz. AMAX-5000 Series User Manual...
The module provides 2000V isolation between channels. If any high voltage or current damages the channels, the whole system (other modules and control unit) won't be affected because it is already isolated. Figure 4.6 AMAX-5017C Module AMAX-5000 Series User Manual...
Blink EtherCAT Connecting Module Abnormal Blink [1]: The cause may be a disconnection or malfunction of the previous (on the left of this module) or this module. Please contact Advantech RMA Centre for further assis- tance. AMAX-5000 Series User Manual...
1: Output 65535 (down scale) n: Range from 0 to 5 refer to Ch.0 to Ch.5. [1]: Input current alarm function only available for current range in 4~20mA. Please refer to the next table "Input Current Alarm Status". AMAX-5000 Series User Manual...
Page 65
Locate LED con- trol 0xF600:01 LocateModule BOOL 0x00 0: Turn Off 1: Turn On Sampling rate for all channels 0xF600:11 AI_SamplingRate UINT 0x0001 0x0000: 10HZ 0x0001: 600Hz [1]: Before revision number: 0x00021003, default sampling rate was 10Hz. AMAX-5000 Series User Manual...
Power on Power Orange Locating module EtherCAT connected Green Blink EtherCAT connecting [1]: If the RED LED blinking, it may be a disconnection or malfunction of the previous (on the left of this module) or this module. AMAX-5000 Series User Manual...
× 10 ) 65536 For the range ± 10 V: × 20 ) 65536 For the range 0~150 mV: × 150 65536 For the range 0~500 mV: × 500 65536 For the range 0~1 V: × 1 65536 AMAX-5000 Series User Manual...
Page 72
Locate LED con- trol 0xF600:01 LocateModule BOOL 0x00 0: Turn Off 1: Turn On Sampling rate for all channels 0xF600:11 AI_SamplingRate UINT 0x0001 0x0000: 10HZ 0x0001: 600Hz [1]: Before revision number: 0x00021003, default sampling rate was 10Hz. AMAX-5000 Series User Manual...
Power on Power Orange Locating module EtherCAT connected Green Blink EtherCAT connecting [1]: If the RED LED blinking, it may be a disconnection or malfunction of the previous (on the left of this module) or this module. AMAX-5000 Series User Manual...
For the range 0~20 mA: × 20 65536 4.4.8.3 Module Configuration Table 4.28: Module Configuration (0xF600:01) Index (hex) Name Meaning Data type Flags Default value Locate LED control 0xF600:01 LocateModule 0: Turn Off BOOL 0x00 1: Turn On AMAX-5000 Series User Manual...
Power on Power Orange Locating module EtherCAT connected Green Blink EtherCAT connecting [1]: If the RED LED blinking, it may be a disconnection or malfunction of the previous (on the left of this module) or this module. AMAX-5000 Series User Manual...
Page 85
[1]: When burnout detection is enabled, the limitation of conversion time per channel will be 7.8ms (21.4HZ for all channels) [2]: AMAX-5018 supporting various voltage and thermocouple input ranges, please refer to the next table "Input Range Type" AMAX-5000 Series User Manual...
Page 86
Sampling rate for all AI_Samplin- channels 0xF600:11 UINT 0x0001 gRate 0x0000: 10HZ 0x0001: 600Hz The CJC offset of the 0xF600:13 CJC_Offset module CJC offset = DINT 0x0000 0000 CJC_Offset/10 [1]: Before revision number: 0x00001003, default sampling rate was 10Hz. AMAX-5000 Series User Manual...
Power on Power Orange Locating module EtherCAT connected Green Blink EtherCAT connecting [1]: If the RED LED blinking, it may be a disconnection or malfunction of the previous (on the left of this module) or this module. AMAX-5000 Series User Manual...
For the range 0~5 V: × 5 65536 For the range 0~10 V: × 10 65536 For the range ± 5 V: × 10 ) 65536 For the range ± 10 V: × 20 ) 65536 AMAX-5000 Series User Manual...
Page 92
[1]: Slew rate function can't be used under DC mode. [2]: Start-up state means the stage before entering OP mode. When this module entered OP mode and disconnected, it will output a safe state value (0x80n0:16, AOn_SafeStateValue) if the safe state (0x80n0:03, AOn_EnSafeState) is enabled. AMAX-5000 Series User Manual...
Page 93
4.6.5.4 Module Configuration Table 4.44: Module Configuration (0xF600:01) Index (hex) Name Meaning Data type Flags Default value Locate LED control 0xF600:01 LocateModule 0: Turn Off BOOL 0x00 1: Turn On AMAX-5000 Series User Manual...
LED Indicator Figure 5.2 AMAX-5051 Module LED Indicator Table 5.1: AMAX-5051 Module LED Indicator Color Indication Behavior Green Power on Orange Locating module EtherCAT connected Green Blink EtherCAT connecting Dry/Wet Logic "1" DI0~7 Green Dry/Wet Logic "0" AMAX-5000 Series User Manual...
Table 5.5: AMAX-5052 Module LED Indicator Color Indication Behavior Green Power on Orange Locating module EtherCAT connected Green Blink EtherCAT connecting Dry/Wet Logic "1" DI0~7 Green Dry/Wet Logic "0" Dry/Wet Logic "1" DI8~15 Yellow Dry/Wet Logic "0" AMAX-5000 Series User Manual...
LED Indicator Figure 5.12 AMAX-5056 Module LED Indicator Table 5.9: AMAX-5056 Module LED Indicator Color Indication Behavior Green Power on Orange Locating module EtherCAT connected Green Blink EtherCAT connecting DO turn on DO0~7 Green DO turn off AMAX-5000 Series User Manual...
LED Indicator Figure 5.17 AMAX-5056SO Module LED Indicator Table 5.13: AMAX-5056SO Module LED Indicator Color Indication Behavior Green Power on Orange Locating module EtherCAT connected Green Blink EtherCAT connecting DO turn on DO0~7 Green DO turn off AMAX-5000 Series User Manual...
Table 5.17: AMAX-5057 Module LED Indicator Color Indication Behavior Green Power on Orange Locating module EtherCAT connected Green Blink EtherCAT connecting DO turn on DO0~7 Green DO turn off DO turn on DO8~15 Yellow DO turn off AMAX-5000 Series User Manual...
Table 5.21: AMAX-5057SO Module LED Indicator Color Indication Behavior Green Power on Orange Locating module EtherCAT connected Green Blink EtherCAT connecting DO turn on DO0~7 Green DO turn off DO turn on DO8~15 Yellow DO turn off AMAX-5000 Series User Manual...
DI0~DI1 Green Digital Input Logic 0 [1]: The cause may be a disconnection or malfunction of the previous (on the left of this module) or this module. Please contact Advantech RMA Centre for further assis- tance. AMAX-5000 Series User Manual...
[2]: DOn_EnSafeState (0x80n0:01) should be enabled if want to use this function. 5.7.5.4 Module Configuration Table 5.31: Module Configuration (0xF600:01) Index (hex) Name Meaning Data type Flags Default value Locate LED control 0xF600:01 LocateModule 0: Turn Off BOOL 0x00 1: Turn On AMAX-5000 Series User Manual...
Page 134
8: 25.6ms (23Hz) 9: 51.2ms (11.5Hz) 10: 102.4ms (5.8Hz) 11: 204.8ms (2.9Hz) 12: 409.6ms (1.45Hz) 13: 819.2ms (0.72Hz) 14: 1638.4ms (0.36Hz) 15: 3276.8ms (0.18Hz [1]: When estimating the digital input filter range please refer to the Frequency. AMAX-5000 Series User Manual...
Mode and Bi-direction mode. It supports up to 1MHz input frequency. The module provides 2000 VDC optical isolation, if any high voltage or current damages the channels, the whole system (other modules or control unit) will not be damaged. Figure 6.1 AMAX-5080 Module AMAX-5000 Series User Manual...
Signal Input Green Signal Input Green Signal Input Green Signal Input [1]: If the RED LED blinking, it may be a disconnection or malfunction of the previous (on the left of this module) or this module. AMAX-5000 Series User Manual...
Encoder Mode Bi-Direction Mode Both modes support the following features: Overflow/underflow detection and reload counter Latch counter value Reset counter value Set counter value Counter frequency measurement Input Filter AMAX-5000 Series User Manual...
Page 144
The counter value and A/B signal input status please refer to the table below Table 6.4: Encoder Mode Parameter Name Index CIn_Counter_Value 0x60n0:11 CIn_Status_of_Input_A 0x60n0:09 CIn_Status_of_Input_B 0x60n0:0A n: range from 0 to 1 refer to Ch.0 to Ch.1 AMAX-5000 Series User Manual...
Page 145
The counter value and A/B signal input status please refer to the table below Table 6.5: Bi-Direction Mode Parameter Name Index CIn_Counter_Value 0x60n0:11 CIn_Status_of_Input_A 0x60n0:09 CIn_Status_of_Input_B 0x60n0:0A n: range from 0 to 1 refer to Ch.0 to Ch.1 AMAX-5000 Series User Manual...
Page 146
Mode, the same behavior also applies for Encoder Mode. Figure 6.9 Counter Overflow and Underflow Blue are 0x6000, 0x7000, 0x8000 parameters. Red are external signals. n range from 0 to 1 refer to Ch.0 to Ch.1 AMAX-5000 Series User Manual...
Page 147
(0x60n0:03) Cn_Z_Pulse_Active_Polarity Cn_External_Latch_Active_Polarity Active Polarity (0x80n0:03) (0x80n0:05) CIn_Status_of_Input_Z CIn_Status_of_Input_External_Latch Status (0x60n0:0C) (0x60n0:11) n: range from 0 to 1 refer to Ch.0 to Ch.1 [1]: Active Polarity: Value 0 = Rising Edge. Value 1 = Falling Edge. AMAX-5000 Series User Manual...
Page 148
Figure 6.10 Latch Counter by Z pin Blue are 0x6000, 0x7000, 0x8000 parameters. Red are external signals. Note! CI0_Latch_Values(0x6000:12) can be overwritten by both Z and L pin if those pins are configured correctly. AMAX-5000 Series User Manual...
Page 149
Example: Reset Counter Value and Latch Counter Value Step 1: Set C0_Enable_Z_Pulse_Reset (0x8000:02) to “1”. Step 2: Set COn_Enable_Latch_Z (0x70n0:02) to "1" Step 3: An external reset signal (Rising edge-triggered) at Z pin will clear both CIn_Counter_Value (0x6000:11) and CIn_Latch_Values (0x600n0:12) AMAX-5000 Series User Manual...
Page 150
Step 3: When the CI0_Set_Counter_Done (0x6000:01) is true, the counter value is changed Step 4: CO0_Set_Counter (0x7000:01) should be set to “0” before the next change Step 5: CI0_Set_Counter_Done (0x6000:01) will set to False along with CO0_Set_Counter AMAX-5000 Series User Manual...
Page 151
The counter value should not be set over Reload Counter Value. 6.1.7.5 Counter Frequency Measurement The increment (or decrement) frequency of counter value can be read by CIn_Fre- quency_Value (0x60n0:13), the value will be updated every second. This feature is often used to determine velocity. AMAX-5000 Series User Manual...
Page 152
Enable Z pin counter 0x70n0:02 COn_Enable_Latch_Z BOOL 0x00 latching Enable L pin counter 0x70n0:03 COn_Enable_Latch_External BOOL 0x00 latching 0x70n0:11 COn_Set_Counter_Value Set Counter Value UDINT 0x0000 0000 n: range from 0 to 1 refer to Ch.0 to Ch.1 AMAX-5000 Series User Manual...
Page 153
Input Filter Time n: range from 0 to 1 refer to Ch.0 to Ch.1 [1]: C1_Reload_Counter_values (0x80n0:07) only allows setting in the range of 0~0xFFFF. [2]: Input filter time please refer to the next table "Input Filter Time". AMAX-5000 Series User Manual...
Page 154
17.4 KHz 0x000B 38.4 us 13.1 KHz 0x000C 6.1.8.4 Module Configuration Table 6.13: Module Configuration (0xF600:01) Index (hex) Name Meaning Data type Flags Default Locate LED control 0xF600:01 LocateModule 0: Turn Off BOOL 0x00 1: Turn On AMAX-5000 Series User Manual...
Page 155
Certification: CE, FCC class A Connector: Pluggable 4P+8P push-in terminal (#24~16 AWG) Module Enclosure: Polycarbonate Power Consumption: 3W @ 24V Protocol: EtherCAT Transmission Rate: 100Mbps LED Indicator: PWR, R/E, A/B/Z, IN, OUT AMAX-5000 Series User Manual...
Page 156
Logic 0: 0.8 V max. Logic 1: 2.0 V min. (5.25 V max.) 6.2.1.5 Protection Isolation Voltage: 2,000V 6.2.1.6 Environment Operation Temperature: -25~60°C (vertical mounted) Storage Temperature: -40~85°C Relative Humidity: 5~95% (non-condensing) AMAX-5000 Series User Manual...
Page 157
Green Encoder Signal Input Green Latch Input Green Compare Output/Pulse Output [1]: If the RED LED blinking, it may be a disconnection or malfunction of the previous (on the left of this module) or this module. AMAX-5000 Series User Manual...
Page 158
6.2.3 Pin Definition Figure 6.15 AMAX-5081 Module Front View Figure 6.16 AMAX-5081 Module Side View AMAX-5000 Series User Manual...
Page 159
Table 6.15: Upper 4-Pin Connector Pin Number (Top to Bottom) Pin Definition ISO.GND PULSE_OUT ISO.GND Table 6.16: Lower 8-Pin Connector Pin Number (Top to Bottom) Pin Definition LATCH ISO.GND 6.2.4 Application Wiring Figure 6.17 Wiring for AMAX-5081 AMAX-5000 Series User Manual...
Page 161
Table 6.17: Supported Features for Each Mode Feature Encoder x4 Pulse/Dir. CW/CCW Pulse/Gate Pulse Train Output Overflow/Underflow detection Latch counter value O Reset counter value O Set counter value Input filter Position compare output Reversion of A/B phase input Frequency measure- ment AMAX-5000 Series User Manual...
Page 162
0x1602 for SM2 and 0x1A02 for SM3. In this way, the related PDO will be added. Fig- ures below show how PDO should be assigned on CODESYS when using the com- pare output. Figure 6.22 PDO assignment for SM2 - CODESYS interface Figure 6.23 PDO assignment for SM3 – CODESYS interface AMAX-5000 Series User Manual...
Page 163
The counter direction can be reversed by setting the Reversion_Of_Rotation (0x8000:06), the following table is the list of all Encoder x4 mode related parameters. Table 6.18: Encoder x4 Mode Parameter Name Index Counter_Value 0x6000:11 Status_of_Input_A 0x6000:09 Status_of_Input_B 0x6000:0A Reversion_Of_Rotation 0x8000:06 AMAX-5000 Series User Manual...
Page 164
Below figure shows the counter behavior of CW/CCW mode. Ch_A and Ch_B are the pulse from encoder or any pulse generator. The counter value counts up with the pulse Ch_A and counts down with the pulse Ch_B. Figure 6.26 Encoder Mode – CW/CCW AMAX-5000 Series User Manual...
Page 165
Gate is active, the counter keeps the same value. The activate polarity of Ch_B can be modified by the parameter Z_And_Gate_Ac- tive_Polarity (0x8000:03). Figure 6.27 Encoder Mode – Pulse/Gate Blue are the 0x6000, 0x7000, 0x8000 parameters. Red are the external signals. AMAX-5000 Series User Manual...
Page 166
The total number of pulse output can be set by Pulse_Train_Number (0x8000:0D), the number should between 0~2 (0 is continues output). Figure 6.28 Pulse Train Output Blue are the 0x6000, 0x7000, 0x8000 parameters. Red is the output signal. AMAX-5000 Series User Manual...
Page 167
Over_Flow (0x6000:05) will be set to "1" correspondingly. The figure below shows an example of overflow/underflow behavior under Pulse/Dir. Mode, the same behavior also applies for other Encoder Modes. Figure 6.29 Counter Overflow and Underflow Detection AMAX-5000 Series User Manual...
Page 168
Step4: Before next latch signal comes, the Enable_Latch_External_Rising (0x7000:02) should be toggled once to clear the Latch_External_Valid (0x6000:02) status. Step5: Once the Latch_External_Valid (0x6000:02) bit is low, the module is ready for the next latching signal. Figure 6.30 Latch Counter by Z pin AMAX-5000 Series User Manual...
Page 169
Step 3: Once counter value is cleared, Latch_Z_Valid (0x6000:01) will be raised to True. Step 4: Set Enable_Latch_Z (0x7000:01) to False to clear the flag for next input. * When the reset is done, do the Step1 before next reset signal comes. Figure 6.31 Reset Counter Value AMAX-5000 Series User Manual...
Page 170
Step 3: When the Set_Counter_Done (0x6000:03) is “1”, the counter value is changed Step 4: Set_Counter (0x7000:03) should be set to “0” before the next change Step 5: Set_Counter_Done (0x6000:03) will be restored to “0” along with Set_Counter. Figure 6.32 Set Counter Value AMAX-5000 Series User Manual...
Page 171
Step 6: Set Set_Position_Compare_Offset_Value (0x7000:12) (0 ~ 232). Step 7: Set Position_Compare_Offset (0x7000:09) to “1” to write the offset into the buffer. Step 8: Read Set_Position_Compare_Offset_Done (0x6000:06), if the value is “1”, then the offset is written to the buffer successfully. AMAX-5000 Series User Manual...
Page 172
“0”, then the next offset value can be set to the buffer if needed. Figure 6.33 Set Position Compare Offset Value Please refer to the following flow chart to set the position compare output configura- tion: Figure 6.34 AMAX-5081 Hardware Position Compare Configuration – Flow Chart AMAX-5000 Series User Manual...
Page 173
Figure 6.35 AMAX-5081 Hardware Position Compare Application – Timing Diagram * Latch Signal can be rising edge or falling edge active (Position_Com- pare_Latch_Polarity (0x8000:08)) ** Pulse_Output can be initial low or initial high (Position_Compare_Output_Polarity (0x8000:09)) AMAX-5000 Series User Manual...
Page 174
At the moment of the EtherCAT MDevice triggers the AMAX-5081 module by PDO, the module will generate a pre-defined width of pulse after a period of Offset. Please follow the steps below to configure software triggered Position Compare Out- put function. AMAX-5000 Series User Manual...
Page 175
Step 8: Set Position_Compare_Offset (0x7000:09) to “0” when buffer is written. Step 9: Read Set_Position_Compare_Offset_Done (0x6000:06) again, if the value is “0”, then the next offset value can be set to the buffer if needed. Figure 6.37 Set Position Compare Offset Value AMAX-5000 Series User Manual...
Page 176
(0x6000:07) will be raise to “1”. Step 3: After the pulse output is done, set Enable_Position_Compare (0x7000:0B) to “0” Step 4: Check if Enable_Position_Compare_ Done (0x6000:07) is changed to “0” coordinately, and back to step1 for the next compare trigger signal. AMAX-5000 Series User Manual...
Page 177
Figure 6.39 AMAX-5081 Software Position Compare Application – Timing Diagram Chart * Latch Signal can be rising edge or falling edge active (Position_Com- pare_Latch_Polarity (0x8000:08)) ** Pulse_Output can be initial low or initial high (Position_Compare_Output_Polarity (0x8000:09)) AMAX-5000 Series User Manual...
Page 178
Select input source ChA or ChB on Frequency_Measure_Input_Select (0x8000:05) The input pulse frequency will be showed on Frequency_Value (0x6002:01), the value will be updated every second. This feature is often used to determine motor velocity. AMAX-5000 Series User Manual...
Page 179
Pulse train output 0x6001:01 BOOL 0x00 Done last pulse 6.2.8.3 ENC Frequency Input Table 6.27: ENC Frequency Input (0x6002:01) Index (hex) Name Meaning Data type Flags Default value Update Frequency every 0x6002:01 Frequency_Value UDINT 0x0000 0000 second AMAX-5000 Series User Manual...
Page 180
UDINT 0x0000 0000 pare_Offset_Value Offset Value 6.2.8.5 Pulse Train Output Status Table 6.29: Pulse Train Output Status (0x7001:01) Index (hex) Name Meaning Data type Flags Default value Enable_- Enable pulse train 0x7001:01 BOOL 0x00 Pulse_Train_Output output AMAX-5000 Series User Manual...
Page 181
1,000,000 and 2,000,000. Each output pulse will be 50 ms for high and 100 ms for low. [2]: The total number of the pulse output can be set by Pulse_Train_Number (0x8000:0D), the number should between 0 to 232 (0 is continuous output). AMAX-5000 Series User Manual...
Page 184
Compare out 1 Green Latch input [1]: The cause may be a disconnection or malfunction of the previous (on the left of this module) or this module. Please contact Advantech RMA Centre for further assis- tance. AMAX-5000 Series User Manual...
Page 185
6.3.3 Pin Definition Figure 6.43 AMAX-5082 Module Front View Figure 6.44 AMAX-5082 Module Side View AMAX-5000 Series User Manual...
Page 186
Table 6.33: Upper 4-Pin Connector Pin Number (Top to Bottom) Pin Definition LATCH DI_COM PCOM Table 6.34: Lower 8-Pin Connector Pin Number (Top to Bottom) Pin Definition ISO.GND CLK+ CLK- DATA+ DATA- 6.3.4 Application Wiring Figure 6.45 Wiring for AMAX-5082 AMAX-5000 Series User Manual...
Page 187
6.3.5 Circuit Layout 6.3.5.1 SSI Input Figure 6.46 AMAX-5082 SSI Input 6.3.5.2 Digital Output Figure 6.47 AMAX-5082 Digital Output AMAX-5000 Series User Manual...
Page 188
6.3.5.3 Latch Input Figure 6.48 AMAX-5082 Latch Input AMAX-5000 Series User Manual...
Page 189
0x1601 for SM2 and 0x1A02 for SM3. In this way, the related PDO will be added. Figures below show how PDO should be assigned on CODESYS when using the compare output. Figure 6.49 PDO assignment for SM2 - CODESYS interface Figure 6.50 PDO assignment for SM3 - CODESYS interface AMAX-5000 Series User Manual...
Page 190
Table 6.36: Counter Value (0x6000:11) Name Index Counter_Value 0x6000:11 SSI Coding Dual (Binary) and Gray code are both supported by AMAX-5082, the default is Gray code. Table 6.37: SSI Coding Value (0x8000:04) Name Index SSI_Coding 0x8000:04 AMAX-5000 Series User Manual...
Page 191
20us after the last CLK is sent (Refer to the tp in the diagram below). If the Data is not at low level in this period, the Frame_Error (0x6000:02) will be raised. Table 6.42: Frame Error Value (0x8000:01, 0x6000:02) Name Index SSI_Frame_Error 0x8000:01 Frame_Error 0x6000:02 AMAX-5000 Series User Manual...
Page 192
Step 4: Before next latch signal arrives, the Enable_Latch_External_Rising (0x7000:02) should be toggled once to clear the External_Latch_Valid (0x6000:04) status. Step 5: Once the External_Latch_Valid (0x6000:04) bit is low, the module is ready for the next latching signal. AMAX-5000 Series User Manual...
Page 193
Figure 6.54 Latch Capture Value In addition, latch input also supports digital filter with following options, it can be selected in the address of Latch_Input_Filter_Time (0x8000:09). AMAX-5000 Series User Manual...
Page 194
0x000B 38.4 us 13.1 KHz 0x000C All related configurable parameters for latch counter are listed below: Table 6.45: Latch Counter Configurable Parameters Name Index External_Latch_Valid 0x6000:04 Counter_Value 0x6000:11 Latch_Value 0x6000:12 Enable_Latch_Rising 0x7000:02 Enable_Latch_Falling 0x7000:04 Latch_Input_Filter_Time 0x8000:09 AMAX-5000 Series User Manual...
Page 195
The Counter_Value (0x6000:11) falls in the area between the low limit value to the Set_Comparison_Value0 (0x7000:11). Figure 6.55 AMAX-5082 DO0 Comparison Function Criteria1 The Counter_Value (0x6000:11) falls in the area between the Set_Compari- son_Value0 (0x7000:11) to the high limit value. Figure 6.56 AMAX-5082 DO0 Comparison Function Criteria2 AMAX-5000 Series User Manual...
Page 196
* Note: If users need to assign a new Comparison_Value0, just toggle Set_Compari- son_0 after the value is set. Figure 6.57 AMAX-5082 DO0 Comparison function - Timing Diagram Chart Blue means the 0x6000, 0x7000, 0x8000 parameters. Red means the physical output signal. AMAX-5000 Series User Manual...
Page 197
Comparison_DO0_Output_Trigger_Mode 0x8000:0A Comparison_DO0_Output_Polarity 0x8000:0B DO1 Comparison function DO1 output criteria is simply to compare whether the Counter_Value (0x6000:11) is falls in the area between Set_Comparison_Value0 (0x7000:11) to Set_Compari- son_Value1 (0x7000:12). Figure 6.58 AMAX-5082 DO1 Comparison Function AMAX-5000 Series User Manual...
Page 198
All related configurable parameters for DO1 Comparison function are listed below: Table 6.47: DO0 Configurable Parameters Name Index DO1_Status 0x6000:0A Set_Comparison_0_Done 0x6000:0B Set_Comparison_1_Done 0x6000:0C Counter_Value 0x6000:11 Set_Comparison_0 0x7000:09 Set_Comparison_1 0x7000:0A Enable_DO1_Comparison_Trigger 0x7000:0C Set_Comparison_Value0 0x7000:11 Set_Comparison_Value1 0x7000:12 Comparison_DO1_Output_Polarity 0x8000:0C AMAX-5000 Series User Manual...
Page 199
Figure 6.59 AMAX-5082 DO1 Comparison function - Timing Diagram Chart Blue means the 0x6000, 0x7000, 0x8000 parameters. Red means the physical output signal. AMAX-5000 Series User Manual...
0: Not yet. 1: Done. 0x6000:11 Counter_Value Counter Value UDINT RO 0x0000 0000 0x6000:12 Latch_Value Latch Value UDINT RO 0x0000 0000 [1]: For diagnosis, please refer to the next table “Data and Frame Error Types Diag- nosis” AMAX-5000 Series User Manual...
Page 201
Enable DO1 comparison Enable_DO1_Compar- function 0x7000:0C BOOL RW 0x00 ison_Trigger 0: Disable. 1: Enable. Set_Comparison_Val- Set comparison value 0 0x7000:11 UDINT RW 0x0000 0000 0x00~0xFFFFFFFF Set_Comparison_Val- Set comparison value 1 0x7000:12 UDINT RW 0x0000 0000 0x00~0xFFFFFFFF AMAX-5000 Series User Manual...
Page 202
1: Initial High Comparison DO1 output ini- Comparison_DO1_Out- tial polarity 0x8000:0C UINT 0x0000 put_Polarity 0: Initial Low (default) 1: Initial High [1]: Latch input filter time index please refer to the next table "Latch Input Filter Time". AMAX-5000 Series User Manual...
Page 203
38.4 us 13.1 KHz 0x000C 6.3.9.4 Module Configuration Table 6.53: SSI Module Configuration (0xF600:01) Index (hex) Name Meaning Data type Flags Default value Locate LED control 0xF600:01 LocateModule 0: Turn Off BOOL 0x00 1: Turn On AMAX-5000 Series User Manual...
Even though the time difference is smaller than a cycle time, it can be crit- ical especially on the application which needs synchronized signal output. Figure 7.2 Standard Digital Output Module (SM mode) AMAX-5000 Series User Manual...
The Continuous mode will continuously update the latest timestamp of state change. Each rising-edge (th) and falling-edge (tl) can be set to Single Event mode or Contin- uous mode independently. AMAX-5000 Series User Manual...
Page 208
Figure 7.4 Digital Input with Timestamp - Single Event Mode Figure 7.5 Digital Input with Timestamp - Continuous Mode AMAX-5000 Series User Manual...
Page 209
Enabling the precise and deterministic IO responses. Releasing the data process from cycle base to time base, increasing the flexibil- ity of cycle time of whole system. Reduces processor loading by reducing the data acquisition frequency. AMAX-5000 Series User Manual...
LED to indicate digital status. The module provides 2,000 VDC optical isolation between channels. If any high voltage or current damages the channels, the whole system (other modules, and control unit) won't be affected because it is already isolated. Figure 7.7 AMAX-5051T Module AMAX-5000 Series User Manual...
Table 7.1: AMAX-5051T Module LED Indicator Colour Behaviour Indication Green Power On Orange Locating odule EtherCAT connected Green Blink EtherCAT connecting Wet Logic “1” T0~1 Green (Time Stamp) Wet Logic “0” Dry/Wet Logic “1” DI2~7 Green Dry/Wet Logic “0” AMAX-5000 Series User Manual...
Table 7.2: Upper 4-Pin Connector Pin Number (Top to Bottom) Pin Definition DI_COM_TS DI_COM Iso.GND Iso.GND Table 7.3: Lower 8-Pin Connector Pin Number (Top to Bottom) Pin Definition DI0_TS DI1_TS 7.2.4 Application Wiring Figure 7.11 Wiring for AMAX-5051T standard DI AMAX-5000 Series User Manual...
SingleEventMode or ContinuousMode. [3]: The LatchNeg0/1 is the time of the first/last falling edge, depending on the setting of SingleEventMode or ContinuousMode. The time of LatchPos/LatchNeg is pre- sented in the form of 64-bit timestamp. AMAX-5000 Series User Manual...
Page 216
0x00 0x6000:04 Digital Input Channel 3 BOOL 0x00 0x6000:05 Digital Input Channel 4 BOOL 0x00 0x6000:06 Digital Input Channel 5 BOOL 0x00 0x6000:07 Digital Input Channel 6 BOOL 0x00 0x6000:08 Digital Input Channel 7 BOOL 0x00 AMAX-5000 Series User Manual...
Figure 7.14 AMAX-5056T Module LED Indicator Table 7.6: AMAX-5056T Module LED Indicator Colour Behaviour Indication Green Power On Orange Locating module EtherCAT connected Green Blink EtherCAT connecting Wet Logic "1" T0~1 Green (Time Stamp) Wet Logic "0" AMAX-5000 Series User Manual...
0 Dec 7.3.5.3 Digital Output Data Table 7.11: Digital Output Data (0x3001:01, 0x3001:02) Index (hex) Name Meaning Data type Flags Default value 0x3001:01 Digital Output Channel 0 BOOL 0x00 0x3001:02 Digital Output Channel 1 BOOL 0x00 AMAX-5000 Series User Manual...
AMAX-5017V PDO Assignment Table A.7: AMAX-5017V PDO Assignment (SM3: 0x1A00 – 0x1A05) Index(hex) Size(byte) Name PDO Content(hex) Analog Input Channel n pro- 0x1A0n 0x60n0:11 cess data mapping n: Range from 0 to 5 refer to Ch.0 to Ch.5. AMAX-5000 Series User Manual...
Page 226
PDO Content (hex) Analog Output Channel n 0x160n 0x70n0:11 process data mapping 0x60n0:01 AOn_BurnOut Read Analog Output Chan- 0x1A0n nel n process data mapping 0x60n0:11 n: Range from 0 to 3 refer to Ch.0 to Ch.3. AMAX-5000 Series User Manual...
Index (hex) Size (byte) Name PDO Content (hex) 0x3101:01 0x3101:02 0x3101:03 0x3101:04 0x1600 Digital Output Port 0 0x3101:05 0x3101:06 0x3101:07 0x3101:08 0x3102:01 0x3102:02 0x3102:03 DO10 0x3102:04 DO11 0x1601 Digital Output Port 1 0x3102:05 DO12 0x3102:06 DO13 0x3102:07 DO14 0x3102:08 DO15 AMAX-5000 Series User Manual...
Page 229
PDO Content (hex) 0x160n Digital Output Channel n 0x70n0:01 0x1A0k Digital Input Channel k 0x60k0:01 n: Range from 0 to 3 refer to Ch.0 to Ch.3. k: Range from 0 to 1 refer to Ch.0 to Ch.1. AMAX-5000 Series User Manual...
CIn_Under_Flow 0x60n0:09 CIn_Status_of_Input_A ENC Input Channel n 0x1A0n 0x60v0:0A CIn_Status_of_Input_B process data mapping 0x60n0:0B CIn_Status_of_Input_Z CIn_Status_of_Exter- 0x60n0:0C nal_Latch 0x60n0:11 CIn_Counter_Value 0x60n0:12 CIn_Latch_Value 0x60n0:13 CIn_Frequency_Value n: range from 0 to 1 refer to Ch.0 to Ch.1 AMAX-5000 Series User Manual...
Table A.24: AMAX-5082 PDO SM2 Assignment Comparison (0x1600 – 0x1602, Selectable) SM2 Index Index (hex) Name 0x1600 0x1601 0x1602 0x7000:02 Enable_Latch_Rising 0x7000:04 Enable_Latch_Falling 0x7000:09 Set_Comparison_0 0x7000:0A Set_Comparison_1 0x7000:0B Enable_DO0_Comparison_Trigger 0x7000:0C Enable_DO1_Comparison_Trigger 0x7000:11 Set_Comparison_Value0 0x7000:12 Set_Comparison_Value1 AMAX-5000 Series User Manual...
Page 235
0x6000:04 External_Latch_Valid Position Measure, 0x6000:09 DO0_Status 0x1A03 [1] Latch and Compare 0x6000:0A DO1_Status Status 0x6000:0B Set_Comparison_0_Done 0x6000:0C Set_Comparison_1_Done 0x6000:11 Counter_Value 0x6000:12 Latch_Value [1]: 0x1A00 to 0x1A03 are mutually exclusive, the control mode should align with 0x1C12. AMAX-5000 Series User Manual...
Page 236
0x1D09:B0 LatchPos0 Latch 0x1A13 0x1D09:B8 LatchNeg0 0x1D09:C0 LatchPos1 0x1D09:C8 LatchNeg1 SysTime 0x1D09:10 SysTime 0x1A14 SysTime 0x1D09:10 SysTime 0x1A15 [1]: 0x1A10 to 0x1A13 are selectable and mutually exclusive. [2]: 0x1A14 to 0x1A15 are selectable and mutually exclusive. AMAX-5000 Series User Manual...
Page 237
Index (hex) Size (byte) Name PDO Content (hex) 0x1600 Channel 0 0x3001:01 0x1601 Channel 1 0x3001:02 Table A.32: AMAX-5056T PDO SM3 Assignment (0x1A00, Selectable) Index (hex) Size (byte) Name PDO Content (hex) 0x1A00 SysTime 0x1D09:10 SysTime AMAX-5000 Series User Manual...
Need help?
Do you have a question about the AMAX-5000 Series and is the answer not in the manual?
Questions and answers