iDect FC6A series User Manual page 203

Microsmart all-in-one type
Table of Contents

Advertisement

Comparison Actions
The operating condition when comparing values is configured in the WindLDR High-speed Counter Settings, under
Comparison Action.
The action when comparing values is Comparison Output or Interrupt Program, so specify an external output number or
label number when comparing.
Operation
When the preset value and the current value are compared and the values match, the specified output is turned on or the interrupt
program is executed.
A maximum of six high-speed counter preset values can be configured. For one preset value, the current value is compared with
the same preset value each time.
When multiple preset values are configured, the preset value is changed each time the current value and preset value match.
For example, if four preset values are configured, when preset value 1 matches the current value, the comparison subject changes
to preset value 2 → 3 → 4 in order.
When the final preset value 4 matches the current value, the preset value returns to preset value 1 and the values are compared.
■ Preset value storage locations
The preset values during high-speed counter operation are stored as 2 words in special data registers.
Single-phase high-speed counter (Adding counter)
Group
Upper Word
Preset Value
Lower Word
Single-phase high-speed counter (Up/down selection reversible counter, dual-pulse reversible counter),
two-phase high-speed counter
Group
Upper Word
Preset Value
Lower Word
Note: In the WindLDR Function Area Settings, when 32-bit Data Storage Setting is set to From Lower Word, the lower word is stored in
the first device.
Specify the data registers to store the preset values in WindLDR and store those preset values in the user program. Specify the
start address of the data registers to allocate the data registers to the individual settings in the comparison settings. When the
high-speed counter is executed, the preset value with the number stored in Current Comparison Number is active. The active
preset value number for each comparison is stored in Current Comparison Number and the next active preset value number is
automatically stored in Next Comparison Number. By changing the value of Next Comparison Number in the user program,
the next active preset value number can be changed. The active preset value is stored for each group in the special data registers
shown in the table above.
1
2
D8212
D8194
D8213
D8195
1
2
D8212
D8213
FC6A S
M
S
A
ERIES
ICRO
MART
3
4
D8220
D8224
D8221
D8225
3
4
-
-O
T
U
'
M
LL
IN
NE
YPE
SER
S
ANUAL
5: F
UNCTIONS AND
5
6
D8228
D8200
D8229
D8201
5
6
D8228
D8229
FC9Y-B1722
S
ETTINGS
Read/Write
R
Read/Write
R
5-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents