Download Print this page

HEIDENHAIN MANUALplus 620 Technical Manual page 1529

Hide thumbs Also See for MANUALplus 620:

Advertisement

Management of
timer addresses
January 2012
The MANUALplus 620 references the timers and counters via symbolic
names. The CfgPlcTimer configuration object is configured in the
configuration editor for this:
Parameter MP_run (103503):
Name of the process marker (if the attribute is missing then the key is the
name of the marker)
Parameter MP_start (103504):
Name of the start marker (timer to NR48 and counter)
Parameter MP_gate (103505):
Name of the gate marker (only counter)
The PLC compiler of the MANUALplus 620 can manage timer addresses itself
(as with B/W/D and markers). The #pragma range pragma instruction must be
entered in the source code for this.
This pragma instruction also has the following effects:
Global/static memory is reserved in rising order
Support of two ranges each for /bn and /mn areas
Compiler range /sn for strings
Syntax:
(Instruction for range reservation of the timers and counters. The range must
be between 48 and 999 in each case.)
#define /tn <min value> <max value>
#define /cn <min value> <max value>
Definition of a timer started via a module:
#define <run timer name> T
Definition of a timer started via a start timer:
#define /ts:<start timer name> <run timer name> T
Definition of a counter started via a module:
#define <run counter name> C
Definition of a counter started via a start counter:
#define /cs:<start counter name> /cg:<counter gate name>
<run counter name> C
8.4 Operands
1529

Advertisement

loading