Parse Message Point To RCO Variables
About this task
Description
Parse Message Point To RCO Variables:
- Has a token list format, which is comma delimited and colon divided.
Example
"<
name>:<
value>,<
name>:<
value>"
- Parses the tokenized contents of a message point.
- Saves the specified tokens to RCO Variables.
Example
Procedure
-
You have a message point containing 3 tokens:
"ID:4001,DESC:Body Carrier,COLOR:Blue"
-
Parse Message Point To RCO Variables
lets you specify 3 RCO variables:RCO Variable 1, 2, and 3.
-
The RCO variable values can be set to the three token values:
"4001", "Body Carrier", and "Blue".
Parameters
This function block has the following parameters:
Parameter Description Message Source Type Type of point name that will be used. Options are: RCO Id + Suffix Message point will consist of an RCO site with a specified suffix. A Message Point Suffix must be specified if this option is chosen. Example Two sites have the same suffix; RCO1_Message1 RCO2_Message1 This block will work in both sites with exactly the same configuration. Select Point Hard codes a single point as the message source. A Message Point Id must be specified if this option is chosen. Message Point Suffix Message point ID suffix. Must be specified if RCO Id + Suffix is selected as the Message Source Type. Example For a point RCO1_Message1 The suffix is Message1. Message Point Id Point ID to use as message source. Must be specified if Select Point is selected as the Message Source Type. Token 1 Id ID of the first token to be written to the RCO variable. Token 1 Variable Variable to set with the value of the first token. Token 2 Id ID of the second token to be written to the RCO variable. Token 2 Variable Variable to set with the value of the second token. Token 3 Id ID of the third token to be written to the RCO variable. Token 3 Variable Variable to set with the value of the third token. Token 4 Id ID of the fourth token to be written to the RCO variable. Token 4 Variable Variable to set with the value of the fourth token. Token 5 Id ID of the fifth token to be written to the RCO variable. Token 5 Variable Variable to set with the value of the fifth token. Token 6 Id ID of the sixth token to be written to the RCO variable Token 6 Variable Variable to set with the value of the sixth token.