Status And Error Codes - Mitsubishi Electric FX-1PG User Manual

Pulse generator unit
Table of Contents

Advertisement

FX-1PG/FX
-1PG PULSE GENERATOR UNIT
2N
5
5.6

Status and Error Codes

The status information to notify the PC of the PGU status
is automatically saved in the BFM #28. Read it into the
PC using the FROM instruction.
[ BFM #28] Status information (b0 to b8)
[b0] When b0 = 0: BUSY
When b0 = 1: READY
This bit is set to BUSY while the PGU is
generating pulses.
[b1] When b1 = 0: Reverse rotation
When b1 = 1: Forward rotation
This bit is set to 1 when operation is started
with forward pulse.
[b2] When b2 = 0: Home position return unexecuted
When b2 = 1: Home position return completed
When returning to the home position is
completed, b2 is set to 1, and continues to be 1
until the power is turned off. To reset b2, use
the program.
[ In the FX-1PG manufactured in November,
1996 or later (Serial No. 3Y**** or later), b2 can
be reset by the program.
In every FX2N-1PG, b2 can be reset by the
program. ]
Connect b2 in series to the start command.
(Program example to reset b2)
Write "K0" to the BFM #28 (status information)
using the TO (P) instruction.
By this program, b2 (home position return
completed) only in the BFM #28 is reset and
rewritten to 0.
"Home position
return completed"
bit reset input
TO
P
K 0
K 28
BLK No. BFM No. Written
[b3] When b3 = 0: STOP input OFF
When b3 = 1: STOP input ON
[b4] When b4 = 0: DOG input OFF
When b4 = 1: DOG input ON
[b5] When b5 = 0: PG0 input OFF
When b5 = 1: PG0 input ON
Any of them represents the ON/OFF status of
the PGU input as it is.
[b6] When b6 = 1: Current position value overflow
The 32-bit data saved in the BFMs (#27 and
#26) has overflown. This bit is reset when
returning to the home position is completed or
the power is turned off.
[b7] When b7 = 1:Error flag
b7 becomes 1 when an error has occurred in
the PGU, and the contents of the error are
saved in the BFM #29.
This error flag is reset when the BFM #25 b0
becomes 1 or the power is turned off.
[b8] When b8 = 0: Positioning started
When b8 = 1: Positioning completed
b8 is cleared when positioning is started, and
set when positioning is completed.
b8 is also set when returning to the home
position is completed.
BFM LIST
K 0
K 1
Number of
value
transfer points
5-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx2n-1pg

Table of Contents