Siemens SINUMERIK MC Commissioning Manual page 80

Mcu commissioning: nc, plc, drive
Hide thumbs Also See for SINUMERIK MC:
Table of Contents

Advertisement

PLC commissioning
5.4 Creating a PLC program
SCL
END_IF;
Example 3 - as nested call without transfer of the output parameters
In this example "LBP_NCKProcessIRT [FC3]" is called nested over an own FC (e.g. hardware
interrupt [OB40] > MyProcessAlarmFC [FC30] > LBP_NCKProcessIRT [FC3]) without transfer
of the output flags.
Hardware interrupt OB, e.g. Hardware interrupt [OB40]:
SCL
//Call own FCs
"MyProcessAlarmFC"();
Own FC, e.g. MyProcessAlarmFC [FC30]:
SCL
//Call without output parameters
"LBP_NCKProcessIRT"(Flags=>NULL);
80
MCU commissioning: NC, PLC, Drive
Commissioning Manual, 02/2020, A5E47437618B AB

Advertisement

Table of Contents
loading

Table of Contents