Mitsubishi Electronics FX2C Home Theater Server User Manual


 
FX Series Programmable Controllers Basic Program Instructions 2
2-3
2.4 Load, Load Inverse
Program example:
Basic points to remember:
- Connect the LD and LDI instructions directl
y
to the left hand bus bar.
- Or use LD and LDI instructions to define a new block of pro
g
ram when usin
g
the ORB
and ANB instructions (see later sections).
Mnemonic Function Format Devices Program steps
LD
(LoaD)
Initial lo
g
ical
operation contact
t
y
pe NO
(normall
y
open)
X, Y, M, S, T, C 1
LDI
(LoaD Inverse)
Initial lo
g
ical
operation contact
t
y
pe NC
(normall
y
closed)
X, Y, M, S, T, C 1
X0
Y0
X1
M100
T0
T0
Y1
K19
LDI
K
X
Y
X
M
T
K
T
Y
LD
OUT
LDI
OUT
OUT
SP
LD
OUT
0
1
2
3
4
7
8
0
0
1
100
0
19
0
1
When using hand held
programmers, the space key
needs to be pressed to enable
the constant to be entered.
The OUT instruction:
For details of the OUT instruction (includin
g
basic timer and counter variations)
please see over the followin
g
pa
g
e.