Dbroker Posted September 21, 2022 Report Share Posted September 21, 2022 Hello, I kind of have a two part problem that I can't seem to figure out. I am new-ish to plc and my predecessor is no longer here working with the company so I am unable to ask questions elsewhere. I currently am trying to set up a calendar function that will set a bit on a certain day of the year. I am currently set up as shown in the image trying to do a trial on a fixture we are not using atm. When I manually set the date it show that both the month and and day are activated but it isn't setting my MB's, and I'm not understanding why. My second thing I am trying is to set up a variable "password" entry for the calibration. Example : Acceptable psi range reading would be between 1.80-2.00 psi. After verifying actual reading is correct I would to be able to enter a value that, as long as it is between that range it will activate a bit. Any help would be greatly appreciate, thank you. This particular model is a V570 but I also use V700 here as well. Link to comment Share on other sites More sharing options...
sgull Posted September 21, 2022 Report Share Posted September 21, 2022 Hi For these type of problems it is always helpful to upload you program. what you have posted is only a small piece of information. for a start you should check that the net where this is located is being called. you should also check that mb154 is not being reset elsewhere in the program. if you post your program someone will look at it and assist you. Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted September 21, 2022 MVP 2023 Report Share Posted September 21, 2022 Further to sgull's comment.. 5 hours ago, sgull said: you should check that the net where this is located is being called. https://forum.unitronics.com/topic/8850-important-sub-routine-advice/ You should also see whether the bit is actually being set and then reset so quickly that you can't observe it happening. For the sort of thing you're wanting to do, your existing instructions have the bits being Set and Reset all day, every scan, which means you can probably not use Set and Reset. (And I ask are both meant to be sets? One is a reset...is this a typo?) If you actually need MB154 to be a Set that is then Reset elsewhere in the program once something is achieved during that day, you need to have the initial time logic end up as a transitional contact doing the set. Sometimes this is best done through interacting directly with SI30-38, rather than the "convenient" method. cheers, Aus Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted September 22, 2022 MVP 2023 Report Share Posted September 22, 2022 For your "password" I think that Compare/Within Range would do all you want. Link to comment Share on other sites More sharing options...
Dbroker Posted September 22, 2022 Author Report Share Posted September 22, 2022 Here is the program. I don't have a reset on MB154 yet as i was working on getting it to set first. 19 minutes ago, Ausman said: For your "password" I think that Compare/Within Range would do all you want. I have that currently set up but I do not believe that I have it set up correctly. CL1915cr.vlp Link to comment Share on other sites More sharing options...
Gabriel Franco Posted September 22, 2022 Report Share Posted September 22, 2022 It´s not working as expected because the routine 10-Leak Test Validate is not being called anywhere. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now