5: F
UNCTIONS
AND
S
ETTINGS
5-22
FC6A S
ERIES
MICROS
MART
U
SER
’
S
M
ANUAL
FC9Y-B1722
Example: Group 1, number of comparisons is 3, set to device address D0
When the current value matches preset value 1,
Current Comparison Number
becomes 2 and 3 is stored in
Next Comparison
Number
.
When the device address is configured as D0,
Current Comparison Number
is stored in D1 and
Next Comparison Number
is
stored in D2.
For the group 1 preset value, the value of the data registers (D4, D5) allocated to preset value number 1 is stored in D8212 and
D8213 as shown in the table above and it is compared to the current value.
Note:
When the
Next Comparison Number
preset value becomes active, the high-speed counter preset value during execution does not change,
even when the preset value for that preset value number is changed. When the current value and the current preset value match, the preset value
with the number stored in
Next Comparison Number
becomes active. Changes to the
Next Comparison Number
data register must be
performed before the preset value becomes active.
Counting State
Count
Before action
Count
Action start
Current value
and preset
value 1
matched
Current value
and preset
value 2
matched
Current value
and preset
value 3
matched
Current
Comparison
Number (D1)
0
→
1
→
2
→
3
→
1
Next
Comparison
Number (D2)
1
→
2
→
3
→
1
→
2
Preset value 1 is set to
Current Comparison
Number
Preset value 2
is set.
Preset value 3
is set.
Once again, preset
value 1 is set.
Repeat
Before the count action, set
Current
Comparison Number
to 0, and set
Next Comparison Number
and preset
values 1 to 3 to the count values with the
initialize pulse in the user program.
Summary of Contents for MICROSmart FC6A Series
Page 1: ...B 1722 8 FC6A SERIES User s Manual...
Page 12: ...TABLE OF CONTENTS Preface 11 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Page 182: ...2 PRODUCT SPECIFICATIONS 2 152 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Page 434: ...8 INSTRUCTIONS REFERENCE 8 18 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Page 520: ...11 SD MEMORY CARD 11 54 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Page 554: ...13 TROUBLESHOOTING 13 26 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Page 567: ...FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722 A 13 APPENDIX ASCII Character Code Table...