Application Examples - Omron SYSMAC CJ Series User Manual

Sysmac cj series cpu unit pulse i/o module
Hide thumbs Also See for SYSMAC CJ Series:
Table of Contents

Advertisement

7-5

Application Examples

Using a Rotary Encoder to Measure Positions
Functions Used: High-speed Counting
A high-speed counter input can be used by connecting a rotary encoder to an input terminal. A
Pulse I/O Module is equipped with more than one high-speed counter input, making it possible to
control devices for multiple axes with a single PLC.
High-speed counters can be used for high-speed processing, using either target value comparison
or range comparison to create interrupts. Interrupt tasks are executed when the counter value
reaches a specific target value or range.
Operation
A sheet feeder is controlled to feed constant lengths in a given direction, e.g., for vacuum packing of
food products.
Motor speed
Motor start input:
CIO 2960.02
Motor operation
input: CIO 2961.00
Motor low speed
input: CIO 2961.01
Normal stop position
output: CIO 2961.02
Error stop position
output: CIO 2961.03
High-speed
counter 0 PV
(A270)
(Pulses)
While the pulse count is between 3,500 and 3,550, the normal stop position output (CIO 2961.02)
will be ON. If the pulse count exceeds 3,550, the error stop position output (CIO 2961.03) will turn
ON.
CJ2M CPU Unit Pulse I/O Module User's Manual
3,550
3,500
3,000
When the operation start input is received, the ladder
program clears the PV of the counter to 0.
7 High-speed Counters
7
7-43

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cj2m-cpu seriesSysmac cj2m-md21 series

Table of Contents