GenXMeds Posted February 12, 2019 Report Share Posted February 12, 2019 So I posted before and was completely green, now I am a shade different green. So I am writing a program to control my conveyor. It takes a good part signal from the puller, then I want it to wait a certain time that the user inputs and then activate a digital output so that it will then fire a blow off via relay and blow my tubes into a catch tray. I got everything working pretty good for my first program, and I could probably rig this to make the blow off work as I want, but I want to know why its not counting at the 100mS rate I think it should be counting at per the SB. Please, I am very new at this, very new, so there is probably a much better way to do this, but this is how I got it working. Any suggestions for making this better, let me know. I am loving this stuff. The other items in the program are for setting a batch limit and then when the blow off hits that limit, it will stop blowing. Eventually gonna add a second blow off for another position, but you gotta roll over before you crawl. V130-33-R2 thanks for the help. here is the file. Tyler W. Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted February 12, 2019 MVP 2023 Report Share Posted February 12, 2019 HI Tyler, no program attached to your post. Haveanothergoatit! And also which version of Visilogic did you use? cheers, Aus Link to comment Share on other sites More sharing options...
GenXMeds Posted February 12, 2019 Author Report Share Posted February 12, 2019 Let me try again. So I just tried the 1sec SB and now I think the 100mS SB setting is just running in a loop, not just firing a pulse every 100mS. I have not idea. Trying to attach the file but its crashing my computer. Ill keep trying. Its version 9.8.79 Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted February 12, 2019 MVP 2023 Report Share Posted February 12, 2019 You can simply drag your file to the paperclip mark at the bottom of the post. If that isn't working for some reason, click the "choose files". Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted February 12, 2019 MVP 2023 Report Share Posted February 12, 2019 The SB timers work independently of your program. They are a means for you to trigger things on a fixed cycle. So there must be something in your program upsetting things so we don't know until you manage to get it attached! cheers, Aus Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted February 12, 2019 MVP 2023 Report Share Posted February 12, 2019 And given that you have used 9.8.79 there seem to have been a few issues with that as it is a beta. It is a big wish/complaint of those on the forum that Unitronics would not place betas so prominently on the download page. It should be there as a minor option with the last full release prominent. But you won't be able to easily go back to 9.8.65 as your user program won't be allowed to load up, so not everyone on here will be able to open your program to check it out....me being one of them. I only go up to 8.65. cheers, Aus Link to comment Share on other sites More sharing options...
GenXMeds Posted February 12, 2019 Author Report Share Posted February 12, 2019 That a bummer. I am getting a little upset with Visilogic night, besides what you wrote. I made a folder to save my files in on my documents and I cannot even open the folder anymore, When I try to save my program with save as, it crashes the filed folder. And now you tell me this, upsetting. here is the photos of what I got. If need be, I will delete this and reload the over version if I can. I don't have anything worth keeping. Thanks much Tyler Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted February 12, 2019 MVP 2023 Report Share Posted February 12, 2019 Yes, it appears to be doing strange things on save. That's why we're all a bit grumpy. Referred to in this post. Have a look at using SB13 or 15 instead of what you are currently using. They only activate on the rising edge and I think that might be your issue. Once you sort out using the 8.65 we can help you further with program refining. cheers, Aus Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted February 12, 2019 MVP 2023 Report Share Posted February 12, 2019 @GenXMeds, email me your program along with a description of what you're trying to do and what isn't working and I'll try to help (I have 9.8.79 installed and it seems to work on my computer). I'll also post it here for you if you like. Email to: blanier at arc-controls dot com. Link to comment Share on other sites More sharing options...
GenXMeds Posted February 13, 2019 Author Report Share Posted February 13, 2019 ausman, Flex727. It got it working using SB15, pulse on rise. Exactly what I needed. I would post the file, but it shuts downs visilogic everytime I try to save, Soon as it brings up the file folder it shuts down. I was able to download to my PLC and try it, but cant save it. I think it may be my laptop. I also uninstalled .79 and installed .65. Hopefully I can get it posted. thanks again Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted February 13, 2019 MVP 2023 Report Share Posted February 13, 2019 Good. Just making sure that you installed the program using right click / run as admin, and also have the program itself, once installed, set to run as admin. cheers, Aus Link to comment Share on other sites More sharing options...
GenXMeds Posted February 14, 2019 Author Report Share Posted February 14, 2019 Ausman, I don't know about installing as admin, but I think I need to know. I have uninstalled twice and it still just closes visilogic and exits to windows every time I try to save. This is .65. Any help is appreciated. Ok found the admin, still does it. this is terrible, cant even use the PLCs I got. Maybe I need to reboot the computer, but man that's a lot to figure out why this is crashing. ill let you know and hopefully post a program sometime. thanks TW Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted February 14, 2019 MVP 2023 Report Share Posted February 14, 2019 your other question "cant save a file..." has my suggestion on how to maybe fix. Ensure that you are running the installation file by right clicking on it and selecting Run as Administrator. "found the admin" might have just been the program compatiblity...not the install....I can't tell from what you are saying. cheers, Aus Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted February 16, 2019 MVP 2023 Report Share Posted February 16, 2019 On 2/13/2019 at 8:54 PM, GenXMeds said: I have uninstalled twice and it still just closes visilogic and exits to windows every time I try to save. This is .65. Any help is appreciated. You have some garbage left from the previous installation. Refer to this post- http://forum.unitronics.com/topic/694-how-do-i-perform-a-full-re-install-of-visilogic/ Joe T. Link to comment Share on other sites More sharing options...
GenXMeds Posted February 16, 2019 Author Report Share Posted February 16, 2019 Joe, Ausman I fixed the issue by just resetting my computer. Not fun, but there was def garbage left over. So I have uploaded my program for you to check out. Please let me know what I need to fix. It seems like it works from what I can tell, but I might could have done something better. I'm happy with it. thanks for all your help guys TW 1 blow 2 batch.vlp 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