Program For Reading Current Abs Value Using Abs Instruction - Mitsubishi FX3G Series User Manual

Melsec-f, positioning control edition, main unit/sink output/source output, line driver output
Hide thumbs Also See for FX3G Series:
Table of Contents

Advertisement

FX
/FX
/FX
PLC User's Manual - Positioning Control Edition
3G
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
2) Program for storing ABS data in the current value registers of the 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 converted value. For this reason, be sure to specify "motor
system" when setting parameters (BFM #3) for the FX
*2.
When writing the ABS data to the FX
BFM #39) to store the converted pulse data.
B - 166
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 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
Reads out the ABS data to D101 and D100.
D100
K50
T0
Read time limit (5 sec)
M2
ABS data read error
ABS data reading is complete.
M 1
Writes data in current value registers #27 and #26 of the
U \G26
FX
-1PG.
2N
Block No.
BFM#26(#27)
Writes data (data converted into pulse data) to the
U \G39
current value registers #40 and #39 of the FX
Block No.
BFM#39(#40)
-1PG(-E).
2N
-10PG, be sure to use the current value registers (BFM #40,
2N
12 Examples of Programs
-1PG(-E) or FX
2N
2N
*1
-10PG
*2
-10PG.
2N

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc seriesFx3u-2hsy-adp

Table of Contents