Chapter 7 Usage of Various Functions
7-94
4) Current position preset (POSPRS)
Available device
Flag
Instruction
M P K L F T C S D
#
D integer
No. of
steps
Error
(F110)
Zero
(F111)
Carry
(F112)
S ○
SV1
○ ○ ○ ○
○
○ ○
○
○ ○
○
5/7
○
S Channel designation(0~1)
Error
(F110)
Error flag turns on when designating area is over
SV1
Preset value designation
(-2,147,483,648 ~ 2,147,483,647)
■ POSPRS S SV1
(1) Functions
• Current address is changed to preset value at the rising edge of input condition.
(2) Example program
• When input condition M0000 turns on, Address of Ch.0 is changed to 100,000.
POSPRS Current position preset
Desi
g
nation
Fla
g
set