Plc_User Member P Join Date Dec 2005 Location Belgium Posts 317 Jun 26, 2014 #1 In an upload of an S5 cpu I have following code: L MW240 L KC SG !=F = M250.0 What does the second line (L KC SG)mean? Thanks
In an upload of an S5 cpu I have following code: L MW240 L KC SG !=F = M250.0 What does the second line (L KC SG)mean? Thanks
L D[AR2P#0.0] Lifetime Supporting Member L Join Date Nov 2006 Location UK Posts 6,698 Jun 26, 2014 #2 Screen shot of the S5 code please - KC refers to a counter, maybe SG is a symbol?
ivo.maenen Member Join Date Nov 2003 Posts 663 Jun 26, 2014 #3 In the German version of the software KC stands for 'konstant character'. This also should explain why 'SG' is used. KC: constant counter should implicate a number between 0 and 999 if my memory is still OK.
In the German version of the software KC stands for 'konstant character'. This also should explain why 'SG' is used. KC: constant counter should implicate a number between 0 and 999 if my memory is still OK.
sps-concept Member S Join Date Aug 2006 Location Saxonia Posts 55 Jun 26, 2014 #4 Kc sg Hello, it loads the signs "SG" as ASCII-code
ojz0r Member O Join Date Feb 2009 Location 127.0.0.1 Posts 440 Jun 27, 2014 #5 SG could be a name for a value in your program, or maybe this is the code inside a block and SG is an input to that block. I would say this is a compare function, when MW240 is not equal to SG, M250.0 is true.
SG could be a name for a value in your program, or maybe this is the code inside a block and SG is an input to that block. I would say this is a compare function, when MW240 is not equal to SG, M250.0 is true.
curlyandshemp Lifetime Supporting Member Join Date Jul 2005 Location Toronto Posts 1,903 Jun 27, 2014 #6 Plc_User said: In an upload of an S5 cpu I have following code: L MW240 L KC SG !=F = M250.0 What does the second line (L KC SG)mean? Thanks Click to expand... display the value of FW240 in ASCII, and see if 'SG' is displayed. Been a long time since I used S5, so I can't remember the sequence to list flag words.
Plc_User said: In an upload of an S5 cpu I have following code: L MW240 L KC SG !=F = M250.0 What does the second line (L KC SG)mean? Thanks Click to expand... display the value of FW240 in ASCII, and see if 'SG' is displayed. Been a long time since I used S5, so I can't remember the sequence to list flag words.