You are not registered yet. Please click here to register!

plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!

Go Back - Interactive Q & A > - Interactive Q & A > LIVE PLC Questions And Answers

Thread Tools Display Modes
Old February 5th, 2023, 09:53 PM   #226
Lifetime Supporting Member
United States

drbitboy is offline
drbitboy's Avatar
Join Date: Dec 2019
Location: Rochester, NY
Posts: 7,007
Brian T. Carcich
i) Take care of the bits, and the bytes will take care of themselves.
ii) There is no software problem that cannot be solved with another layer of indirection.
iii) Measurement is hard.
iv) I solemnly swear that I am up to no good
v) I probably have the highest ratio of forum posts to actual applications in the field (but no longer ∞ ).
vi) Hakuna matata.
vii) Bookkeeping.
  Reply With Quote
Old February 6th, 2023, 02:41 PM   #227
United States

Aljubovic is offline
Join Date: Jan 2023
Location: Louisville, Ky
Posts: 88
I am done with the simulation program in do-more designer. I coded all of the push buttons and hmi_messages and see them turn on and off inside of the data view. Everything works as planned in the simulation.
Now I am ready to build the hmi, with the free c-more programming software. One question, am I able to simulate the hmi connected to the do-more simulation? Or do I just have to hope that it works and test it out when I order the PLC?
  Reply With Quote
Old February 20th, 2023, 08:55 AM   #228
United States

Aljubovic is offline
Join Date: Jan 2023
Location: Louisville, Ky
Posts: 88
@parky @drbitboy, after weeks of making a simulation program in do-more and making sure everything will work if this was implemented on a real device (Meaning that the Ip signal and the valves open and all close when they should) I made the "final" program without the test parts. I then made the same program inside of click programming tool since do more programming tools had some differences, like the timers and leading-edge bits cannot be inside a sub-routine, so all of the timer and 1second clocks all had to go inside of the main program.

After making these programs I went back and edited the original in the do-more designer program to be a manual dump relief valve. All I did was delete the automated water relief valve and replaced it with a message. When the pump is ready to get to sp a message is sent to the hmi to close the relief, once the operator has closed the relief valve they will press "done" on the hmi message, then the pressure from the water supply will fill the system and once the psi is constant, the pump will start at its initial psi and then start pumping to sp.
Same thing when the system wants to depressurize, it displays an "open relief valve" message and once the operator opens the valve the psi in the system will start dropping automatically, after the operator opens the relief valve, they will press done on the hmi open relief valve message and the system will be done and will display a state, saying if it's done, failed, error, etc.
I then made this same program into the click program, and I went through and tried to debug as much as I could. I ran the automated dump valve program and the manual dump valve program in do-more designer simulator many times to check if there are any bugs, all of the safety features work for example, when over pressurizes, test time errors happen, hmi value errors happen, or max times happen, they all go to their specific state and the system stops sending signals.

Here are the programs, you can check them out yourself in the simulator. If you want to test it out, make sure you have variables (HMI_PB_Start, HMI_PB_STOPALL, HMI_Pressure_SP, HmiPreTestMaxsec, PostTestMaxSec, HMI_Test_Max_sec, HMI_Test_Min_sec, HMI_test_tim_se, Closerelief_mess, HmiReliefClosePB, Openrelief_mess, HmiReliefOpenPB). Use all of these to manipulate the program, make sure to type in the pressure sp and max/min times, some errors arise because of the values input into the hmi are incorrect (meaning for example, test time min is less than test time) make sure to have the Test_vessel_psi displayed if you want to pressure go up and down. Let me know if you have any questions or problems.

My next step is to double and triple check with my boss then I will start to order all of the parts necessary.
Attached Files
File Type: zip Pressure sp (44.7 KB, 4 views)
  Reply With Quote
Jump to Live PLC Question and Answer Forum

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
plc program omron errors ngoclan LIVE PLC Questions And Answers 0 October 14th, 2014 06:03 AM
Plc suggestion aec LIVE PLC Questions And Answers 36 January 2nd, 2012 01:56 AM
Mitsubishi GX Developer - uploading/downloading program from PLC mkac LIVE PLC Questions And Answers 7 June 17th, 2010 05:31 AM
SLC 500 Ethernet Setup JSPLC LIVE PLC Questions And Answers 3 June 1st, 2010 05:15 PM
Simulator, Simulation, Shadow Code Terry Woods LIVE PLC Questions And Answers 1 January 2nd, 2005 02:40 PM

All times are GMT -4. The time now is 10:20 AM.