**RESOLVED** PLC programming
Posted: Sun Sep 19, 2010 3:38 pm
I'm trying to figure out how to change the PLC programming for our machines. We currently have 4 in total and another on the way.
I'm using input 18 to monitor the air line into the machine. The default programming for this input is Lube_Fault_In. When I remove air I get a Lubricant_low message which is tied to OUT63. I trace this to the program statement Lubricant_low = PC_Lube_Fault & / Fault_Override. So to me this means Lubricant Low is a 1 when PC Lube fault is a 1 and Fault Override is not active or 0. This then makes OUT63 a 1 and the message Lubricant Low is written to the screen. Am I correct so far?
What I can't find is the conditions that set PC_Lube_Fault's state. Is this an internal default?
To change my message I should need to change the statement Lubricant_low = PC_Lube_Fault & / Fault_Override to Machine_Air_Low = PC_Lube_Fault & / Fault_Override?
Should I also change Lubricant_low is OUT63 to Machine_Air_Low is OUT63?
For the input definitions Lube_Fault_In IS INP18 ; Green = Lube OK Red= Lube low should change to Machine_Air_Fault_In IS INP18 ;Green=Air OK Red=Air low?
I'm using input 18 to monitor the air line into the machine. The default programming for this input is Lube_Fault_In. When I remove air I get a Lubricant_low message which is tied to OUT63. I trace this to the program statement Lubricant_low = PC_Lube_Fault & / Fault_Override. So to me this means Lubricant Low is a 1 when PC Lube fault is a 1 and Fault Override is not active or 0. This then makes OUT63 a 1 and the message Lubricant Low is written to the screen. Am I correct so far?
What I can't find is the conditions that set PC_Lube_Fault's state. Is this an internal default?
To change my message I should need to change the statement Lubricant_low = PC_Lube_Fault & / Fault_Override to Machine_Air_Low = PC_Lube_Fault & / Fault_Override?
Should I also change Lubricant_low is OUT63 to Machine_Air_Low is OUT63?
For the input definitions Lube_Fault_In IS INP18 ; Green = Lube OK Red= Lube low should change to Machine_Air_Fault_In IS INP18 ;Green=Air OK Red=Air low?