Positioning User Manual
32
1.8
Positioning Instruction
1.8.1
PSTRTn (n = 1
~
2)
This command executes the positioning data assigned as ‘n2’ of the positioning module assigned as ‘n1.’
a)
n1 (Positioning Module Slot number)
Must be zero (0) for PLC-S since the CPU module is in the 0th slot.
b)
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
c)
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.’