EasyManuals Logo
Home>Siemens>Control Unit>SINUMERIK

Siemens SINUMERIK Commissioning Manual

Siemens SINUMERIK
736 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #120 background imageLoading...
Page #120 background image
Programming PLC Functions
4.1 Activating the data transfer between the PLC and NCK
HMI Advanced (IM4)
114 Commissioning Manual, 03/2009, 6FC5397-0DP10-3BA0
References:
Operating Manual HMI-Advanced
Function Manual Basic Functions: Various NC/PLC interface signals and functions (A2)
Job processing
A PLC job is processed according to the following scheme:
The PLC may only initiate a job in the job byte if the acknowledgment byte is 0.
The HMI mirrors the job (excluding the parameter set) in the acknowledgment byte
(signaling to the PLC that its job is being processed). The PLC receives a "job active"
signal for an unfinished job.
Once the operation is finished (without error or with error), the PLC must respond again
and delete the job byte.
The HMI then sets the acknowledgement byte to 0. This ensures a sequential procedure.
User control file
The names of the job lists to be executed are stored in control file PLC_IN_OUT_xxx.TEA in
the display machine data directory (/BD.DIR) on the HMI (= PCU hard disk), where "xxx"
represents a number between 001 and 127. The file contains a maximum of 127 references
to job lists. Users should create the control file.
The PLC sets an index (1 - 127) via DB19.DBB16, which determines the control file in which
the job list names are stored:
Example: User control file PLC_IN_OUT_003.TEA
N1 /WKS.DIR/OTTO.WPD/OTTO.JOB
N2 /WKS.DIR/WELLE.WPD/KANAL1.JOB
N3 ...
N4 ...
The line numbers N... can be omitted. The file can be edited.
Example: Loading a job list
Existing file PLC_IN_OUT_003.TEA with the following entries:
N1 job list A
N2 job list B
N3 job list C
Acknowledgement byte DB19.DBB26=0
Defining the PLC index for the control file (DB 19.DBB16=131)
Defining the PLC line offset 2 (DB 19.DBB17=2)
PLC job: Loading (DB 19.DBB13.6=1)
Job list B is loaded
HMI signals to the PLC: Job list is loaded (DB19.DBB26.6=1)

Table of Contents

Other manuals for Siemens SINUMERIK

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK and is the answer not in the manual?

Siemens SINUMERIK Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK
CategoryControl Unit
LanguageEnglish

Related product manuals