- 11 -
Chapter 2. MC Programming
Table 2.2 List of MC program variable functions
Division
Variable
Function
Amount
Example of use
Data
classifica
tion
P variable
Used to designate
2-dimensional
position
data
Input range:
-2,147,483,648 ~ 2,147,483,647
P0 ~ P99
MOV P0, IMOV P1, SET2 P99, ..
F variable
Used to designate velocity data
F0 ~ F9
VEL 0, VEL 1, VEL 2, ~ VEL 9
D(E)
variable
Used to designate dwell data
Used to designate acceleration time data
Used to designate deceleration time data
-------------------------
Used as comparison data in a comparing
condition sentence
Used as manipulation data in a variable
manipulation sentence
Used to designate position data indirectly
D0 ~ D9
(E0 ~ E9)
DWL 0, DWL 1, DWL 2, ~ DWL 9
A0, A1, A2, ~ A9
D0, D1, D2, ~ D9
IF E8 .LT E9 LB1
E0=E8-E9
MOV PE0
L variable
Used to designate position data
Used to designate velocity data
Used to designate dwell data
Used to designate acceleration time data
Used to designate deceleration time data
Used as comparison data in a comparing
condition sentence
Used as manipulation data in a variable
manipulation sentence
Used to designate data indirectly
L0~ L1999
MOV L0 L1,IMOV L0 L1,
SET2 L1998 L1999, ..
VEL L0, VEL L1, ~ VEL L1999
DWL L0, DWL L1, ~ DWL L1999
A L0, A L1, A L2, ~ A L1999
D L0, D L1, D L2, ~ D L1999
IF L0 .LT L1999 LB1
L0=L0-L1999
MOV PL0, MOV LL0 LL1, VEL LL0, ..
Table 2.3 List of MC program contact functions
Division
Variable
Function
Amount
Example of use
Contact
classifica
tion
X contact
XP2 Main unit input contact
XA2 Main unit input contact
Extended No.1 unit input contact(MCU-E)
Extended No.1 unit input contact(MCU-L)
Extended No.2 unit input contact(MCU-E)
Extended No.2 unit input contact(MCU-L)
X0.0~X1.5
X0.0~X0.F
X2.0~X3.3
X3.4~X3.F
X4.0~X5.3
X5.4~X5.F
IIN0 X0.0, ~ IIN0 X0.F
IIN1 X0.0, ~ IIN1 X0.F
IN0 X0.0, ~ IN0 X5.F
IN1 X0.0, ~ IN1 X5.F
IN0 X0.0 LB1, ~ IN0 X5.F LB16
IN1 X0.0 AA1, ~ IN1 X5.F AA16
Y contact
XP2 Main unit output contact
XA2 Main unit output contact
Extended No.1 unit output contact(MCU-E)
Extended No.1 unit output contact(MCU-L)
Extended No.2 unit output contact(MCU-E)
Extended No.2 unit output contact(MCU-L)
Y0.0~Y0.C
Y0.0~Y0.A
Y1.0~Y1.D
Y1.E~Y2.7
Y3.0~Y3.D
Y3.E~Y4.7
IN0 Y0.0, ~ IN0 Y4.F
IN1 Y0.0, ~ IN1 Y4.F
IN0 Y0.0 LB1, ~ IN0 Y4.F LB16
IN1 Y0.0 AA1, ~ IN1 Y4.F AA16
OUT0 Y0.0, ~ OUT0 Y4.7
OUT1 Y0.0, ~ OUT1 Y4.7
M contact
Internal auxiliary contact
(used for control interlocked with a PLC
program)
M0.0
~M199.F
IN0 M0.0, ~ IN0 M199.F
IN1 M0.0, ~ IN0 M199.F
IN0 M0.0 LB1,~IN0 M199.F LB16
IN1 M0.0 AA1,~IN1 M199.F AA16
OUT0 M0.0, ~ OUT0 M199.F
OUT1 M0.0, ~ OUT1 M199.F
[Caution] : Do not use an area of M contacts reserved for an MC program contact.
- M50.0 ~ M79.F: MC output (MC PLC) flag contact area
- M80.0 ~ M99.F: MC input (PLC MC) flag contact area
Summary of Contents for MCU 2 Axis
Page 1: ...User s Manual 2 AXES...