User manual
Toolbox 32 User Manual 1.47d www.cse-semaphore.com/mykingfisher
Page
62
The following wildcards can be used to replace characters in the replication template:
(xT+y,a,b) or (xT-y,a,b) or # or *
x (Optional) Number of characters in the starting template to modify
T
Type of conversion: c = character conversion, n = number conversion.
Character conversions apply to characters in the range (A-Z, a-z, 0-9) and
number conversions apply to integer numbers. A 9 will be incremented to 0 in
a character conversion, but to 10 in a number conversion. The length of the
text is fixed in a character conversion but it is variable in a number conversion.
+ or - Increment (+) or decrement (-) applied before each replication
y Amount to increment or decrement for each replication. Can also be a fraction
(eg. 1/3). If a fraction, will update after 2 or more replications after a complete
unit is counted.
,a,b (Optional) Minimum limit (a) and Maximum limit (b). Only applies to number
conversions.
#
Copy this character from the template variable into the new variable
* Copy the complete string (or remaining portion of the string) from the template
variable into the new variable.
Note: variables will only be replicated if each new variable has a different address and a different label to the
original variable.
Example 2:
Original Label: XYZ_Pump1Status
Replication Label: (3c+1/2)_Pump(n+1,1,2)*
Description:
Takes the first 3 characters from the original label and increments
them by one for every second new variable. Copies the next 5
characters from the original label. Takes the number in the next
character position, and increments it by one for each new variable, but
limited to a minimum value of 1 and a maximum value of 2. Copies the
rest of the original label into each new variable.
New Variables: XYZ_Pump2Status,
XZA_Pump1Status
XZA_Pump2Status
XZB_Pump1Status
XZB_Pump2Status