6-6
Automatic Programming
This section describes "automatic programming", which generates safety programs based on required
specifications for the safety system using the Sysmac Studio.
WARNING
Programs generated by the automatic programming do not guarantee
functional safety
. Before you perform validation test of the safety pro-
grams, complete debugging of the safety programs.
Otherwise, the Safety CPU Unit will start with safety programs that are
not fully debugged, and may cause serious personal injury
.
6-6-1
Generation Algorithms for Automatic Programming
When a program is generated by executing the automatic programming function, the Sysmac Studio
generates a safety program in the following steps:
• Reset Signal Generation
•
Input Signal Generation
• Generation of Logical Operation Circuit
• Output Signal Generation
l
Reset Signal Generation
The automatic programming function creates a function block that generates a reset signal on the
first network.
When a variable set in the Basic Settings on the Automatic Programming Settings Tab Page
changes to FALSE after staying TRUE for a certain period of time, the reset signal detects the
change of the variable and is set to TRUE for only one cycle. The default pulse width is set to 350
ms.
The generated reset signal here is used as a reset signal of the safety function block when an input
signal is generated.
1
Reset_S2
t#350ms
Reset
ResetPulseWidth
ResetSignal_O
ut Reset_S2_Out
OC_ResetSignal
OC_ResetSignal_0
l
Input Signal Generation
This step creates the function block that is defined in Input Settings on the Automatic Program-
ming Settings Tab Page.
The variable name specified in Input Settings in the Automatic Programming Settings T
ab Page is
used for input variables for the function block. In addition, the output variable of the function block
is automatically named as an internal variable, and is used as an input signal when a logical opera-
tion circuit is generated.
6 Programming
6 - 68
NX-series Safety Control Unit User's Manual (Z930)