Mitsubishi Electronics FX0S ユーザーズマニュアル

ページ / 382
FX Series Programmable Controlers
Applied Instructions 5
5-67
5.7.1
IST (FNC 60)
Operation:
This instruction automatically sets up a multi-mode
STL operating system. This consists of variations
of ‘manual’ and ‘automatic’ operation modes.
Points to note:
a) The IST instruction automatically assigns
and uses many bit flags and word devices;
these are listed in the boxed column on the
right of this page.
b) The IST instruction may only be used
ONCE.
It should be  programmed clos e to the
be gi n n i ng   o f   t h e   p r og r a m ,   b e f o r e  t h e
controlled STL circuits.
c) The required operation mode is selected by
d r i v i n g   t h e   d e v i c e s   a s s o c i a t e d   w i t h
operands
S+0through to S+4(5 inputs). None of the
devices within this range should be ON at
the same time. It is recommended that these
‘inputs’ are selected through use of a rotary
switch.
If the currently selected operating mode is
changed before the ‘zero return complete’
flag (M8043) is set, all outputs will be turned
OFF.
d) The ‘zero position’ is a term used to identify
a datum position from where the controlled
device, starts from and returns too after it
has completed its task. Hence, the operating
mode ‘zero return’, causes the controlled
system to return to this datum.
Mnemonic
Function 
Operands
Program steps
S
1
S
2
S
3
IST
FNC 60
(
Initial 
state)
Automatically sets
up a multi-mode
STL operating
system
X, Y, M, S,
Note:
uses 8 
consecutive devices
S,
Note:
FX
users S20 to S63
FX0N users S20 to S127
FX users S20 to S899
D1must be lower than D2
IST:
7 steps
FX
0(S)
FX
0N
FX FX
(2C)
FX
2N(C)
FX
(2C)
FX
FX
2N(C)
FX
0N
FX
0(s)
PULSE-P
FX
(2C)
FX
FX
2N(C)
FX
0N
FX
0(s)
16 BIT OPERATION
FX
FX
0N
FX
0(s)
FX
(2C)
FX
2N(C)
32 BIT OPERATION
M8000
S20
X20
S40
IST
[ S ] [ D1 ] [ D2 ]
Assigned devices
Indirect user selected devices:
S
+0 
Manual operation
S
+1 
Zero return
S
+2 
Step operation
S
+3 
One cycle operation
S
+4 
Cyclic operation
S
+5 
Zero return start
S
+6 
Automatic operation start
S
+7 
Stop
Initial states:
S0 initiates ‘manual’ operation
S1 initiates ‘zero return’ operation
S2 initiates ‘automatic’ operation
General states:
S10 to S19 ‘zero return’ sequence
D
to D
‘automatic return’ sequence
Special bit flags:
M8040 = ON STL state transfer is inhibited
M8041 = ON initial states are enabled
M8042 = Start pulse given by start input
M8043 = ON zero return completed
M8044 = ON machine zero detected
M8047 = ON STL monitor enabled
The ‘zero’ position is sometimes also referred to as a home position, safe position, neutral
position or a datum position.