Function Interface; Read/Write Nc Variables; User Interface - Siemens SINUMERIK 828D Function Manual

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

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:
Action
1
Specify each individual variable to be read or written, for a write job:
Writing the variables
2
Start job
3
Test and wait until "Job completed" or "Error in job"
4
Evaluate the result interface of each individual variable for validity or
error, for read job: Reading variables
5
Reset "start"
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.
DB1200 ...1207 FB2/3
Byte
Bit 7
DBB 1000
DBB 1001
DBW 1002
DBW 1004
DBW 1006
DBD 1008
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Reading/writing NC data [r/w]
Bit 6
Bit 5
Column index for the NCK variable x (WORD)
Line index for the NCK variable x (WORD)
Write: Data to NCK variable x (data type of the variables: 1...4 bytes)
See chapter
Job specification [Page
1153]
Job management: Start
job [Page 1154]
Job management:
Waiting for end of job
[Page 1155]
Job evaluation [Page
1156]
Job management:
Waiting for end of job
[Page 1155] , Job
management: Cycle
diagram [Page 1155]
PLC -> NCK interface
Bit 4
Bit 3
Variable index
Area number
P4: PLC for SINUMERIK 828D
14.6 Function interface
Bit 2
Bit 1
Bit 0
1153

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents