Was looking through some old PLC code I was given 10 years ago to find out how to change the action of a loop in Tisoft.
The SFPGM code uses some syntax that I cant find in the reference manual - can anyone help
The code is
IMATH LCFH1 := LCFH1 ^ K94 (where K94 is a binary word with bit 8 on 0000 0000 0000 1000 0000)
that makes the loop go direct acting (turns that bit OFF)
the other piece says
IMATH LCFH1 := LCFH1 | K94
which turns that bit ON
I know it works - I tested it - but I just want to make certain of the syntax and of possible find the manual that it comes from.
Thanks
Jason
The SFPGM code uses some syntax that I cant find in the reference manual - can anyone help
The code is
IMATH LCFH1 := LCFH1 ^ K94 (where K94 is a binary word with bit 8 on 0000 0000 0000 1000 0000)
that makes the loop go direct acting (turns that bit OFF)
the other piece says
IMATH LCFH1 := LCFH1 | K94
which turns that bit ON
I know it works - I tested it - but I just want to make certain of the syntax and of possible find the manual that it comes from.
Thanks
Jason