The leader in industrial automation and control solutions

Instruction Parameters

Supported PLC Series

PLC-AESPLC-FBPLC-ES

Supported Positioning Modules

PLC-ES Series
PLC-ES0808P
PLC-ES1616P
MOD-SPOS02

Supported Data Registers

MXYKLFTCSZRQD@DConstant
Base/Slot
S
D

Supported Flags

FlagBitSupport
ErrorF11.0
ZeroF11.1
CarryF11.2

Number of Steps

Steps
4

Operands

OperandDescription
Base/SlotThe first operand.
Entries are Hexadecimal data registers or constants.
This is the base and slot number where the positioning module is located.

This location depends on the amount of expansion modules the chassis contains.
If the CPU supports positioning, refer below.
SThe second operand.
Entries are WORD data registers or constants.
This is where the control data is stored.

For value ranges, refer below.
DThe third operand.
Entries are only WORD data registers.
This is where the result of the operation status is stored.

Assignment Example

The following example shows how to assign values to Base/Slot.

Module/Slot (PLC-AES/ES)

ModuleSlotExample
CPUSlot 0H0000 or 0
1st ExpansionSlot 1H0001 or 1
5th ExpansionSlot 5H0005 or 5
10th ExpansionSlot 10H000A
15th ExpansionSlot 15H000F

PLC-ES CPU

If the CPU module is a PLC-AES or PLC-ES CPU, assign H0000 to Base/Slot.

S

Control DataPLC-ES0808PPLC-ES1616P
MOD-SP02POS
Positioning Data Number1 ~ 301 ~ 30
Machine Original Point Return (OPR)9001
Fast Original Point Return (OPR)9002
Change Current Coordinate Value
Start Multiple Axes Simultaneously

D Data Register Result

Result TypeBitsDescription
Error CodeH00No error
Error CodeH01Command not found
Error CodeH10Incorrect positioning control data
Error CodeH80Axis error
Error CodeHFFInstruction not supported
Operation StatusBit 01 when the instruction executes
Operation StatusBit 11 when instruction execution finishes
Operation StatusBit 21 when an error occurs
Simultaneously sets with Bit 1
Operation StatusBit 3 ~ 7Reserved

Notice

Error Flag (F11.0) Notice

The error flag, F11.0, will be ON for one scan when the address of the data register assigned by @D exceeds the range of the data register, D. The range of the data register, D, is dependent on the CPU type.

Execution Condition

It is recommended that the PSTRT1 and PSTRT2 instructions be used with a pulse contact as an execution condition.

Instruction Usage

PSTRT1 controls the X axis. PSTRT2 controls the Y axis.

Ladder Diagram Examples

PSTRT1

The PSTRT1 instruction controls the motion of the X-axis on the positioning module, Base/Slot. The control data, S, defines the control motion of the

The PSTRT1 instruction controls the motion of the X-axis on the positioning module, Base/Slot. The control data, S, defines the control motion of the X-axis and saves the operation status in the assigned WORD data register, D.

When the contact, M0.0, is powered ON (1), the PSTRT1 instruction controls the X-axis' motion.

When the contact, M0.0, is powered ON (1), the PSTRT1 instruction controls the X-axis’ motion. The operation result is saved in the data register, D30.

Ladder Diagram Example for MapleLogic PSTRT1/PSTRT2 instruction.

Memory Monitor

Memory Monitor for MapleLogic PSTRT1/PSTRT2 instruction.

Program Monitor

Program Monitor for MapleLogic PSTRT1/PSTRT2 instruction.

PSTRT2

The PSTRT2 instruction controls the motion of the Y-axis on the positioning module, Base/Slot. The control data, S, defines the control motion of the

The PSTRT2 instruction controls the motion of the Y-axis on the positioning module, Base/Slot. The control data, S, defines the control motion of the Y-axis and saves the operation status in the assigned WORD data register, D.

When the contact, M0.0, is powered ON (1), the PSTRT2 instruction controls the Y-axis' motion.

When the contact, M0.0, is powered ON (1), the PSTRT2 instruction controls the Y-axis’ motion. The operation result is saved in the data register, D40.

Ladder Diagram Example for MapleLogic PSTRT1/PSTRT2 instruction.

Memory Monitor

Memory Monitor for MapleLogic PSTRT1/PSTRT2 instruction.

Program Monitor

Program Monitor for MapleLogic PSTRT1/PSTRT2 instruction.