7. APPLICATION INSTRUCTIONS
7
−
140
MELSEC-A
7.11.1 Servo program start (DSFRP)
Available Device
Bit device
Word (16-bit) device
Constant
Pointer
Level
Ca
rr
y
fla
g
Err
o
r
fla
g
X Y M L S B F T C D W R A0
A1
Z V K H P I N
D
igit specification
Inde
x
M9012 (M9010, M9011)
(D)
O
n
O
O
O
Functions
(1) Servo program start request is executed after the DSFRP instruction execution
command was turned ON, and the start enable flag (M200n) which corresponds
to the axis to be started is set.
(2) Servo program number for which start request is executed is specified by "n".
There are 2 ways of setting of servo program number; direct setting and indirect
setting.
1) Direct setting
Servo program number is set directly with numerals (0 to 4095).
Example
To set servo program number 50, set "K50" for "n".
2) Indirect setting
Servo program number is set with content of data register.
Example
To set servo program number to be started with data in data register D50, set
"K30050" for "n".
AnS
AnN
AnSH
An A1FX
A3H
A3M
A3V AnA
AnU, A2AS
A2USH-S1
A2USH board
QCPU-A
(A Mode)
A0J2H
A2C
A52G
A73
A3N
board
Applicable
CPU
X X X X X X
X
X X O X
Remark
Execution command
DSFRP (D) n
(D)
Axis number to be started
n
Servo program number to
be executed
Setting data
Data register number (000 to 799)
⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅
Always use 3 digits.
Example:
50
⋅⋅⋅
050
Data register: Set K30.
is specified.
K30050
D50
Содержание MELSEC-A series
Страница 1: ......
Страница 2: ......
Страница 13: ...A 11 MEMO...
Страница 505: ...APPENDICES APP 100 MELSEC A MEMO...
Страница 507: ......
Страница 508: ......