Parameter: /sub
Description: The parameter sub is used to modify the parameter reference strings already defined in an existing chart, such that the module name portion of the defined parameter reference is replaced with the substitution string. A parameter reference (such as FIC-101/PID1/PV.CV) is in the form:
MODULE NAME/BLOCK/PARAMETER.FIELD
All characters in the parameter reference up to the first forward slash (/) are replaced by the string sub. For example, if a document contains the configured parameter references FIC-101/PID1/PV.CV and FIC-101/PID1/SP.CV, and sub MTR101 is specified on the command line, the chart automatically changes the two parameters to MTR101/PID1/PV.CV and MTR101/PID1/SP.CV.
If a parameter reference is blank, it will remain blank. If a parameter reference contains no forward slash, the entire string is replaced with the substitution string.
If a Chart or E+Chart is called with a substitution string, then it is not possible to save the chart. However, it is possible to modify the existing configuration before exiting.
Type: Substitution string
Applies to: Chart and E+Chart
Value: A single character string. If the string contains a hyphen (-) or a forward slash (/), you must enclose the entire string in parentheses or double quotes.
Example:
CHS motors.phvc /sub MTR101
In this example, the chart Motors.phvc contains the parameter references FIC-101/PID1/PV.CV and FIC-101/PID1/SP.CV, which are replaced by MTR101/PID1/PV.CV and MTR101/PID1/SP.CV.
You must specify a file name with the sub parameter.