toddp65
Member
So I'm not familiar with ADD instructions. The A part of this instruction is a can count going into a lid seamer. The B part is the system variable I assume.
The code is checking to see if the same can that enters is leaving (acknowledging a knocked over or missing can) because I assume it's comparing it to the A).
With The NEQ instr. if the DINT1 doesn't equal 0 then if all other code is true then M30 is true thus starting the CTD time which is preset to 1 (?) and then latching an alarm bit...The preset from the Mov instr below is not moved when the XIC is true but is when it's false.
Thoughts? Let me know if the attached is not legible.
Thanks
The code is checking to see if the same can that enters is leaving (acknowledging a knocked over or missing can) because I assume it's comparing it to the A).
With The NEQ instr. if the DINT1 doesn't equal 0 then if all other code is true then M30 is true thus starting the CTD time which is preset to 1 (?) and then latching an alarm bit...The preset from the Mov instr below is not moved when the XIC is true but is when it's false.
Thoughts? Let me know if the attached is not legible.
Thanks