184
GT1-CT01 Counter Unit
Section 5-4
Word
Bit
Name
Function
Wd n+2
00
Set Value 1
Setting Bit
At the rising edge of this bit, the Counter Unit reads the value from words n and n+1,
and sets it as set value 1. Before turning this bit OFF, check that bit 00 in word m+2 (Set
Value 1 Setting Completion Flag) is ON.
01
Set Value 2
Setting Bit
At the rising edge of this bit, the Counter Unit reads the value from words n and n+1,
and sets it as set value 2. Before turning this bit OFF, check that bit 01 in word m+2 (Set
Value 2 Setting Completion Flag) is ON.
02
Count Value
Setting Bit
At the rising edge of this bit, the Counter Unit reads the value from words n and n+1,
and changes the count value (present value). Before turning this bit OFF, check that bit
02 in word m+2 (Count Value Setting Completion Flag) is ON.
03
Data Code
Switching Bit
This bit determines whether the setting and reading of the count value or the set values
is performed in BCD or hexadecimal.
OFF: BCD
ON: Hexadecimal
04
Set Value 1
Reading Bit
While this bit is ON, the Counter Unit reads the normal value of set value 1 and the out-
put conditions and stores them in words m and m+1.
05
Set Value 2
Reading Bit
While this bit is ON, the Counter Unit reads the normal value of set value 2 and the out-
put conditions and stores them in words m and m+1.
06
Count Value
Reading Bit
While this bit is ON, the Counter Unit reads the normal value of the count value and
stores it in words m and m+1.
07
Internal
Resetting Bit
When used for count value resetting, the rising edge of this bit becomes the condition
for resetting (only enabled for rising edge).
08
External Out-
put 1 Enable
Bit
This bit determines whether external output 1 comes ON when the output conditions for
the count value and set value 1 are fulfilled.
OFF: No output (regardless of comparison result, external output 1 will always be OFF)
ON: Output (when the output conditions are fulfilled, external output 1 will turn ON)
09
External Out-
put 2 Enable
Bit
This bit determines whether external output 2 comes ON when the output conditions for
the count value and set value 2 are fulfilled.
OFF: No output (regardless of comparison result, external output 2 will always be OFF)
ON: Output (when the output conditions are fulfilled, external output 2 will turn ON)
10
Count Mode
Selection Bits
The count mode is set in the following way.
Bit 11 Bit 10
Count mode
OFF
OFF
No mode change
OFF
ON
Pulse and direction input mode
ON
OFF
Differential phase pulse input
á
×
4)
ON
ON
Differential phase pulse input
á
×
1)
Between the Counter Unit startup and count mode setting, count operations will not
begin. If the count mode has already been set when the Counter Unit is started up, how-
ever, count operations will start in the count mode set. If the count mode is changed dur-
ing count operations, the present value will be cleared to 0 before counting starts in the
new mode.
11
12
Reset Mode
Setting Bits
The reset mode is set in the following way.
Bit 14 Bit 13
Bit 12
Reset mode
OFF
OFF
OFF
No mode change
OFF
OFF
ON
Encoder input Z
OFF
ON
OFF
External input
OFF
ON
ON
Encoder input Z and external input
ON
OFF
OFF
Internal reset bit
ON
OFF
ON
Encoder input Z and internal reset bit
ON
ON
OFF
External input and internal reset bit
ON
ON
ON
Encoder input Z, external input, and internal reset bit
13
14
15
I/O Unit Inter-
face Error
Setting Bit
Counter Unit operations in the event of I/O Unit interface error (see note) are set in the
following way.
OFF: Count operations will be stopped, and the present value and set values 1 and 2
will be cleared to 0. External outputs 1 and 2 will be turned OFF.
ON: Count operations will continue.
Note: In the event of I/O Unit interface error, the Communications Unit and all the I/O
Units must be restarted.
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 ...