FC6A S
ERIES
M
ICRO
S
MART
A
LL
-
IN
-O
NE
T
YPE
U
SER
’
S
M
ANUAL
FC9Y-B1722
5-29
5: F
UNCTIONS
AND
S
ETTINGS
Example program 2
Using the two-phase high-speed counter, the pulses from a rotary encoder are input to the FC6A Series MicroSmart and a
continuous workpiece is marked at a regular interval.
Application description
In the WindLDR
Function Area Settings
, select
Two/Single-phase High-speed Counter
for
Group 1
.
In the
High-speed Counter Settings
dialog box, configure the settings as follows.
• The rotary encoder pulses are input to external input
I0. A continuous sheet of paper is marked (holes are
punched) at a regular interval (every 2,700 pulses).
• The rotary encoder is directly connected to the paper
feed roller, and output pulses are counted by the
high-speed counter and controlled.
• The cycle time is the time to count 2,700 pulses.
When the hole punch time is 0.5 seconds, the
operation condition is 2,700 pulse count time > 0.5
seconds.
Paper Roll
Paper Feed Roller
Perforator
Rotary
Encoder
FC6A Series MicroSmart
Pulse Motor
External Input
: Group 1
Operation Mode
: Two-phase High-speed Counter
Counting Mode
: 4-edge Count
Comparison Action
: Comparison Output
Comparison settings
Tag Name/Device Address : D0000 (data register)
Number of Comparisons
: 1
Comparison Output
: Q2 (external output when matched)
Comparison1 (D0004)
: 0 (upper word)
Comparison1 (D0005)
: 2,700 (lower word)
Keep
: OFF
Reset value (D8216)
: 0 (upper word)
Reset value (D8217)
: 0 (lower word)
Overflow
: OFF
Underflow
: OFF
Use HSC Reset Input
: OFF
Keep the current value
when PLC is powered up
: Checked
Summary of Contents for FC6A series
Page 1: ...B 1722 2 FC6A SERIES All in One Type User s Manual ...
Page 10: ...TABLE OF CONTENTS Preface 9 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 28: ...1 GENERAL INFORMATION 1 18 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 286: ...6 DEVICES 6 32 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 334: ...7 HMI FUNCTION 7 48 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 340: ...8 INSTRUCTIONS REFERENCE 8 6 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 360: ...9 FUNCTIONAL MODULES 9 20 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 368: ...10 ANALOG CARTRIDGE 10 8 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...