Siemens SINUMERIK 840D sl Function Manual page 931

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

● When drive-specific variables are written, only variables from exactly one SERVO drive
object may be addressed via "Addr1" to "Addr8" if FB2 is called. The SERVO drive object
must be assigned to a machine axis of the NC. The line index corresponds to the logical
drive number.
● In a write job, only variables from the same area, channel, or drive object can be written.
Note
Error case
When writing variables from different channels or drive objects, or simultaneously from a
channel and a drive object, an error message is output:
● "Error" == TRUE
● "State" == W#16#02
Variable addressing
For some NC variables, it is necessary to select "Area no." and/or "Line" or "Column" from the
NC VAR selector. It is possible to select a basic type, i.e. "Area no.", "Line" and "Column" are
preassigned "0". The values of the "Area no.", "Line" and "Column" specified by the NC VAR
selector are checked for a "0" in FB2. If an NC-VAR selector value == "0", the corresponding
value of the FB3 parameter is adopted. To do this, the FB3 parameters "Unit<x>", "Column<x>"
and "Line<x>", with <x> = 1 - 8, must be written before FB3 is called.
NCK variables within one group can be combined in a job:
The same rules apply for channels 3 to 10 as for group 1 and group 2 shown in the example.
Note
The number of usable variables can be less than eight when simultaneously writing several
variables of the "String" type.
Declaration of the function
FUNCTION_BLOCK FB3
VAR_INPUT
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
FB3 parameter
Unit<x>
Column<x>
Line<x>
Group
1
C[1]
2
C[2]
3
V[.]
P3: Basic PLC program for SINUMERIK 840D sl
NC VAR selector
Area
N
B
N
B
H[.]
---
13.17 Block descriptions
Area no.
Column
Line
O
T
O
T
---
---
931

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents