12.8 Counter Function Module
12.8.3 Setting Up the Counter Function Module
12
Function
s
of the Contr
oller
S
ection
12-67
Output Data Settings
The
Out Data
Group settings are described below. Abbreviations for data are give in parenthe-
ses in the Name column.
*1.
OW
00 is the register address that is given in the
First Register Address
Box of the Fixed Parameter Set
Tab Page plus 00.
*2.
Refer to the following section for details.
*3.
Refer to the following section for details.
Coincidence Detection and Coincidence Interrupts
No
.
Register
Address
Name
Description
Range
Unit
Size
–
OW
00
*1
Operation Mode
(Run Mode)
(RUNMOD)
Bit 0
Count Disable
ON (1): Prohibited.
OFF (0): Enabled (default set-
ting)
If this bit is ON (1), counting by
the counter is prohibited.
–
–
1 word
Bit 1
Calculating Preset
ON (1): Execute.
OFF (0): Do not execute
(default setting)
If this bit is ON (1), the counter
is reset to the preset value.
Bit 2
PL Latch Detect Command
*2
ON (1): Execute.
OFF (0): Do not execute
(default setting)
If this bit is ON (1), the current
count is recorded when the
external signal is input.
Bit 3
Coincidence Detection
*3
ON (1): Execute.
OFF (0): Do not execute
(default setting)
If this bit is ON (1), the match
detection signal is output when
the count matches the match
detection setting.
Bit 4
POSMAX Presetting
(POSMAX Turns Presetting
Request)
ON (1): Execute.
OFF (0): Do not execute
(default setting)
If this bit is ON (1), the number
of POSMAX turns is reset to the
preset value.
–
OW
01
Set Function/
Latch Detec-
tion Signal
Set the external signal to use PI latch-
ing.
0001h: DI latching (discrete input)
0002h: Z-latching (phase-z input)
0001h to
0002h
–
1 word
01
OL
02
Count Preset-
ting Data (PRS-
DAT)
The current count is reset to this value
when a count preset request is made.
-2147483648
to
2147483647
Refer-
ence
units
2 words
02
OL
04
Agreed Detec-
tion Value
(Coincidence
Detection Set
Value)
(COINDAT)
A coincidence detection signal and
then an interrupt signal are output
when the current count reaches this
value after a coincidence detection
request has been made.
-2147483648
to
2147483647
Refer-
ence
units
2 words
03
OL
06
Preset Data of
POSMAX Turns
The number of POSMAX turns is reset
to this value when a number of POS-
MAX turns preset request is made.
-2147483648
to
2147483647
Rota-
tions
2 words
04
OL
1E
System Monitor
Reserved.
–
–
–