Mrslipmat
Member
Hi Guys, good day to you all.
I have a strange problem occuring with one of the machine programmes we have, The CPU is a S7-300 series. We are selecting a (M) bit through a compare function in FC2 from a HMI, I.E, Compare MW180= 0 then coil output M2.0 is on, Everything works fine from the screen selection process, we test several varients of a pedal and select these through the same compare commands looking at different bit values.
The problem I have is, When we select the version controlling the M2.0 bit on the HMI, all the relating bit,s are made in the programme, these appear 16x throughout various FC,s and work fine apart from in 1 FC, where M2.0 stays on constantly !If we change varient all the other associated bits work fine, including those in the 1 FC that has the problem bit in it, these all switch with the screen selection as they should but M2.0 stays on although it,s off in all the other FC,s including the Compare output coil.
I,ve scratched my head to the point where I,ve now got an even bigger bald spot appearing. Does anybody have any idea why this one bit is staying on all the time in the 1 FC only but goes off in all the other FC,S ?
Regards
John
I have a strange problem occuring with one of the machine programmes we have, The CPU is a S7-300 series. We are selecting a (M) bit through a compare function in FC2 from a HMI, I.E, Compare MW180= 0 then coil output M2.0 is on, Everything works fine from the screen selection process, we test several varients of a pedal and select these through the same compare commands looking at different bit values.
The problem I have is, When we select the version controlling the M2.0 bit on the HMI, all the relating bit,s are made in the programme, these appear 16x throughout various FC,s and work fine apart from in 1 FC, where M2.0 stays on constantly !If we change varient all the other associated bits work fine, including those in the 1 FC that has the problem bit in it, these all switch with the screen selection as they should but M2.0 stays on although it,s off in all the other FC,s including the Compare output coil.
I,ve scratched my head to the point where I,ve now got an even bigger bald spot appearing. Does anybody have any idea why this one bit is staying on all the time in the 1 FC only but goes off in all the other FC,S ?
Regards
John