January 2012 8.2 PLC Compiler 1511
Available keywords
Keyword Description Example
DEFINE Configuration definitions for controlling the
conditional compilation, soft-key menu
generation and cycle-project configuration
The NCK-based controls use the following
configuration definitions to specify the
structure of the API 3.0 symbolic
programming interface:
GENERAL_COUNT Number of structures
for miscellaneous data
(ApiGen)
DEFINE
GENERAL_COUNT = 1
OMG_COUNT Number of operating
mode groups (ApiOmg)
DEFINE
OMG_COUNT = 1
CHANNEL_COUNT Number of machining
channels (ApiChn)
DEFINE
CHANNEL_COUNT = 1
AXIS_COUNT Number of axes
(ApiAxis). Define the
same number of axes
in the System/CfgAxes/
axisList machine
parameter. Spindles
are included in this
count.
DEFINE
AXIS_COUNT = 10
SPINDLE_COUNT Number of spindles
included in the axes
defined under
AXIS_COUNT (ApiSpin)
DEFINE
SPINDLE_COUNT = 2
REMBYTEMIN Start address of the bytes, words or double
words whose data remains stored after a
power interruption (remanence).
Default value: 0
REMBYTEMIN = 0
REMBYTEMAX End address of the bytes, words or double
words whose data remains stored after a
power interruption (remanence).
The range defined by REMBYTEMIN and
REMBYTEMAX may not be larger than 1024
bytes.
Default value: –1 = Deactivated
REMBYTEMAX = 200
REMMARKERMIN Start address of the markers whose data
remains stored after a power interruption
(remanence).
Default value: 0
REMMARKERMIN = 0