182
GT1-CT01 Counter Unit
Section 5-4
3.
Setting of the set values can be performed regardless of whether or not
count operation is being carried out. Due to the communications time re-
quired for remote I/O communications, however, timing for setting cannot
be made with perfect accuracy during count operation.
Reading Set Values 1 and 2
By switching ON the Set Value 1 Reading Bit (word n+2, bit 04) or the Set
Value 2 Reading Bit (word n+2, bit 05), the set values can be read and stored
in words m, m+1 of the input area. When this is performed, the set output con-
ditions will also be read. The format of the stored value will be the same as
that at setting.
Note The values will be stored in either BCD or hexadecimal, according to the set-
ting of the Data Code Switching Bit (word n+2, bit 03).
Word Functions
The Counter Unit is allocated output word 3 and input word 3 in the allocated
area of the Master. Readings of the settings and status of the Counter Unit
are made from the Master via this area.
This section describes the functions of the words that the Counter Unit uses.
In the following explanation, word n refers to the first word in the output area,
and m word refers to the first word in the input area.
Note
1.
For details about allocation in the allocation area in the Master, refer to the
DeviceNet Operation Manual (W267).
2.
If the power supply from the I/O unit interface to the Counter Unit stops, the
Counter Unit will stop count operations. If this happens, it will be necessary
to start up the Counter Unit again. Furthermore, when this is carried out,
the present value, the set values, and the count modes will all be cleared
and so these settings will also have to be made again.
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)
Word n+1
Word n+2
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)
When setting negative numbers, use the 24 bit 2's com-
plement (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 com-
plement)
→
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 ...