Current Value Change Instructions (Chga); Chga Instructions - Mitsubishi Electric A173UHCPU Programming Manual

Motion controller
Hide thumbs Also See for A173UHCPU:
Table of Contents

Advertisement

5. SEQUENCE PROGRAMS AND SFC PROGRAMS
5.3

Current Value Change Instructions (CHGA)

5.3.1

CHGA instructions

Bit Devices
X
Y
M
L
S
B
(D)
n
SEQUENCE PROGRAM
[Execution
condition]
Execution command
[Operation Timing]
These instructions are used to change the current value of a stopped axis.
Usable Devices
Word (16 Bit) Devices
F
T
C
D
W
R
A0 A1
!
!
!
CHGA
(1) The following processing is executed at the leading edge (OFF→ON) of the
CHGA instruction:
1) The start accept flag (M2001 to M2032) corresponding to the axis
designated in (D) is turned ON.
2) The current value of the axis designated in (D) is changed to the current
value designated in n.
3) On completion of the current value change, the start accept flag is turned
OFF.
Execution command
CHGA instruction
Start accept flag
Constants
Pointers Level
Z
V
K
H
P
I
!
!
(Note) : Possible with indirect setting only.
J + No. of current
(D)
value change axis
n
(D)
Setting
n
value to be changed
ON
OFF
5 − 5
Carry
M901
N
(Note)
7
!
Setting data
Setting range
J1 to J32
mm : -2147483648 to
inch : -2147483648 to
Direct
designation
of
current
deg : 0 to 35999999
PLS : -2147483648 to
D800 to D8191
Indirect
designation
Current value change
completion
Flag Error
Flag
M
M
2
9010
9011
!
!
2147483647
×10
-1
µ m
2147483647
×10
-5
inch
×10
-5
deg
2147483647 PLS
W0 to W1FFF
R0 to R8191

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

A273uhcpu

Table of Contents