A-4-6 Using Servo Drivers For Positioning - Omron CP1L CPU Getting Started Manual

Cp1l cpu unit
Hide thumbs Also See for CP1L CPU:
Table of Contents

Advertisement

When the PV of the high-speed counter matches target value 2 (3500), interrupt task
05 will be executed.
Interrupt task
DM Area Setup
The comparison table for the CTBL (register comparison table) instruction should
be allocated to DM D600 through D606.
Channel

A-4-6 Using Servo Drivers for Positioning

Functions Used
Pulse Output by Built-in Output
Pulse signal outputs from the built-in output of a CPU unit can be used for
positioning and speed control of a servo motor driver with up to 2 axes.
Operation Overview
The following example is for a single-axis handling machine that is used to transfer
product.
Origin search will be executed, followed by positioning operations to points A and B.
P_On
05
Value
D600
0002
Items compared: 2
D601
0BB8
Target value 1: 3000 BCD (BB8 Hex)
D602
0000
D603
0004
Target value 1: Interrupt task No.4
D604
0DAC
Target value 2: 3500 BCD (DAC Hex)
D605
0000
D606
0005
Target value 2: Interrupt task No.5
Point A Origin
Point B
A-4 CP1L Programming Examples
RSET
Reset "motor run"
100.00
RSET
Reset "motor slow"
100.01
SET
Reset "motor stopped"
W0.02
Content
SYSMAC CP1L Getting Started Guide
A
137

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents