IDEC MICROSmart FC6A Series User Manual page 279

Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

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
• 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.
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.
FC6A Series MICROSmart
External Input
Operation Mode
Counting Mode
Comparison Action
Comparison settings
Tag Name/Device Address : D0000 (data register)
Number of Comparisons
Comparison Output
Comparison1 (D0004)
Comparison1 (D0005)
Keep
Reset value (D8216)
Reset value (D8217)
Overflow
Underflow
Use HSC Reset Input
Keep the current value
when PLC is powered up
FC6A S
MICROS
U
ERIES
MART
Pulse Motor
Rotary
Encoder
: Group 1
: Two-phase High-speed Counter
: 4-edge Count
: Comparison Output
: 1
: Q2 (external output when matched)
: 0 (upper word)
: 2,700 (lower word)
: OFF
: 0 (upper word)
: 0 (lower word)
: OFF
: OFF
: OFF
: Checked
'
M
FC9Y-B1722
SER
S
ANUAL
5: F
S
UNCTIONS AND
ETTINGS
Paper Roll
Paper Feed Roller
Perforator
5-33

Advertisement

Table of Contents
loading

Table of Contents