EasyManuals Logo

Siemens MCP 398C Function Manual

Siemens MCP 398C
2184 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 #1468 background imageLoading...
Page #1468 background image
Detailed description
2.12 Block descriptions
Basic logic functions: PLC basic program solution line (P3 sl)
194 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
2.12.16 FC 9: ASUB startup of asynchronous subprograms
Description of functions
The FC ASUB can be used to trigger any functions in the NC. Before an ASUB can be
started from the PLC, it must have been selected and parameterized by an NC program or
by FB 4 (PI service ASUB). The channel and interrupt number must tally with the parameters
in FC 9.
An ASUB prepared in this way can be started by the PLC at any point in time. The NC
program running on the channel in question is interrupted by the asynchronous subprogram.
Only one ASUB can be started in the same channel at a time. If the start parameter is set to
logical 1 for two FC 9s within one PLC cycle, the ASUBs are started in the sequence in
which they are called.
The start parameter must be set to logic 0 by the user once the ASUB has been terminated
(Done) or if an error has occurred.
For the purpose of job processing, every FC ASUB requires its own WORD parameter "Ref"
from the global user memory area. This parameter is for internal use only and must not be
changed by the user. The parameter Ref is initialized with the value 0 in the first OB 1 cycle
and, for this reason, every FC 9 must be called absolutely. Alternatively, the user can
initialize parameter "Ref" with a value of 0 during startup. This option makes conditional calls
possible. When a conditional call is activated by parameter "Start" = 1, it must remain active
until parameter "Done" has made the transition from 1 to 0.
Note
The FB 4 call must be terminated before the FC 9 can be started. FC 9 cannot be started if
"Emergency off" is set. Neither can FC 9 be started if the channel reset is active.

Table of Contents

Other manuals for Siemens MCP 398C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens MCP 398C and is the answer not in the manual?

Siemens MCP 398C Specifications

General IconGeneral
BrandSiemens
ModelMCP 398C
CategoryControl Systems
LanguageEnglish

Related product manuals