Jump to content

First attempt at creating a Unitronics program; how'd I do?


Recommended Posts

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

Link to comment
Share on other sites

  • MVP 2023

-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.

Link to comment
Share on other sites

  • MVP 2023

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?

Link to comment
Share on other sites

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.   Paste as plain text instead

  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...