Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
8-2
8.1 Positioning Function Dedicated Instruction
8.1.1 IPPSTRT instruction
IPPSTRT1, IPPSTRT2
8.1 Positioning Function Dedicated Instruction
8.1.1 IPPSTRT instruction
IPPSTRT1, IPPSTRT2
Function
This instruction specifies a data number to be executed for 'n' from the positioning data No. 1 to
No. 10 which are previously set in GX Works2, and starts the specified axis (refer to the
following).
IPPSTRT1(P): Axis 1
IPPSTRT2(P): Axis 2
Program Example
The following program starts the "Positioning Data" No. 1 of the Axis 1 when M0 turns ON.
[Structured ladder/FBD]
[ST]
IPPSTRT1(M0, 1);
IPPSTRT1(P)
IPPSTRT2(P)
P: Executing condition
:
indicates any of the following
instructions.
IPPSTRT1 IPPSTRT1P
IPPSTRT2 IPPSTRT2P
Input argument
EN:
Executing condition :Bit
n:
Positioning data number (Setting range: 1 to 10) :ANY16
Output argument
ENO:
Execution result :Bit
Setting
data
Internal device
R, ZR
J\
U\G
Zn Constant Others
Bit Word Bit Word
n

LCPU
ST
IPPSTRT1
EN ENO
n
IPPSTRT1
(EN, n);ENO:=
Structured ladder/FBD