Jump to content

Recommended Posts

Posted
PLC: FX3U Software: GX IEC Developer 7.04 Tried to create a function that creates a short pulse with a fixed pause to open a relief valve when the system pressure reaches a certain level. This to prevent the systems safety valve to open. When doing this in the code was the active time of the pulse not constant. So, I made an interrupt routine (time based) and increments a counter value for pulse output high length, and the same for pulse output low length. When simulating overpressure by the analog pressure register is the function activated. But, the funny thing is that you can hear the variation of the pulse length, thought that the interrupt would cure the variations of the pulse length, but no. Any suggestions ?
Posted
Hello Inntele, You got me there Your question made me aware of the fact that the output used is on a distributed I/O unit with Modbus TCP/IP communication. Not strange at all that I get a pulse variation. I have to rewire the output to Y0 - Y7. Thanks a lot
Posted
Hi again, Good! Also I'd like to remind you about the existing of REF instruction [FNC 50] to refresh local outputs, that does not support high-speed operations
Posted
Hello again, Yes, I will rewire the outputs to the PLC outputs, and of course also use the REF instruction. Didn't think of the delay caused by the Modbus communication until you asked about the outputs. Guess the brain stalled due to other issues (HW) we had at the same time. We actually trashed a flow sensor, a compressor and a dew point sensor. All silly expensive EEX classed items Thanks again for your help

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...