
9 - 13
9 Encoder Input Slave Unit
GX-series EtherCAT Slave Unit User’s Manual
9-3
Fun
ctio
n o
f th
e Enco
der In
pu
t Slave Un
its
9
9-3-
6 Count
er Preset
It is possible to preset counter value for each channel using the elements shown below.
Counter preset bit
The counter present value is overwritten by "preset command value" by changing soft switch
"present value preset execution" allocated to each channel from 0 to 1 in the output data (Slave Unit
→
EtherCAT Master Unit) area.
Preset command value
Set "preset command value" allocated to each channel in output data (Slave Unit
→
EtherCAT
Master Unit) area or via SDO communications. (Default setting: 0)
When SDO communications are used, the target index is 4011 hex.
For the details, refer to the information in the corresponding index of "Appendix A-1 Object
Dictionary" in Page A - 50.
The counter value is latched for each channel using the elements shown below.
It is possible to latch two values at the same time.
External control input (latch A)
The present counter value is acquired/stored at the rise of latch A of external control input.
However, it is necessary to set the soft switch "external latch A enabled" to "enabled." *
External control input (latch B)
The present counter value is acquired/stored at the rise of latch B of external control input.
However, it is necessary to set the soft switch "external latch B enabled" to "enabled." *
For both latch A and B inputs, when latch is generated via latch input, the "external latch generation
flag" changes from 0 to 1 and the counter value is stored in objects (latch value A/latch value B) as
latch A/latch B data.
By changing "clear external latch generation flag" from 0 to 1, it is possible to clear the "external
latch generation flag."
When the "external latch generation flag" is cleared, the next latch input becomes enabled.
If it is desired to use latched counter values (latch values) in a ladder program, select PDO mapping
to which latch data is allocated.
* To use SDO communications, acquire/store the present counter value at the rise of latch A/B of external
control input, regardless of the status of the soft switch "external latch A/B enabled."
9-3-6
Counter Preset
9-3-7
Counter value latch
Summary of Contents for GX-AD0471
Page 3: ...GX series EtherCAT Slave Units User s Manual Revised October 2018...
Page 4: ......
Page 42: ...2 EtherCAT Slave Unit 2 8 GX series EtherCAT Slave Unit User s Manual...
Page 66: ...4 Installation and Wiring 4 18 GX series EtherCAT Slave Unit User s Manual...
Page 84: ...5 EtherCAT Communications 5 18 GX series EtherCAT Slave Unit User s Manual...
Page 98: ...6 Basic Specifications of Slave Units 6 14 GX series EtherCAT Slave Unit User s Manual...
Page 178: ...7 Digital I O Slave Unit 7 80 GX series EtherCAT Slave Unit User s Manual...
Page 206: ...8 Analog I O Slave Unit 8 28 GX series EtherCAT Slave Unit User s Manual...
Page 280: ...11 Expansion Unit 11 20 GX series EtherCAT Slave Unit User s Manual...
Page 388: ...A Appendix A 84 GX series EtherCAT Slave Unit User s Manual...
Page 392: ...Revision 2 GX series EtherCAT Slave Unit User s Manual...
Page 393: ......