We added a branch to an existing PLC5 program at work today and ran into something no one had seen before. The programmer had sent us his addition via email and we were simply editing the rung.
The branch contained a Compute CPT statement. The CPT statement contained what seemed to be a math operand of "|" (I've always called this a pipe). I don't have the program at home but the expression was something like
(N413:117*36.4)|100
I've never run into this symbol used as a math operand before. It would seem to be a division but I've always used "/" for that. The programmer uses it mnay times in this ladder. It has to do with feed rate of a product mixture perhaps he is converting it to a percentage, unsure.
Anyone have any idea what this operand is/does?
TIA.
Jim Erb
The branch contained a Compute CPT statement. The CPT statement contained what seemed to be a math operand of "|" (I've always called this a pipe). I don't have the program at home but the expression was something like
(N413:117*36.4)|100
I've never run into this symbol used as a math operand before. It would seem to be a division but I've always used "/" for that. The programmer uses it mnay times in this ladder. It has to do with feed rate of a product mixture perhaps he is converting it to a percentage, unsure.
Anyone have any idea what this operand is/does?
TIA.
Jim Erb