C
C
ONFIGURATION
OMMAND
3.2.14.4 MACRO<index>
Parameter syntax
This parameter specifies the macro configuration. A macro can consist of more
alarm actions than a usual alarm. It is possible to specify the command e.g.
„Sys.Macro0" as an alarm action. Thereby it activates this macro (0 in our example).
If such a macro is activated, all commands defined inside this macro will be
executed. Macros are designed to make possible executing of the large numbers
of commands within a single line. Macro can also be used to store several
commands, which can be used frequently inside the alarm configuration. This
setting improves the style of a clearly arranged alarm configuration, it prevents the
configuration mistakes and can ease the readability of a configuration.
<index>
It specifies the macro index in range from 0 to 9 (10 macros).
<command1>&....&command10>
It specifies the command to be released for a specific task. Up to 10 commands
separated by ampersand "&" can be specified and executed.
maximum number of characters in a single command line is limited to
then
1500
chapter 3.1.1,
be set as commands without leading the "$PFAL,".
How to set/get MACRO configuration:
Set configuration
Get configuration
Notes
•
The maximal number of commands to be specified is currently set to 10. The
maximum number of characters in a single command line is limited to 1500.
•
It is not recommended to set the read commands inside the macros,
because this would only slow down the system performance. (The information
to be read out cannot be displayed in this way. Use the MSG.send
commands for such purposes).
•
It is NOT allowed to set/activate other macro commands inside a macro
configuration parameter, as the activation of them might lead to endless
loops of set commands.
NOT allowed configuration :
•
Keep in mind that, some configuration parameters (such as „MACRO" ) are
case sensitive, while all commands are case insensitive.
This confidential document is a property of FALCOM and may not be copied or circulated without previous permission.
S
- F
R
ET
IRMWARE
MACRO<index>=<command1>&....&command10>
characters will be ignored.
"Command syntax of PFAL
$PFAL,Cnf.Set,MACRO0=IO.LED1.Red=hpulse,3000
$PFAL,Cnf.Set,MACRO1=GSM.SMS.Send,"+491234567",8,"AL1 SMS"
....
$PFAL,Cnf.Set,MACRO0
$PFAL,Cnf.Set,MACRO1
....
$PFAL,Cnf.Set,MACRO0=IO.Beep=hpulse,3000&Sys.Macro0
2.4.0_
-
EVISION
BETA
To specify a command, please, refer to the
". All commands within this chapter can
V
1.0.0
ERSION
However, the
1500. More
Page 169 of 271
Need help?
Do you have a question about the MAMBOII and is the answer not in the manual?
Questions and answers