Program For Reading Current Abs Value Using Abs Instruction - Mitsubishi Electric Melsec-F FX3GC Series User Manual

Hide thumbs Also See for Melsec-F FX3GC Series:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
/FX
3S
3G
3GC
3U
3UC
Built-in Positioning Functions
12.5

Program for Reading Current ABS Value Using ABS Instruction

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

Advertisement

Table of Contents
loading

Table of Contents