PROGRAMMING EXAMPLES
33
6.2 Program Example for Reading the Inverter Status
Write a program as explained below to read the inverter status from the master station buffer memory:
The following program reads the inverter status of station 1 to M0-M7:
FROM 0000
H
00E0
H
D0 1
K
MOV D0 M0
X0000 X000F X0001
K2
Reads the remote input data of buffer
memory to D0.
Stores b0-b7 (status) in D0 to M0-M7.
RXF to RX0E0
H
0 0 0 1 1 0 1
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
D0
0
0 0 1 1 0 1
M7 M6 M5 M4 M3 M2 M1 M0
RX1F to RX10E1
H
15E
H
RX2F to RX20
RX3F to RX30
RX7EF to RX7E0
RX7FF to RX7F015F
H
E2
H
E3
H
Address of master
unit buffer memory
Station 1
Station 2
Station 64
Remote Input
Note:
: Indicates addresses of one inverter.
FROM
instruction
[RXF to RX8]
[Inverter status]
Up to
frequency
Running Forward
running
MOV instruction
Inverter status
Example: The above indicates up to
frequency during forward running.
M0: Forward running
M1: Reverse running
M2: Running (RUN)
M3: Up to frequency (SU)
M4: Overload (OL)
M5:
M6: Frequency detection (FU)
M7: Alarm
: 0 or 1 because of reserved bits
*
****
Inverter status
0
*
000
*