Check All Doors (First/Second); Comment Line Only - Honeywell MAXPRO-Net Commissioning Manual

Crosspoint matrix video switching system
Hide thumbs Also See for MAXPRO-Net:
Table of Contents

Advertisement

7.9
SYSTEM MACRO LIBRARY, CONTINUED
7.9.1

Check All Doors (First/Second)

This is an example of using the system macro library to hold several similar macro tasks
that operate together. Executing macro line (%001) will first call macro line (%002) to
check the auxiliary control output (11).
If this FIRST DOOR is clear (FALSE), then macro line (%003) will test auxiliary control
output (12) for the SECOND DOOR. If both doors test FALSE, then the returned result in
variable @0 will also be FALSE.
This example may be used during a door interlock management scenario. It
demonstrates how one system macro line can CALL (or execute) several others allowing
a structured and clearly commented scenario to be programmed.
7.9.2

Comment Line Only

Any macro line can be used as a comment. This means that where more explanation
needs to be given, spare macro lines can be used to enter more detailed descriptions of
what the macro objectives, expected use, parameter values or just what the limitations of
the macro task may be.
Often ten or twenty macro lines would be left at the top of the system macro library table
to allow for the documentation of VARIABLES and TIMERS used within the following
macro applications.
Spare macro lines should be used to separate one area of macro task from another.
Leave ten or more lines at some positions for future expansion.
Rev. B
WARNING: Always break up more complex macro
sequences in several smaller and more manageable
macro lines.
NOTE: The secret to a maintainable macro environment
is lots of clear and meaningful comments.
7-31
HMXMC001013
31-Mar-06

Advertisement

Table of Contents
loading

Table of Contents