Control actions macro, Control actions macro -41 – Clear-Com Logic-Maestro User Manual
Page 107
Clear-Com Communication Systems
Eclipse Logic Maestro Instruction Manual
2 - 4 1
CONTROL ACTIONS MACRO
Control action macros act on system configuration objects to change
the state of the object. The format of a control action macro command
is:
ControlActions.
The ‘ControlActionMacro’ command is used to change the state of a
system configuration object
For example, the command:
Action fireLed1 = ControlActions.ActivateLED(
will create an action ‘fireLED1’ that changes the state of the system
object LED1 in accordance with the parameters supplied.
These macros are accessed by expanding the ‘Clearcom’ >
‘ScriptLibrary’ > ‘ControlActions’ entry in the Available Modules menu.
value__ [int]
Returns the value of a condition eg.
Condition
Macro
Description
Macro
Description
ActivateLED(EntityObject,
LedRate, LedIndication) [Action]
Returns a control object to set the flash rate and color
for a specified LED e.g.
Action = ControlActions.ActivateLED(
ActivateLED (EntityObject[],
LedRate, LedIndication) [Action]
Returns a control object to set the flash rate and color
for specified LED e.g.
Action = ControlActions.ActivateLED(
ActivateLED (PortObject, Entity-
Object, LedRate, LedIndication)
[Action]
Returns a control object to set the flash rate and color
for a specified LED on a specified port e.g.
Action = ControlActions.ActivateLED(