Program For Reading Current Abs Value Using Abs Instruction - Mitsubishi MELSEC-F FX3U Series User Manual

Hide thumbs Also See for MELSEC-F FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series PLC User's Manual - Positioning Control Edition
3U
3UC
Built-in Positioning Function
12.5

Program for Reading Current ABS Value Using ABS Instruction

1) Program for storing ABS data in current value registers specified by positioning instruction for Y000
(pulse output destination)
M8000
RUN
monitor
2) Program for storing ABS data in current value registers of FX
M8000
RUN
monitor
ABS data
reading is
completed.
ABS data
reading is
completed.
Caution:
*1.
The ABS data will be read out as a pulse coverted value. For this reason, be sure to specify "motor
system" when setting parameters (BFM #3) for FX
*2.
When writing the ABS data into FX
#39) to store the converted pulse data.
B - 152
S•
D
1
FNC155
X031
Y021
DABS
ABS(bit0) Servo-ON
signal
M1
ABS data reading completed
T0
Read time error detected
M8029
SET
"Execution
completion" flag
S•
D
1
FNC155
X031
Y021
DABS
ABS(bit0) Servo-ON
signal
M1
ABS data reading completed
T0
Read time error detected
M8029
SET
"Execution
completion" flag
M1
FNC12
D100
DMOV
M1
FNC12
D100
DMOV
12.5 Program for Reading Current ABS Value Using ABS Instruction
D
2
Reads out the ABS data to current value registers
D8340
D8341 and D8340.
K50
T0
Read time limit (5 sec)
M2
ABS data read error
ABS data reading is completed.
M 1
2N
D
2
Reads out the ABS data to the D101 and D100.
D100
K50
T0
Read time limit (5 sec)
M2
ABS data read error
ABS data reading is completed.
M 1
Writes data in current value registers #27 and #26 of
U \G26
FX
-1PG. *1
2N
Block No.
BFM#26(#27)
Writes data (data converted into pulse data) in current
U \G39
value registers #40 and #39 of FX
Block No.
BFM#39(#40)
-1PG(-E).
2N
-10PG, be sure to use the current value registers (BFM #40, BFM
2N
12 Examples of Programs
-1PG(-E) or FX
-10PG
2N
-10PG. *2
2N

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-f fx3uc series

Table of Contents