G63: Substitution; G69: Change Parameter - Omron CS1W-MC221 - 02-2008 Operation Manual

Motion control units
Table of Contents

Advertisement

G-language Commands

7-3-21 G63: SUBSTITUTION

Format
Operands
Description
Programming Example

7-3-22 G69: CHANGE PARAMETER

Format
Operands
Description
Substitutes position data and registers.
G63_<first term = second term >
The following table shows the possible settings for the operands.
Operand
First term
A0000 to A1999
E00 to E31
Second term
A0000 to A1999
E00 to E31
39,999,999
X, Y, Z, U
This command copies position data, register contents, present values, or
numerical values into position data addresses or registers.
When the second term is an axis name, the present position of that axis in the
reference coordinate system is copied to the first term. That present position
is copied according to the pulse rate and minimum unit setting for that axis
specified in the system parameters. However, if the origin has not been fixed,
a position data range overflow will occur.
When the first term is a register, the value in the second term will be treated
as an integer. Non-integer values are rounded to the nearest integer.
A register range overflow will occur if the first term's data is not within the
acceptable range. The possible values for the first term are as follows:
When the first term is position data:
When the first term is a register:
Registers are cleared to zero only when the power is turned on, so be sure to
initialize the register contents when the program is started.
The following example shows substituting 123.45 for A1000.
:
:
N010
G63
A1000=123.45
:
:
Changes the setting of the specified parameter.
G69_<#parameter type>/<new setting ... >
The following table shows the possible settings for the operands.
Operand
Parameter type
New setting
Axis names
New setting
This command changes the setting of the specified parameter. The following
table shows the parameters that can be changed and the parameter type val-
ues used to identify them. Parameters #1 to #4 are feed rate parameters, and
#5 to #8 are servo parameters.
Parameter type
#1
Acceleration time
#2
Deceleration time
#3
Interpolation acceleration time
Possible settings
–39,999,999 to +39,999,999
0000 to 1999
Possible settings
1 to 8
X, Y, Z, U
Refer to the ranges below for each parameter.
(E00) to (E31)
A0000 to A1999
Parameter
Section 7-3
Setting range
0 to 100,000 (ms)
0 to 100,000 (ms)
0 to 100,000 (ms)
421

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents