Advantech AMAX-5000 Series User Manual page 148

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

Advertisement

6.2.7.4
Set Counter Value
The counter value can be overwritten to a desired number by setting at address
Set_Counter_Value (0x7000:11) and Set_Counter (0x7000:03) no matter if the
counter is counting or not. This feature is usually used for restoring the last incremen-
tal encoder value after system reboot. Once the counter value is set successfully, the
Set_Counter_Done (0x6000:03) will be changed to "1".
For example, the start counter value can be overwritten by following steps:
Step1: Set Set_Counter_Value (0x7000:11) to assign a counter value to be changed.
Step2: Enable Set_Counter (0x7000:03) to activate the change of counter value.
Step3: When the Set_Counter_Done (0x6000:03) is "1", the counter value is changed
Step4: Set_Counter (0x7000:03) should be set to "0" before the next change
Step5: Set_Counter_Done (0x6000:03) will be restored to "0" along with
Set_Counter.
AMAX-5000 Series User Manual
Figure 6.32 Set Counter Value
136

Advertisement

Table of Contents
loading

Table of Contents