10.12 Program Example for Reading out Alarm Codes
The program example shown below reads out alarm codes stored in FRENIC-Multi station #1 into data register
D1.
Read out data link status of slave
stations
X0
Uni t failure
Write the “Read from the latest and
last alarm codes” command code
(H74) i nto RWw2
Turn command code execution
request (RYF) ON
X0F
X1
X20
BMOV SW80 K4M0 K4
MOV H74 W102
Unit
ready
Host station
being linked
Writing
ON
M302
PLS M300
M0
SET M301
M300
SET Y100F
RST Y100F
MOV W3 D1
RST M302
END
Turn command code execution
request (RYF) OFF
When the command code execution
completed signal (RXF) is turned ON,
read out alarm code (RWr3) and
response code (RWr2) into D1 and
D2, respecti vely
M301
X100F
Command code
execution
completed
RST M301
SET M302
X100F
Command code
execution
completed
MOV W2 D2
Figure 10.12 Program Example
10.13 Program Example for Resetting a Inverter Trip
The program example shown below resets a trip that has occurred in FRENIC-Multi station #1.
Read out data link status of slave
stations
㩷
X0
Unit failure
X0F
X01
Uni t
ready
Host station
being li nked
BMOV SW80 K4M0 K4
Y101A
Alarm
status flag
M0
Turn X20 from ON to OFF to reset
the trip
END
X101A
X20
Alarm
reset request ON
Figure 10.13 Program Example
38