Corrupted_Nova Posted June 15, 2016 Report Share Posted June 15, 2016 Hello! I'm very new to Unitronics and only a little experienced with ladder logic. I was hoping that some of you kind folks could look at my program and see if anything jumps out at you as wrong. It's a very simple program; the machine (for now) just needs to extend or retract a press. It's utilizing a Samba 7", part number SM70-J-R20. I'm really uncertain about even setting up the program from scratch, which is why I'd like some experienced feedback if possible. Here are the questions I have: -Will the error messages go away when I actually connect to the unit?-Did I correctly use the "MB" bits with the pushbutton on the screen?-Do I need to do any sort of configuration for my Samba unit? Thank you all very much for reading. Version_1.vlp Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted June 17, 2016 MVP 2022 Report Share Posted June 17, 2016 -Will the error messages go away when I actually connect to the unit? -Did I correctly use the "MB" bits with the pushbutton on the screen? -Do I need to do any sort of configuration for my Samba unit? 1) What error messages are you seeing? 2) Yes, that will work fine, but I would use the Positive Transition contact instead of the direct contact for the pushbutton MBs. 3) Just set up the Hardware Configuration to match your PLC and you're good to go. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted June 17, 2016 MVP 2022 Report Share Posted June 17, 2016 Whoops, I didn't think through your logic carefully enough. You need to replace the inverted contact on ladder rung 2 (O2) with MB2 and replace the inverted contact on ladder rung 3 (O1) with MB1. Also, not sure what happens when the press is fully retracted or fully extended - is it okay for those outputs to just remain on? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.