Advantech AMAX-5000 Series User Manual page 147

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

Advertisement

Name
Enable_Latch_External_Rising
Enable_Latch_External_Falling
Counter_Value
Latch_Value
6.2.7.3
Reset Counter Value
The counter values can be reset with external signal by configuring the Z pin as the
reset input. The reset signal can be triggered by encoder Z signal or any external
sensor's signal.
To use the reset feature, please follow the steps below:
Configuration:
Set Enable_Z_Pulse_Reset (0x8000:02) to 1 (Enable).
Define Z_And_Gate_Active_Polarity (0x8000:03) as 0 (Rising Edge Active) or 1
(Falling Edge Active).
Enable Input:
Step1: Set Enable_Latch_Z (0x7000:01) to True.
Step2: Any reset signal from Z pin, the Counter_Value (0x6000:11) will be cleared.
Step3: Once counter value is cleared, Latch_Z_Valid (0x6000:01) will be raised to
True.
Step4: 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
135
Index
0x7000:02
0x7000:04
0x6000:11
0x6000:12
AMAX-5000 Series User Manual

Advertisement

Table of Contents
loading

Table of Contents