Siemens SINUMERIK Commissioning Manual page 120

Sinumerik 840di sl/840d sl/840dbase software and hmi advanced
Hide thumbs Also See for SINUMERIK:
Table of Contents

Advertisement

Programming PLC Functions
4.1 Activating the data transfer between the PLC and NCK
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
● Once the operation is finished (without error or with error), the PLC must respond again
● 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
● Example: Loading a job list
114
(signaling to the PLC that its job is being processed). The PLC receives a "job active"
signal for an unfinished job.
and delete the job byte.
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.
– 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)
Commissioning Manual, 03/2009, 6FC5397-0DP10-3BA0
HMI Advanced (IM4)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents