EasyManuals Logo

Siemens SINUMERIK ONE MCP 2400.4c Function Manual

Siemens SINUMERIK ONE MCP 2400.4c
2050 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 #1246 background imageLoading...
Page #1246 background image
Detailed Description
2.7 Structure and functions of the basic program
PLC Basic Program Solution Line (P3 sl)
2-52 Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Example
The project in the example requires 4 integer values, 2 hexadecimal fields with bit
information and 1 real value.
Machine data:
MD14510 USER_DATA_INT[0] 123
MD14510 USER_DATA_INT[1] 456
MD14510 USER_DATA_INT[2] 789
MD14510 USER_DATA_INT[3] 1011
...
MD14512 USER_DATA_HEX[0] 12
MD14512 USER_DATA_HEX[1] AC
...
MD14514 USER_DATA_FLOAT[0] 123.456
BP parameters (OB 100):
Call fb 1, db 7(
MCPNum := 1,
MCP1In := P#E0.0,
MCP1Out := P#A0.0,
MCP1StatSend := P#A8.0,
MCP1StatRec := P#A12.0,
MCP1BusAdr := 6,
MCP1Timeout := S5T#700MS,
MCP1Cycl := S5T#200MS,
NCCyclTimeout := S5T#200MS,
NCRunupTimeout := S5T#50S;
BP parameters (to scan runtime):
l gp_par.UDInt; //=4,
l gp_par.UDHex; //=2,
l gp_par.UDReal; //=1 )
During PLC power-up, DB20 was generated with a length of 28 bytes:
DB 20
DB 20
Address data
0.0 123
2.0 456
4.0 789
6.0 1011
8.0 b#16#12
9.0 b#16#AC
10.0 1.234560e+02

Table of Contents

Other manuals for Siemens SINUMERIK ONE MCP 2400.4c

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK ONE MCP 2400.4c and is the answer not in the manual?

Siemens SINUMERIK ONE MCP 2400.4c Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK ONE MCP 2400.4c
CategoryControl Systems
LanguageEnglish

Related product manuals