421
G-language Commands
Section 7-3
7-3-21 G63: SUBSTITUTION
Substitutes position data and registers.
Format
G63_<first term = second term >
Operands
The following table shows the possible settings for the operands.
Description
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:
–39,999,999 to +39,999,999
When the first term is a register:
0000 to 1999
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.
Programming Example
The following example shows substituting 123.45 for A1000
.
:
:
N010
G63
A1000=123.45
:
:
7-3-22 G69: CHANGE PARAMETER
Changes the setting of the specified parameter.
Format
G69_<#parameter type>/<new setting ... >
Operands
The following table shows the possible settings for the operands.
Description
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.
Operand
Possible settings
First term
A0000 to A1999
E00 to E31
Second term
A0000 to A1999
E00 to E31
±
39,999,999
X, Y, Z, U
Operand
Possible settings
Parameter type
1 to 8
New setting
Axis names
X, Y, Z, U
New setting
Refer to the ranges below for each parameter.
(E00) to (E31)
A0000 to A1999
Parameter type
Parameter
Setting range
#1
Acceleration time
0 to 100,000 (ms)
#2
Deceleration time
0 to 100,000 (ms)
#3
Interpolation acceleration time
0 to 100,000 (ms)
Содержание CS1W-MC221 -
Страница 1: ...Motion Control Units Cat No W359 E1 04 CS1W MC221 V1 421 V1 OPERATION MANUAL ...
Страница 2: ...CS1W MC221 V1 421 V1 Motion Control Units Operation Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 11: ...xii ...
Страница 15: ...xvi ...
Страница 19: ...xx ...
Страница 27: ...xxviii Conformance to EC Directives 6 ...
Страница 133: ...106 Installation Section 2 2 2 2 4 Dimensions CS1W MC421 CS1W MC221 ...
Страница 173: ...146 Connecting Peripheral Devices Section 2 7 ...
Страница 227: ...200 Command Area Section 3 6 ...
Страница 351: ...324 Interface Specifics Section 5 4 ...
Страница 513: ...486 Absolute Encoder Interface Specifications Section 9 7 ...
Страница 575: ...548 Error Log Section 12 6 ...
Страница 589: ...562 Performance Appendix A ...
Страница 655: ...628 Control Bit Flag Timing Charts Appendix E ...
Страница 683: ...656 Origin Search Patterns Appendix F ...
Страница 685: ...658 Encoder Divider Rate and Rotation Speed for OMRON Servo Drivers Appendix G ...