183
GT1-CT01 Counter Unit
Section 5-4
Output Word Functions
Word
Bit
Function
Wd n
00 to 15
Wd n+1
00 to 15
Setting Count Value
At the rising edge of the Count Value Setting Bit (word n+2, bit 2) starts, the value is read and set.
BCD (Data Code Switching Bit OFF)
Word n+1
Word n
Sign
Set the sign in 1-digit hexadecimal.
0: Positive
1: Negative
Hexadecimal (Data Code Switching Bit ON)
Word n+1
Word n
When setting negative numbers, use the 24-bit 2's complement
(the last 24 bits of the 32-bit 2's complement).
Example:To set
−
10,000
−
10,000 (decimal)
→
FFFF D8F0 Hex (32 bit 2's complement)
→
FF D8F0 Hex (24 bit 2's complement)
Setting Set Values
At the rising edge of the Set Value 1 Setting Bit (word n+2, bit 0) or the Set Value 2 Setting Bit (word n+2,
bit 1) starts, the value is read and set.
BCD (Data Code Switching Bit OFF)
Word n+1
Word n
Set the output conditions with 3 bits.
000: Present
value
≥
Set value
→
Output ON
Not 000: Present value
≤
Set value
→
Output ON
(Whether output is actually made depends on the settings of
the External Output Enable Bits, word n+2 bits 08, 09)
Set the sign with 1 bit.
0: Positive
1: Negative
Hexadecimal (Data Code Switching Bit ON)
When setting negative numbers, use the 24-bit 2's complement
(the last 24 bits of the 32-bit 2's complement).
Example:To set -10,000
-10,000 (decimal) " FFFF D8F0 Hex (32-bit 2's complement) "
FF D8F0 Hex (24-bit 2's complement)
Set the output conditions with 3 bits.
000: Present
value
≥
Set value
→
Output ON
Not 000: Present value
≤
Set value
→
Output ON
(Whether output is actually made depends on the settings of
the External Output Enable Bits, word n+2 bits 08, 09)
Setting Range
Value (decimal)
−
8,388,608
to
−
1
0
1
to
8,388,607
BCD (sign + 7 digits)
F838 8608
to
F000 0001
0000 0000
0000 0001
to
0838 8607
Hexadecimal (6 digits)
80 0000
to
FF FFFF
00 0000
00 0001
to
7F FFFF
Word n+1
Word n
When setting negative numbers, use the 24-bit 2's complement
(the last 24 bits of the 32-bit 2's complement).
Example: To set
−
10,000
−
10,000 (decimal)
→
FFFF D8F0 Hex (32-bit 2's complement)
→
FF D8F0 Hex (24-bit 2's complement)
Summary of Contents for DRT1-COM
Page 1: ...OPERATION MANUAL Cat No W348 E1 05 DRT1 COM GT1 Series DeviceNet MULTIPLE I O TERMINAL ...
Page 2: ...DRT1 COM GT1 Series DeviceNet MULTIPLE I O TERMINAL Operation Manual Revised May 2003 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 233: ...DRT1 COM GT1 Series DeviceNet MULTIPLE I O TERMINAL Cat No W348 E1 05 OPERATION MANUAL ...