Xpid3r Posted March 22, 2015 Report Share Posted March 22, 2015 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. Quote Link to comment Share on other sites More sharing options...
Zac Posted March 23, 2015 Report Share Posted March 23, 2015 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. Quote Link to comment Share on other sites More sharing options...
AlexUT Posted March 23, 2015 Report Share Posted March 23, 2015 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. Quote Link to comment Share on other sites More sharing options...
Xpid3r Posted March 23, 2015 Author Report Share Posted March 23, 2015 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? Quote Link to comment Share on other sites More sharing options...
Xpid3r Posted March 23, 2015 Author Report Share Posted March 23, 2015 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). Quote Link to comment Share on other sites More sharing options...
AlexUT Posted March 24, 2015 Report Share Posted March 24, 2015 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? Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted March 24, 2015 MVP 2022 Report Share Posted March 24, 2015 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. 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.