Jump to content

Recommended Posts

Hello.

 

I am programming my first Unitronics product and I am having some issues...

 

I have a SM35-J-R20 PLC and the system bits 2, 250 and 251 seem to not be working... I have tried to connect them to toggle coils which in turn activate a MB. I use this MB to turn on a LED on-screen (my simplest attempt, I have tied many other methods) and nothing...

 

Does the Samba not work with these bits? Is there a common bug/user error that could cause this?

 

Thank you beforehand.  ;)

Share this post


Link to post
Share on other sites

Hi,

 

SBs 250 and 251 are intended for the Standard Series Vision controllers, so they will not accomplish what you're looking to do.

 

On more recent controllers those system bits have had their function replaced by the "Legal Entry" Link on almost all on-screen elements you'll use.

Previously, the standard series controllers did not have that "Legal Entry" link, so SB 250 and 251 were required.

 

SB 2 will only be high for a single pulse on power-up.  SB 2 is perfect for running one-time configuration/initialization whenever the controller is turned on. 

 

 

 

Share this post


Link to post
Share on other sites

Hi,

You can find System Bits descriptions in Help->Operands->System Operands.

SB 2 is active only for the first system scan after powering PLC on.

 

SB 250 and SB 251 are active for Standard Vision without touch screen, not for Samba, as explained in Help.

 

You can use SI 45.

What exactly do you wish to do?

 

You can use disply elements, such as Binary Text, Binary Image, Button, etc., link them to MB and realize your logic.

 

It will be useful to watch webinars to be familiar with PLC.

Share this post


Link to post
Share on other sites

Thank you for your answers.

I figured out the password field issue, I managed to implement the functionality I was looking for.

The SB2 still has me a little baffled... I attempted to switch a coil on at boot for testing purposes, as well as the logic shown in the hmi tips and tricks webinar for splash screen. None of them worked, it's like SB2 is dead. Clues?

Share this post


Link to post
Share on other sites

My biggest concern at the moment is that i will need soon to implement ethernet functionality and without SB2 i wouldn't know how to initialize the tcp configuration (as seen in the ethernet webinars).

Share this post


Link to post
Share on other sites

I recommend you to conduct small test to prove that SB 2 works.

Use empty project and use next net - when SB 2 then INC MI 0.

-| |--[iNC]-

SB 2, MI 0

Each time you power-on PLC, MI 0 will be inremented.

Isn't it?

Share this post


Link to post
Share on other sites

If you're not using a SET coil, you will never see the coil switch on since it will switch on for only one PLC cycle and it will be too fast to see.

Share this post


Link to post
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...