Specification, User’s manual 45, Single-channel pulse input (continued) – Toshiba T2N User Manual
Page 60
2.Specification
User’s manual 45
Single-Channel Pulse Input
(Continued)
Terminal Connection
Encoder
Data Format
For the count values (24 bits), the lower 16 bits are read as XWn + 1, and the
upper 8 bits as the bit 0 to bit 7.
Count = -8388608 to 8388609 (or 0 to 16777215 if upper 8 bits are masked).
+M
+B
-M
-B
-A
+A
EXT
12-24Vdc
12Vdc
(5Vdc)
Pulse
encoder
OV
M
B
A
5/12Vdc
12-24Vdc
PI21
power
-B
+B
-A
+A
EXT
-M
+M
Wiring Example
Count
Count
S
All bits S
XWn+1
XWn
Occupies 2 words
2
23
-----------2
16
2
15
-----------------2
0
0
0 F
7
6
8
F
Use shielded
twisted-pair cables
for pulse signals,
and ground the
shields securely.
Bit 8 to bit F of XWn are the same as bit 7 of XWn (sign bit). In
order to match the double-length register configuration of the T2N,
use after exchanging the upper word and the lower word.
(Example : Store count value in the double-length register of
D0101 • D0100)
[XWn
MOV D0101]
[XWn+1 MOV D0100]
NOTE