NickV Posted May 24, 2017 Report Share Posted May 24, 2017 Dear, Since a few weeks I started working with the Vision PLC 430 J T 2. I have three expansion modules (2 for analog inputs and 1 for load cells). Recently I've started writing down the logic of my final program. Until now I only have experience with the Siemens S7 with associated software. I want to create a sequence where the transition from state to state is based upon conditions. Only one transition can be true at any point and the sequence is always the same. I've always done this with flip flops which set and reset each other. Now I’m searching for the correct way to implement this into the Vision software. Can someone advise me on this? Thank you in advance! Nick Verlooy Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted May 24, 2017 MVP 2022 Report Share Posted May 24, 2017 I know that @Joe Tauser would recommend a State Machine, and I would agree, but there is no reason you can't do it exactly like you would in S7 using ladder logic. You can SET and RESET bits in VisiLogic in any way you see fit. Quote Link to comment Share on other sites More sharing options...
NickV Posted May 24, 2017 Author Report Share Posted May 24, 2017 Thank you for the fast response. Indeed, I could arrange this with setting and resetting bits but a state machine may be also a solution. Anyway it is hard for me to start programming this since I don't find a proper example of how to build a state machine. Do you maybe know where I can find it? I've searched on this forum and examples but maybe I’m overlooking it. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted May 24, 2017 MVP 2022 Report Share Posted May 24, 2017 Joe Tauser was kind enough to educate us all on this topic and wrote a very nice example program, which can be found here: 1 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.