Siemens SINUMERIK 840D sl Programming Manual page 483

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

Advertisement

<ChanNo>:
<Prog>:
<AckMode>:
<MarkNo>:
1) For user-specific communication and/or coordination of channels, wait markers can be deployed
using SETM / CLEARM – and also without using the conditional wait command WAITMC. The wait markers
retain their values, even after a channel reset and NC start.
Examples
START using channel names from MD20000
● Parameter assignment
MD10280 $MN_PROG_FUNCTION_MASK, bit 1 = TRUE
$MC_CHAN_NAME[ 0 ] = "MACHINING"; Name of channel 1
$MC_CHAN_NAME[ 1 ] = "INFEED"; Name of channel 2
● Programming
START using local "channel names" and user variables
Program code
DEF INT MACHINE = 1
DEF INT LOADER = 2
...
START(MACHINE)
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
Channel number
The number of the own channel does not have to be specified.
Type:
INT
Absolute or relative path specification (optional) + program name
Type:
STRING
Information relating to path data, see the Programming Manual NC Programming,
Chapter "Addressing program memory files" (Page 554).
Acknowledgment mode (optional)
Type:
CHAR
Val‐
"N"
ues:
"S"
Number of the wait marker
Note
In a multi-channel system, a maximum of 100 wait markers are available (wait markers
0 ... 99).
Only wait marker 0 is available in a single-channel system.
Program code
START(MACHINING)
START(INFEED)
Without acknowledgment
The program execution is continued after the command has been sent.
The sender is not informed if the command cannot be executed suc‐
cessfully.
Synchronous acknowledgment
The program execution is stopped until the receiving component has
acknowledged the command. If the acknowledgment is positive, the
next command is executed. If the acknowledgment is negative, an error
message is output.
Comment
; Start of channel 1
; Start of channel 2
Comment
; Definition of user variable for channel 1
; Definition of user variable for channel 2
; Start of channel 1
Work preparation
3.1 Flexible NC programming
483

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents