EasyManuals Logo
Home>Siemens>Control Systems>SINUMERIK 828D

Siemens SINUMERIK 828D Function Manual

Siemens SINUMERIK 828D
1799 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 #1153 background imageLoading...
Page #1153 background image
P4: PLC for SINUMERIK 828D
14.6 Function interface
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1153
14.6 Function interface
14.6.1 Read/write NC variables
14.6.1.1 User interface
The PLC user program can read or write a maximum of eight variables from the NCK area via the PLC/NCK
interface "Read/write NC variable".
The user interface should be operated as follows:
Job specification
Each of the 1-8 variables that should be processed in a job, must be specified via their parameters in the
variable-specific job interface (from offset 1000).
The general identifiers are discussed in more detail later for each variable that can be accessed from the
interface.
Convention: DB120x: The x should be replaced by 0-7 for 1-8 variables.
Action See chapter
1 Specify each individual variable to be read or written, for a write job:
Writing the variables
Job specification [Page
1153]
2 Start job Job management: Start
job [Page 1154]
3 Test and wait until "Job completed" or "Error in job" Job management:
Waiting for end of job
[Page 1155]
4 Evaluate the result interface of each individual variable for validity or
error, for read job: Reading variables
Job evaluation [Page
1156]
5 Reset "start" Job management:
Waiting for end of job
[Page 1155] , Job
management: Cycle
diagram [Page 1155]
DB1200 ...1207 FB2/3 Reading/writing NC data [r/w]
PLC -> NCK interface
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB 1000 Variable index
DBB 1001 Area number
DBW 1002 Column index for the NCK variable x (WORD)
DBW 1004 Line index for the NCK variable x (WORD)
DBW 1006
DBD 1008 Write: Data to NCK variable x (data type of the variables: 1…4 bytes)

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 828D and is the answer not in the manual?

Siemens SINUMERIK 828D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 828D
CategoryControl Systems
LanguageEnglish

Related product manuals