8 PROGRAMMING
8.3 Programming Method (for FX5 CPU module)
113
8
8.3 Programming Method (for FX5 CPU module)
A sequential program is not required because a program for a safety control can be selected using a rotary switch.
When using safety control information in a general control program, use the buffer memory of an FX5-SF-MU4T5 where the
safety control information is stored.
Program example
The following shows a program example when using safety control information in a general control program.
■Buffer memory of an FX5-SF-MU4T5 used in the program example
■A program example that sets an interlock depending on the status of a safety control
■A program example that manages output status of a safety control with an annunciator
The following shows a program example for a general control that manages safety output status with an annunciator (F).
If the FX5-SF-MU4T5 detects a danger and any of the safety outputs are turned OFF, the annunciator number 5 turns ON in
the ladder program.
When all the safety outputs are turned ON, the annunciator number 5 is turned OFF.
When starting the safety extension module, a CPU module program may start before the safety outputs of FX5-SF-MU4T5
turn ON.
Add a wait processing program as necessary as shown in the above program example.
Buffer memory name Device Purpose Status when the device is ON
Input signals U1/G69.0 Module READY FX5-SF-MU4T5 initial processing is
completed.
U1/G69.1 Module Safety READY Safety control works properly.
U1/G69.F Error flag An error occurred.
1st Module Output signal and Internal
error
U1/G102.0 Output statuses from Q2 and Q3 on
an FX5-SF-MU4T5
Outputs from Q2 and Q3 are ON.
U1/G102.1 Output statuses from Q0 and Q1 on
an FX5-SF-MU4T5
Outputs from Q0 and Q1 are ON.