Advantech AMAX-5000 Series User Manual page 149

Ethercat slice i/o modules
Hide thumbs Also See for AMAX-5000 Series:
Table of Contents

Advertisement

6.2.7.5
Input Filter
AMAX-5081 supports input filter for A/B/Z/Latch input signal. The selectable filter
duration for Input_Filter_Time (0x8000:04) are listed as below:
Table 6.25: Input Filter Level
Filter Num.
0
1
2
3
4
6.2.7.6
Position Compare Output – Hardware Trigger
The position compare output can let the module generate a pre-defined width of
pulse, after a specific triggering signal, the signal can be triggered by hardware or
software.
This section will show you how to configure and use hardware triggered position
compare output.
Hardware Trigger Behavior
At the moment of AMAX-5081 detect an external signal entering the AMAX-5081
Latch pin, the module will generate a pre-defined width of pulse after a period of Off-
set.
Hardware Trigger Configuration:
Configure Position Compare
Step0: Configure PDO, select Position Measure and Compare Control (0x1602) for
SM2 and Position Measure and Compare Status (0x1A02) for SM3.
Step1 :Set Position_Compare_Source_Select (0x8000:07) to 0: HW
Step2: Set Position_Compare_Latch_Polarity (0x8000:08) to 0: Rising Edge Active;
1: Falling Edge Active.
Step3: Set Position_Compare_Output_Polarity (0x8000:09) to 0: Initial Low; 1: Initial
High.
Set Output Pulse Width
Step4: Set Position_Compare_Output_Width (0x8000:0A) (Unit:10ns)
Note*: The actual output width is (Position_Compare_Output_Width + 2) * 10ns, and
the minimum value for Position_Compare_Output_Width is "1".
Set Position Compare Offset Value
Step5: Set Position_Compare_Direction (0x7000:0A) to 0: Forward counting; 1:
Reverse counting
Step6: Set Set_Position_Compare_Offset_Value (0x7000:12) (0 ~ 232).
Step7: Set Position_Compare_Offset (0x7000:09) to "1" to write the offset into the
buffer.
Step8: Read Set_Position_Compare_Offset_Done (0x6000:06), if the value is "1",
then the offset is written to the buffer successfully.
Time
Disable Filter
1.28 us
10.24 us
163.84 us
1.31 ms
137
AMAX-5000 Series User Manual

Advertisement

Table of Contents
loading

Table of Contents