Omron CS1W-MC221 - 02-2008 Operation Manual page 109

Motion control units
Table of Contents

Advertisement

Overview of Version 1 Upgrades
Relationship to Bits/Flags
Relationship to External
I/O
Application Example
Application
Precautions
82
G code
G01 (E31) (elec-
Register function cannot be canceled.
tronic gear/cam can-
cel function)
G01 (E31) (register
Do not use the same input as the register function. Inputs may
function)
be missed.
The relationships of the register function to control bits and flags are
described in the following table.
Bit/Flag name
Forced Block End Bit The blocks before and after the register function will be
paused, but the G code command for the register function
itself will not be ended.
Origin Search Bit
Do not use the same input as the register function. Inputs may
be missed.
The relationships of the register function to external I/O are described in the
following table.
Bit/Flag name
General-purpose
Can be used a latch condition.
input
Phase Z input
Can be used a latch condition.
N000 P000 X
N001 G63 E31=1000 .................Sets operand table from A1000.
N002 G63 A1000=4 ...................Register operation
N003 G63 A1001=1 ...................Register condition = General-purpose input
N004 G63 A1002=1005 .............Position data address for latched position
N005 G63 A1003=0 ...................Latch status
N006 G01 X(E31).......................Latch axis = X axis
N007 G71 N007/A1010 ! 1 .........Wait until latch is completed.
Etc.
• Do not use the register function with circular interpolation. The servo
cycle may be delayed, causing the operation time to be extended.
• Be careful of the execution timing when using G code commands for syn-
chronized control functions in more than one task. There is only one E
register, E31, that is used in the G code commands for synchronized con-
trol functions. When specifying the first position data address, be sure that
another address is not being specified in E31 in another task. Interlocking
between tasks will be necessary.
Relationship to register function
Relationship to register function
Relationship to register function
Section 1-12

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-mc221Cs1w-mc221-v1Cs1w-mc421Cs1w-mc421-v1

Table of Contents