Programming The Plc; General Information About The Plc Program; Introduction; Execution Structure - Siemens SINUMERIK 840D sl Configuration Manual

Sinumerik step 7 toolbox v14 sp1
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Programming the PLC

3.1

General information about the PLC program

3.1.1

Introduction

The PLC program is constructed modularly. It comprises the two parts:
● PLC basic program
The PLC basic program organizes the exchange of signals and data between the PLC
user program and the NCK, HMI, and machine control panel components. The PLC basic
program is part of the SINUMERIK STEP 7 Toolbox V14 SP1.
Use the appropriate PLC basic program depending on the firmware version of an NCU.
– SINUMERIK 840D sl PLC basic program V4.5.x.x
– SINUMERIK 840D sl PLC basic program V4.7.x.x
– SINUMERIK 840D sl PLC basic program V4.8.x.x
● PLC user program
The PLC user program is the user-specific part of the PLC program by which the PLC
basic program has been augmented or extended.
3.1.2

Execution structure

Overview
The following organization blocks contain the entry points for the appropriate parts of the
PLC basic program (and user program):
● OB100 [OB100] (Cold restart)
● OB1 [OB1] (Cyclic execution)
● OB40 [OB40] (Process interrupt)
● Asynchronous errors
– OB82 [OB82] (Diagnostics alarm)
– OB86 [OB86] (Module failure)
The RUN_UP [FB1] function block is the startup block of the PLC basic program. The call of
RUN_UP [FB1] in the OB100 [OB100] must be supplied with data.
SINUMERIK STEP 7 Toolbox V14 SP1
Configuration Manual, 05/2017
3
45

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents