C
ONFIGURATION
C
OMMAND
S
ET
- F
IRMWARE
R
EVISION
2.4.0_
BETA
-
V
ERSION
1.0.0
3.2.1.6.4
Sys.Counter<
index
>.State – Reads Counter’s state
Command syntax
Sys.Counter<
Examples
$PFAL,Sys.Counter
0
.State
Responses
E.g. $state of counter 0: 1011
//if prior incremented by 11.
OR
E.g. $state of counter 0: 989
//if prior decremented by 11.
Command description
To know the state of a used
Counter
use this command.
Parameter description
<index>
Determines the index of the counter to be read. Up to 20 Counters are
available. It can be set to a value from
0
to
19
.
3.2.1.6.5
Sys.Counter<
index
>.Save<
storage_index
>– Saves Counter’s state to
Storage index
Command syntax
Sys.Counter<
Examples
$PFAL,Sys.Counter
0
.Save
0
Responses
E.g.
$Counter 0 saved
Command description
To save a
Counter
use this command.
This command overwrites the
contents of the
(if not empty).
Parameter description
<index>
Determines the index of the counter to be saved. Up to 20 Counters are
available. It can be set to a value from
0
to
19
.
<storage_index>
Integer type storage index in the range
0
to
4
. Each storage index is a fixed
portion of FLASH memory in which determined data written on it will be not lost
when the device performs a reset, goes into sleep mode or is turned off. The
is reserved to save the status of a
Timer, Counter, Trigger,
etc.
Each storage index can be updated with new data. Each data set into a
storage index overwrites the existed contents. Read also the description of
given in the table of abbreviations.
Notes
•
Alias names can be defined for all storage indices by using
ALIAS.STORAGE
<
storage_index
>=<
alias_name
>
. Read also the description of
storage index given in the table of abbreviations.
This confidential document is a property of FALCOM and may not be copied or circulated without previous permission.
Page 54 of 271