If this is not specified it defaults to "MNGRconf" in the current working directory (i.e. the directory where the program was started).
If this argument is not specified it generally defaults to the program name.
This argument is useful when setting up the parameters because it makes it very easy to kill and restart the program after changing the config file.
Entering a new value causes the tuning loop to wake up and begin to adjust the position. When the loop wakes up a countdown timer is started. The loop continues to tune until the countdown timer expires at which time the loop ceases tuning activity whether or not the error has been nulled out.
The program passes through the tuning loop once per second. Each time it passes through the loop the difference between the command position and the feedback input (dS) is calculated.
The program compares the dS value to a set of three deadband values to determine how long to assert the inc/dec control.
If (dS < deadband3) then the error is considered to be nulled out and POSmngr ceases tuning.
If ((dS < deadband2) && (dS > deadband3)) then the ctl is asserted for the minimum possible time.
If ((dS < deadband1) && (dS > deadband2)) then the ctl is asserted for 100mS.
Otherwise the ctl is asserted for one second on each pass through the loop.
There is an interlock input which inhibits the tuning loop when false. If the interlock input goes false while tuning is in progress tuning is cancelled.
Parameters needed by this program can be combined with parameters belonging to other programs. The "program name" field in the configuration file differentiates the entries.
POSmngr uses "POSmngr" as the program name when searching the file.
8 Groups (CFG1-8) are presently supported.
The control key should be set to RSetK.
This parameter should be owned by whatever task POSmngr registers as and the permissions set for indirect update by users and unconditional update for the owner.
Ownership and control keys for this parameter do not matter to this program. They should be set as appropriate for the I/O subsytem providing this information.
NLK input
This is a 1 bit parameter.
0.0 = interlock is bad
1.0 = interlock is good
Ownership and control keys for this parameter do not matter to this program. They should be set as appropriate for the I/O subsytem providing this information.
Usually this parameter has a mom, mom2, or mom3 control key.
This parameter should be writable by whatever task POSmngr registers as and owned as appropriate.
0.0
- nop
1.0 - tune
2.0 - not_used
3.0 - error
Usually this parameter is named TuneSR in the AccelNET database.
This parameter should be owned by whatever task POSmngr registers as and the permissions set for direct update for the owner.
timeout value
If this parameter is not present the value defaults to 30 seconds.
deadband #1
If this parameter is not present the value defaults to 0.1.
deadband #2
If this parameter is not present the value defaults to 0.05.
deadband #3
If this parameter is not present the value defaults to 0.01.