Siemens SINUMERIK 828D Programming Manual page 108

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

Advertisement

Flexible NC programming
1.13 Program coordination (INIT, START, WAITM, WAITMC, WAITE, SETM, CLEARM)
CLEARM (marker No., marker No.,
n
Note
All the above commands must be programmed in separate blocks.
The number of markers depends on the CPU used.
Channel numbers
Up to 10 channels can be specified as channel numbers (integer value) for the channels
requiring coordination.
Channel names
Channel names must be converted into numbers using variables (see "Variables and
arithmetic parameters"). Alternatively, the channel names defined using $MC_CHAN_NAME
(identifier or keyword) can also be programmed rather than channel numbers. The defined
names must comply with the NC naming conventions (i.e., the first two characters must be
either letters or an underscore).
Protect the number assignments so that they are not changed unintentionally.
The names must not already exist in the NC with a different meaning, e.g. as key words,
commands, axis names etc.
SETM() and CLEARM()
SETM()
Chapter "Set/delete wait markers: SETM CLEARM"
Example
Channel called "MACHINE" is to contain channel number 1,
channel called "LOADER" is to contain channel number 2:
DEF INT MACHINE=1, LOADER=2
The variables are given the same names as the channels.
The statement
START(MACHINE)
108
CAUTION
and
can also be programmed independently of a synchronized action. See
CLEARM()
is therefore:
START
Deletes the markers "Marker No." in the
same channel without affecting current
processing. All markers can be deleted with
CLEARM(). CLEARM (0) deletes the marker
"0". CLEARM() remains valid after RESET and
NC START.
Corresponding channel number or channel
name
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents