The program registers with dbman as ANNtask.
The values of all the parameters listed here (whether or not they were supplied on the command line) are printed on stderr when the program starts.
If not present the message will always be played.
If this parameter is not present it is ignored.
If the Label and Refname fields are NULL value is taken from the preset field, otherwise the Label and RefName are subscribed to and value comes from the AccelNET database.
If this parameter is not present there is no time delay.
If the Label and Refname fields are NULL value is taken from the preset field, otherwise the Label and RefName are subscribed to and value comes from the AccelNET database.
If this parameter is not present there is no time delay.
If this parameter is missing no message is played.
If this parameter is missing no message is played.
The g7 entry plays a message with no time delay when the input datapoint (read1) is in the correct state. There is no time delay and no output datapoint.
#
# ANNtask entries
#
# read1 - input parameter
# if (current == preset)
# then do_start_message
# else do_stop_message
# ctl1 - output parameter
# value of input parameter is copied to here
# at the suitable time
# read2 - message play enable flag
# if (current == preset)
# then it_is_ok_to_play_message
# int0 - off delay time
# int1 - on delay time
# int2 - start message number
# int3 - stop message number
#
# messages:
# 0 - not a valid msg
# 1 - charging start msg
# 4 - charging stop msg
#
ANNtask|g1|read1 |0|CH TX-1|.PwrSC |1.0
ANNtask|g1|ctl1 |0|CH TX-1|PwrSC |
ANNtask|g1|read2 |0|CH TX-1|AnnSR |1.0
ANNtask|g1|int0 |0|NULL |NULL |0.0
ANNtask|g1|int1 |0|NULL |NULL |15.0
ANNtask|g1|int2 |0|NULL |NULL |1
#
ANNtask|g2|read1 |0|CH TX-2|.PwrSC |1.0
ANNtask|g2|ctl1 |0|CH TX-2|PwrSC |
ANNtask|g2|read2 |0|CH TX-2|AnnSR |1.0
ANNtask|g2|int0 |0|NULL |NULL |0.0
ANNtask|g2|int1 |0|NULL |NULL |15.0
ANNtask|g2|int2 |0|NULL |NULL |1
#
#
# play this one when AccOpSC goes false
# (chains off, gvm < .05)
#
ANNtask|g7|read1 |0|ACC RM-1|AccOpSC |0.0
ANNtask|g7|int2 |0|NULL |NULL |4