PSTRTn (n=1 ∼ 2)

 

image-20240326-073913.png

 

This command executes the positioning data assigned as ‘n2’ of the positioning module assigned as ‘n1.’

n1 (Positioning Module Slot number)
Must be zero (0) for PLC-S since the CPU module is in the 0th slot.

n2 (Positioning Data number)
Type in the desired positioning data number to be executed.
1~30: Positioning data number
9001: OPR
9002: High speed OPR

n3 (Result flag)
Device memory in which an error code (if it exists) and result flag are to be written.
It must be a word device. (For example, M0100).
Upper Byte: Error code
Lower Byte: Command processing status
Bit 0: Processing the command
Bit 1: The command is processed completely
Bit 2: Command processing error
Bit 3~7: Reserved
*Refer to the section 1.11.1 'Positioning Example Using Scan Program.'