EasyManua.ls Logo

Mitsubishi Electric A173UHCPU - Page 117

Mitsubishi Electric A173UHCPU
389 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5. SEQUENCE PROGRAMS AND SFC PROGRAMS
5 7
[Error Details]
(1) In the following cases an operation error occurs and the CHGA instruction is
not executed.
When the setting for (D) is other than J1 to J32.
(2) In the following cases, a minor error (error on control change) occurs and the
current value change is not executed.
When this happens, the error detection flag (M2407+20n) is turned ON and the
error code is stored in the minor error code area for the relevant axis.
When the axis designated in (D) for the current value change is in motion.
[Program Example]
The program shown below changes the current value for axis 2.
(1) Conditions
1) Current value change command ................... Leading edge (OFFON) of
X000
2) Current value change execution flag............. M0
3) Axis 2 start accept flag
(used to determine whether axis 2 is stopped
or in motion)................................................... M2002 (axis 2 start accept flag)
(2) Program example
CIRCUIT END
Axis 2 current value change execution
request.
M0 turned OFF.
0
2
X000
SET
RST
M0
M0
CHGA 50
K
J2
M0 M2002
Start accept flag
When X000 comes ON, M0 is turned ON.

Table of Contents

Other manuals for Mitsubishi Electric A173UHCPU

Related product manuals