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 #528 background imageLoading...
Page #528 background image
Detailed description
2.7 Programming
Basic logic functions: Auxiliary Function Output to PLC (H2)
40 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
2.7 Programming
Syntax
An auxiliary function is programmed in a part program block with the following syntax:
< type > [ < address extension > = ] < value >
Address expansion
If no address extension is programmed, address extension = 0 is implicitly set.
Symbolic addressing
The values for the "address extension" and "value" parameters can also be specified
symbolically. The symbolic name for the address extension must then be stated in brackets.
Example
Symbolic programming of the auxiliary function M3 (spindle right) for the first spindle:
Programming syntax Meaning
DEF SPINDEL_NR = 1
; 1. spindle in the channel
DEF DREHRICHTUNG = 3
; Clockwise rotation
N100 M[SPINDEL_NR] = DREHRICHTUNG
; in accordance with: M1=3
Note
If you use symbolic names to program an auxiliary function, the symbolic name is not
transferred when the auxiliary function is output to the PLC. The corresponding numeric
value is transferred instead.

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