The function block memory unit stores a plurality of function blocks by
programming each ladder circuit for computing output signals which has to
be determined based on input signals from each safety device according to
a connection specification of the safety device. The ladder circuit
satisfies a predetermined safety standard, and thus, the function blocks
satisfying the safety standard are used. The program link unit
sequentially links each function block received from the function block
memory unit based on the ID number of each I/O module to automatically
create the safety program. The corresponding function block can be
uniquely determined based on the ID number.