Appendices
A - 30
NX-series Position Interface Units User’s Manual (W524)
The following objects are assigned to I/O or used in message communications.
If you assign any of the objects that are described below to I/O, you can no longer access those objects
with the Read NX Unit Object instruction or the Write NX Unit Object instruction.
Refer to the NJ/NX-series Instructions Reference Manual (Cat. No. W502) for information on the Read
NX Unit Object instruction or the Write NX Unit Object instruction.
• The following table shows the bit configuration of the Encoder Counter Status object.
I/O Allocation Objects
Index
(hex)
Subin-
dex
(hex)
Object name Default Data range Unit Data type Access
I/O
allo-
cat-
ion
Data
attri-
bute
6000 --- Encoder Counter Status --- --- --- --- --- --- ---
00 Number of Entries
*1
*1. The values for the NX-EC0112, NX-EC0122, NX-EC0132, or NX-EC0142 are 1. The values for the NX-EC0212 or
NX-EC0222 are 2.
*1 --- USINT RO No ---
01 Ch1 Encoder Counter
Status
00 hex 00 to FF hex --- BYTE RO Yes ---
02 Ch2 Encoder Counter
Status
*2
*2. This object does not exist on the NX-EC0112, NX-EC0122, NX-EC0132, and NX-EC0142.
00 hex 00 to FF hex --- BYTE RO Yes ---
Bit Status name Description
0 Counter Enabled 0: Counter operating.
1: Counter stopped.
1 Internal Reset Completed This is the completion flag for the Internal Reset Execution
bit of the Encoder Counter Operation Command variable.
0 to 1: Reset execution completed.
1 to 0: The Internal Reset Execution bit in the Encoder
Counter Operation Command variable is set to 0.
2 Internal Latch Completed This is the completion flag for the Internal Latch Execution
bit of the Encoder Counter Operation Command variable.
0 to 1: Latch execution completed.
1 to 0: The Internal Latch Execution bit in the Encoder Coun-
ter Operation Command variable is set to 0.
3 Preset Completed This is the completion flag for the Preset Execution bit of the
Encoder Counter Operation Command variable.
0 to 1: Preset execution completed.
1 to 0: The Preset Execution bit in the Encoder Counter
Operation Command variable is set to 0.
4 Preset Command Value Invalid Flag 1: Setting error occurred.
0: No setting errors occurred.
5 Counter Underflow Flag 1: Counter underflow error occurred.
0: Counter underflow error did not occur.
6 Counter Overflow Flag 1: Counter overflow error occurred.
0: Counter overflow error did not occur.
7 Count Direction Flag This bit indicates the count direction based on the last pulse
input.
*1
1: Negative direction
0: Positive direction