Startup, Installation; Block Descriptions; Fb1: Run_Up - Basic Program, Start Section - Siemens SINUMERIK 840D sl Function Manual

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

P3: Basic PLC program for SINUMERIK 840D sl

13.17 Block descriptions

13.16.2.3

Startup, installation

The Windows application "NC Var selector" is installed using the SETUP program supplied
with the package.
13.17
Block descriptions
13.17.1

FB1: RUN_UP - basic program, start section

Function
The synchronization of NC and PLC is performed during startup. The data blocks for the NC/
PLC user interface are created based on the NC configuration defined via machine data and
the basic program parameters are verified for plausibility. In the event of an error, FB1 passes
an error identifier to the diagnostic buffer and switches the PLC to the stop state.
"Restart" start-up mode
The integrated PLC only supports the start-up mode "Restart". After the basic system
initialization, the organization block OB100 "Restart" is always run through first, followed by
OB1 "Cyclic mode".
Input parameters
For parameterizing the basic program, only the respective relevant parameters of the function
block FB1 must be written with user-specific values. The preset values in the instance data
block DB7 of the FB1 do not need to be assigned. The function block FB1 must only be called
in the organization block OB100.
Output parameters
The output parameters of function block FB1 can also be read from the cyclical part of the
basic program. Two options are available for this purpose:
1. Direct access to the instance data block DB7 of FB1 in symbolic form.
Example: "L gp_par.MaxChan", with "gp_par" as the symbolic name of DB7
2. A bit memory is assigned to an output parameter when FB1 is parameterized. The bit
memory is then read in the basic program in order to determine the value of the output
parameter.
Example: "MaxChan":= MW 20
Note
For assigning the FB1 parameters for MCP and BHG, see "Configuration machine control
panel, handheld unit, direct keys (Page 867) ".
914
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents