S
MART
AXIS P
RO
/L
ITE
U
SER
'
S
M
ANUAL
FT9Y-B1378
5-17
5: S
PECIAL
F
UNCTIONS
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.
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.
Group
1
(I0 to I1)
2
(I2)
3
(I3 to I4)
4
(I5)
5
(I6)
6
(I7)
Read/Write
Preset Value (Upper word)
D8052
D8058
D8064
D8070
D8136
D8142
R
Preset Value (Lower word)
D8053
D8059
D8065
D8071
D8137
D8143
Summary of Contents for FT1A-B12RA
Page 1: ...FT9Y B1378 5 ...
Page 2: ......
Page 208: ...7 DEVICE ADDRESSES 7 16 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...
Page 226: ...8 INSTRUCTIONS FUNCTION BLOCKS REFERENCE 8 18 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...
Page 340: ...13 SCRIPTS 13 36 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...
Page 385: ...SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 A 19 APPENDIX Japanese Font JIS X0201 ...
Page 386: ...APPENDIX A 20 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...