GX developer: Why is M32 zero?

This is because it is a pulse instruction, it is only true when the logic in front of it goes from false to true and is only on for one scan of the program, you are unlikely to see it while monitoring perhaps about 1 in 5 chances the coms reads it when it is true.
effectively it is a one shot, when all 4 contacts are false (in this case as they are N/C) then M32 will be on for one scan of the program.
so for example if any one of the 4 contacts (inputs in this case) goes true then back to false M32 pulses for one scan.
This can be a little confusing as it will not need all 4 contacts to go to true then false for it to work the following is true.
all 4 are off (initial condition) it will pulse M32 once.
If one goes true nothing happens
If the other 3 are false & the one goes back to false then M32 pulses.
if two go true & only one of them goes false nothing happens & so on.
What it needs to see is a transition from a false to true before M32 pulses,
It appears the inputs are tank level controls so when all 4 are false (assuming these go false on the different levels), then the last one to go off will be low level & it creates a pulse for some sort of control perhaps stops a pump or something.
 
Last edited:
Because the "PLS" prefix in the coil means that when the coil changes from non-energized state to energized state, the bit addressed in the coil will be TRUE for just one scan. After the next scan it will change to FALSE.


Edit: parky you bit by a few seconds and with a much better reply...
 
This is because it is a pulse instruction, it is only true when the logic in front of it goes from false to true and is only on for one scan of the program, you are unlikely to see it while monitoring perhaps about 1 in 5 chances the coms reads it when it is true.
effectively it is a one shot, when all 4 contacts are false (in this case as they are N/C) then M32 will be on for one scan of the program.
so for example if any one of the 4 contacts (inputs in this case) goes true then back to false M32 pulses for one scan.
This can be a little confusing as it will not need all 4 contacts to go to true then false for it to work the following is true.
all 4 are off (initial condition) it will pulse M32 once.
If one goes true nothing happens
If the other 3 are false & the one goes back to false then M32 pulses.
if two go true & only one of them goes false nothing happens & so on.
What it needs to see is a transition from a false to true before M32 pulses,
It appears the inputs are tank level controls so when all 4 are false (assuming these go false on the different levels), then the last one to go off will be low level & it creates a pulse for some sort of control perhaps stops a pump or something.
Yes, it is used to control the sump pump on line 986. The sump pump (as the name suggests) is at the bottom of the tank for pumping the water around the system & when the level is low, startup is inhibited to prevent pumping air which would damage the pump.
 
Last edited:
Because the "PLS" prefix in the coil means that when the coil changes from non-energized state to energized state, the bit addressed in the coil will be TRUE for just one scan. After the next scan it will change to FALSE.


Edit: parky you bit by a few seconds and with a much better reply...
Many thanks AlfredoQuintero
 

Similar Topics

I'm trying to verify a project with a PLC. The Transfer Setup menu item is grayed out and every time I click Verify with PLC, I get an error...
Replies
1
Views
53
Well, I've decided to start a new project, and like all projects, it has already gone horribly wrong. I purchased a PLC device (supposedly a...
Replies
2
Views
112
Does anybody have any samples of how to "Create and Use" UDT's in CCW Developer Edition? (I am using v22) I can't find any information from...
Replies
3
Views
313
I'm trying to manually convert a Beijer E200 HMI project onto to a new Mitsubishi GOT gs2107-wtbd. The PLC is a very old A-series AS1CPU and is...
Replies
1
Views
382
Hi One of the PLC's that I maintain/update is a Mitsubishi Q-Series, probably installed about 10 years ago. At the moment, ALL the wires from...
Replies
13
Views
1,172
Back
Top Bottom