Can anyone fill me in on how to translate the pipe symbol below. I am converting some ladder logic (rslogix5) to structured text(rslogix5000) and this particular expression is used in the CPT(compute) instruction. Since there is no cpt instruction in ST im forced to use this (destination := numeric_expression. The only problem im having is an error saying:
Error: Line 15, '|': Unexpected.
This is line 15
//SFilterIntCalculated.FilterIntExponent := (-1.0 * 0.0) | SFilter.FilterTimeConstant;
This is the expression directly from the ladder logic.
//(-1.0 * F135:110) | F259:0
What im using in place of CPT instruction.
destination := numeric_expression;
Any help will be greatly appreciated.
Error: Line 15, '|': Unexpected.
This is line 15
//SFilterIntCalculated.FilterIntExponent := (-1.0 * 0.0) | SFilter.FilterTimeConstant;
This is the expression directly from the ladder logic.
//(-1.0 * F135:110) | F259:0
What im using in place of CPT instruction.
destination := numeric_expression;
Any help will be greatly appreciated.