Preselect/start asynchronous subprogram (ASUP) via PLC.
An ASUP to be started must be assigned to an interrupt via FB4. It can then be started for specific channels by setting the interrupt via FC9.
In the PLC program attached (FB58), up to eight ASUPS are assigned to the interrupts 1 to 8 (Default: Asup1.spf to Asup8.spf as user cycles – the program name can be changed in the Instance DB of the FB58). One ASUP each can be started in channel 1 and channel 2 by entering the interrupt no.
The download file comprises the corresponding PLC blocks (in source format resp. as archived S7 project with 8xd-GP6.4) and NC data (NC archive for simulator and ASUP programs.).
Asup_PLC.zip ( 245 KB )