IDEC SmartAXIS FT9Z-1A01 User Manual page 109

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. However, the interrupt program can only be used when ladder program is selected as the
programming language.
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.
Group
Preset Value (Upper word)
Preset Value (Lower word)
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 Preset Value Number is active. The active
preset value number for each comparison is stored in Current Preset Value Number and the next active preset value number is
automatically stored in Next Preset Value Number. By changing the value of Next Preset Value 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
(I0 to I1)
(I2)
D8052
D8058
D8053
D8059
S
A XI S P
/ L
U
M AR T
R O
I TE
3
4
(I3 to I4)
(I5)
D8064
D8070
D8065
D8071
'
M
FT9Y-B 1378
SER
S
ANUAL
5: S
F
P ECI AL
UN CTI ON S
5
6
Read/Write
(I6)
(I7)
D8136
D8142
D8137
D8143
R
5-17

Advertisement

Table of Contents
loading

Table of Contents