- 8 -
Chapter 2. MC Programming
Division
Command
Function
Type
Example of use
Input/ou
tput
IN0
Execution of programs waiting until the
designated contact signal becomes‘0’
IN0 <input contact>
IN0 <output contact>
IN0 <auxiliary contact>
IN0 X0.0
IN0 Y0.0
IN0 M0.0
IN1
Execution of programs waiting until the
designated contact signal becomes‘1’
IN1 <input contact>
IN1 <output contact>
IN1 <auxiliary contact>
IN1 X0.0
IN1 Y0.0
IN1 M0.0
IIN0
Waiting until the designated input contact
signal becomes‘0’(used to check an input
contact at a high speed)
IIN0 <input contact>
IIN0 X0.0
IIN1
Waiting until the designated input contact
signal becomes‘1’(used to check an input
contact at a high speed)
IIN1 <input contact>
IIN1 X0.0
OUT0
Outputting‘0’to the designated contact (turn
OFF the designated contact and then execute the
next command)
OUT0 <output contact>
OUT0 <auxiliary contact>
OUT0 Y0.0
OUT0 M0.0
OUT1
Outputting‘1’to the designated contact (turn
ON the designated contact and then execute the
next command)
OUT1 <output contact>
OUT1 <auxiliary contact>
OUT1 Y0.0
OUT1 M0.0
Coordina
te
setting
SET
Coordinate system setting(absolute coordinate)
SET <position point>
SET <L variable> <L
variable>
SET P0
SET L0 L1
XSET
X-axis coordinate system setup(absolute
coordinate)
XSET <position point>
XSET <L variable> <L
variable>
XSET P0
XSET L0 L1
YSET
Y-axis coordinate system setup(absolute
coordinate)
YSET <position point>
YSET <L variable> <L
variable>
YSET P0
YSET L0 L1
SET2
Coordinate system setting(absolute, machine
coordinate)
SET2 <position point>
SET2 <L variable> <L
variable>
SET2 P0
SET2 L0 L1
XSET2
X-axis coordinate system setup(absolute,
machine coordinate)
XSET2 <position point>
XSET2 <L variable> <L
variable>
XSET2 P0
XSET2 L0 L1
YSET2
Y-axis coordinate system setup(absolute,
machine coordinate)
YSET2 <position point>
YSET2 <L variable> <L
variable>
YSET2 P0
YSET2 L0 L1
Velocity
setting
VEL
Movement velocity setting command
VEL <F variable number
(0~9)>
VEL <L variable>
VEL 0
VEL L0
XVEL
X-axis movement velocity command (Used for the
X-axis velocity command of the PTP and IPTP
movement command)
XVEL <F variable number
(0~9)>
XVEL <L variable>
XVEL 0
XVEL L0
YVEL
Y-axis movement velocity command (Used for the
Y-axis velocity command of the PTP and IPTP
movement command)
YVEL <F variable number
(0~9)>
YVEL <L variable>
YVEL 0
YVEL L0
A
Acceleration time setting command
A <D variable number(0~9)>
A <L variable>
A0
A L0
XA
X-axis acceleration time command (Used for the
X-axis acceleration time command of the PTP and
IPTP movement command)
XA <D variable number(0~9)>
XA <L variable>
XA 0
XA L0
YA
Y-axis acceleration time command (Used for the
Y-axis acceleration time command of the PTP and
IPTP movement command)
YA <D variable number(0~9)>
YA <L variable>
YA 0
YA L0
D
Deceleration time setting command
D <D variable number(0~9)>
D <L variable>
D0
D L0
XD
X-axis deceleration time command (Used for the
X-axis deceleration time command of the PTP and
IPTP movement command)
XD <D variable number(0~9)>
XD <L variable>
XD 0
XD L0
YD
Y-axis deceleration time command (Used for the
Y-axis deceleration time command of the PTP and
IPTP movement command)
YD <D variable number(0~9)>
YD <L variable>
YD 0
YD L0
Summary of Contents for MCU 2 Axis
Page 1: ...User s Manual 2 AXES...