Search the Community

Showing results for tags 'state machine'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 23 results

  1. Hello, I really appreciate the help I have gotten from you all. Thank you so much. I have an anomaly I need your experienced opinions on: When my state machine gets to state 3, it will hang and not update the state machine variable to go to the next state. I use [MOV K24 D3999] where it hangs; and is an example of how I do all my state changes which do work. (my states are 21 through 28; 8 states total). Each state is super simple like this one attached where it hangs, I could easily simplify to a few states, but I did 8 for debugging and organization purposes. Maybe I can get around it if I shrink my state machine but but it shouldn't be hanging like this and I should learn what the issue is to help me out later with bigger state machines. ================================================== About the attached image: D3999 is the state machine variable and it shows state 23 (the 3rd state) so this rung is active. It does a bit shift on something to the left as expected, increments a Z10 variable for some outside operation as expected, but fails to move 24-decimel into D3999 so it hangs here. The image is snapshotted during live operation: the [= D3999 K23] is live, shown by its blue highlighted boarder. The bit shift and increment do happen, and if I did not make them P functions (P means pulse so they happen only once on a rising edge) then they operate repeatedly when it hangs making it stuck shifting millions of times and counting Z10 like crazy. But MOV and MOVP does not matter, it will NOT mov K24 into D3999. The fact that the SFL(P) and INC(P) functions right next to the MOV(P) function do work, but MOV(P) will not, is really odd. I can manually enter 24 into D3999 in the watch menu, which works, and the state machine continues on. Every other state uses the same logic (using MOV K# D3999) successfully and so the machine cycles back to this 3rd state (like normal) but then get stuck on this 3rd state. Any ideas why it is doing this? I do not use SET or RST on D3999 to avoid that kind of latching... Note: I tried INC(P) on D3999 here since it always goes from state 23 to state 24 (states 3 to 4), but the INC(P) also fails to increment D3999. INC(P) Z10 works though...??      
  2. Hello Engineers. Is it a good idea to run RsLogix 500 in a Windows 10 virtual machine with a Windows 11 host? because according to Rockwell Automation, there is no compatible version of RsLogix for Windows 11. Thank you
  3. Hello im using  EcoStruxure Machine Expert  1.2 and i missing IEC Objects  tab  on the Controller properties. thanks for answers!    
  4. Please Help me, I want to connect aczet brand weighing machine CG203L to PLC CP1L-M. But several times I tried it didn't work, I've tried repeatedly in the settings section to adjust the baud rate and mode and have tried one by one but to no avail. Can any of your friends help? thank you
  5. EPS& Rock Wool Sandwich Panel Making Machine including unwinding, before cutting, film, beading / molding, rock wool and spray delivery, Edge foam, continuous curing, cutting and other functions, high degree of automation, stable performance.Edge polyurethane foam systems, automatic feeding system, to ensure that the raw material requirements in full accordance with the ratio of mixing, spray evenly; using a reliable foam technology to ensure uniform sheet foam, dense, sheet closely connected.The production line is equipped with automaticcontrol system, userfriendly interface for easy operation, monitoring, advanced computer control, easy to adjust the entire line of argument, effectively ensure the production line stable and efficient operation. https://www.yingyee.cn/sandwich-panel-production-line/45509417.html
  6. Hey Guys, Modicon M221 PLC, programming with Machine Expert. I have a project that I must create shifts for heating elements, requiring that some heating elements, those who were on for the longest period, do not turn on in the next shift. I'm looking for a sorting mechanism to determine what %MW (6 words of 8 total) have the largest value. I would like an array of 8 words, sort them, and retrieve the highest 6 or highest 4 or highest 2.   Thanks.  
  7. Dear Colleagues,   I require some help with regards to setting up virtual machines, We have some ControlLogix 1756 PLCs scattered around site running on different version (v20, v21 & v32). My company requires all software installations on company computers to go through IT. Installing all these versions on single PC is really a pain (going through IT)  for new hires and for new PCs. I am trying to suggest using virtual machines for each version that can be shared/distributed among the engineers and also to give engineers some autonomy in the VM environment.    How do I go about this especially with respect to licensing without violating the terms of use both the operating system and the automation software? 
  8. Hi, I have problem with 5069-obv8s, trying to use it for a first time just to power relays and contactors. All outputs are in internal fault, even if their are not conected. The card is set to use single output as safety outputs. Additional power on LA+ and LA- ports is connected. I don't know what else should I checked to fix this problem. There is no problem in controler or this specific module just on all of outputs. Hope someone will be able to help.
  9. I'm a young Controls Engineer at an integration company, and I need assistance.   I have a client that has about 330 different alphanumeric product numbers broken down by length and width. The operator must be able to select the product number at the HMI to pass along to the robot we are integrating. Is there a way to be able to have the operator select the product number simply, without having to scroll over 300 items in a single control list. The HMI is not chosen yet, so it can be GE, Rockwell/AB, or Automation Direct, but we are using a AB ControlLogix Processor. Racking my brain and I have little VBA/Scripting experience.
  10. I'm an automation tech in a tool and manufacturing facility.  Lately, we've quoted a few projects for customers that include tooling (stamping dies usually) as well as some partial automation.  The automation is fairly simple usually...motor, drive, actuator to transfer material in 2 axes, e.g.  The company president and quoting engineers don't think it's a big deal for us to do this, but I'm a little wary to agree to these projects.  I have 2 years experience doing all sorts of small programming tasks, wiring, control panel design and build, troubleshoot, etc. However, I also know that there are a lot of industry and safety standards to follow when you start machine building/integrating for customers.  The tooling build is straightforward and is our forte.  But we have no electrical/controls engineers, and we have no standards really for automation "builds".  I've done smaller projects for us and I'm trying to develop some sort of standards, but there was nothing like that when I came into this position.   Anyway, should I undertake these sorts of projects in your opinion or not? And if I would, what sort of knowledge/standards should I master in terms of liability and safety, and where would be a good place to start in developing a wiring/electrical schematic standard? Thanks for your assistance. Andrew
  11. I have done some digging and cannot find an alternative.  I need a Multi-State Indicator for my NA-Series HMI that functions like the "Data Lamp".  I do not like the "Data Lamp" because of the darker shade to the color scheme.  Does anyone know of an alternative?  I know I can simply use several "Labels" of different text/color and then only make "visible" the state I want the operator to see...…. Thanks,
  12. Hi, I've been having a problem with my Schneider setup, and I can't seem to figure out the problem. I'm using Machine Expert Logic Builder and Vijeo 6.2, and I can't seem to download to my PLC. I can download to my HMI just fine, but my HMI comes back with the message as mentioned in the title. Also when I perform a full download, machine expert comes up with the message "Could not connect to the device for item "xx", selected target system "PLC name" is different from the connected device "HMI name". The weirdest thing is that machine expert shows my PLC just fine, but doesn't show my HMI. I have no idea what to do, as I feel like I've tried everything. The IP range is fine, subnet is fine. The driver in IO manager in Vijeo has the PLC nodename in it, so that shouldn't be the problem either. Does anyone know what to do in a situation like this? Thank you in advance!
  13. Control Panel

    Is it possible to view the values / states of all inputs, outputs and workbits (e.g. 64.00 through 64.15 on Omron CQM1 PLC) on a single screen or control panel within CX-Programmer software?  I'm trying to troubleshoot some ladder logic that I wrote and need to know the values of 5 or 6 inputs/outputs/workbits simultaneously.  Having to scroll up and down through my ladder logic repeatedly does not work well with code that changes state every 5-10 seconds or so. Any help is welcome.
  14. IC220PNS001

    Hello, I currently have two IC220PNS001 connected to IC695PNC001. The PLC being used is IC695CPE330. Out of the two PNS001, one of them has a solid SF Red light on which means bus error according to the Status Parameter IO. I disconnect every single IC220 card connected and downloaded the whole configuration but I still have a Bus error.  PS: I have also tried to switch the PNS001 with the brand new out of the box and I still have the same error. In the manual, it says Profinet Diagnostic available, can somebody please guide me as to where I can find the Profinet Diagnostic, also is there any manual for PNS001 which explains the in-depth debugging process for this PROFINET Controller.  
  15. Software for GE 90-30

    Hello all, I am an electrical engineering student and I am looking for some software to program some GE 90-30s I've acquired. I received the PLCs from a mentor at my internship after the summer was over. I have somewhere between 7-8 of them with a bunch of cards and other accessories. I was hoping to start doing some projects on my own to study them, but unfortunately, I don't have any software to program them.   I have some files for Logicmaster from the company directory that I was given permission to copy, but it won't run in any compatibility mode.   Does anybody know where I could find another copy of the software or a download for something like versapro or proficy machine edition for a student? Even if I have to pay a discounted price, I would, I just want to learn programming basics.    
  16. There have been many good discussions on the applicability of cloud-based solutions for manufacturing and process control systems. On one side, some people have concerns regarding security and control of the information, on the other side, there are identified benefits enabled by cloud systems. From VMS minicomputers to DOS and Windows, from ArcNet to Ethernet, it is inevitable the industrial automation systems shall adopt the technologies that are getting predominant in IT general use; the current environment that I am calling the “Cloud-iPad era” is no different; therefore the practical discussion is not if those new technologies will be applied in the industrial environment, but how. This paper is not intended to join the conceptual discussion about the cloud, but just to present a few simple practical examples, where cloud technologies are already enhancing industrial automation solutions and enabling new business opportunities. CloudPracticalApplications.pdf
  17. State Machine Based PLC Logic Design

    Dear, Folks Greetings of the day                                     I am got very confused in "State Machine" Based Logic design, now am doing Index table based vision inspection system it having 6axis servo, now the major issue is I need to do the better logic with easy error traceability technique. So am chose state machine based system design but the error handling of system is very difficult for me. Any Process automation experts give me the proper solution for this issue or suggest any good book for this state machine error handling concept. Am tried it in web search but I can't get suitable answer < Thanks in advance > 
  18. Is there a way to choose with %MW you use depending on the value of %SW49? For example, i have 7 %MW: -%MW4 that needs to be active when %SW49 :=1 -%MW8 that needs to be active when %SW49 :=2 -%MW12 that needs to be active when %SW49 :=3 -%MW16 that needs to be active when %SW49 :=4 -%MW20 that needs to be active when %SW49 :=5 -%MW24 that needs to be active when %SW49 :=6 -%MW28 that needs to be active when %SW49 :=7 so is there a way to say %MW0 := %MW(4*%SW49) on a operation block?
  19. Hello  i have a versamax plc icu200udr064 which is connected to a modbus rtu network.  i want to send some coils states on the modbus network with a specific data address, so can this be done by proficy machine and if yes can you help with that? thank you 
  20. Hello  i have a versamax plc icu200udr064 which is connected to a modbus rtu network.  i want to send some coils states on the modbus network with a specific data address, so can this be done by proficy machine and if yes can you help with that? thank you 
  21. Programming a HMI to revert to Home Screen

    Hello everyone, I was wondering if anyone here could explain to me how I can program my human-machine interface (HMI) to revert to a Home Screen after a period of inactivity. If the user has to leave at any time, and leaves the HMI on the last screen he/she was working on, I want the HMI to revert back to my Home Screen after 60 seconds inactivity. Has anyone here done anything similar to this before? Do you think it's worth the trouble of having such a function built into the HMI? Thank you for your time and for reading.
  22. I would like to bring up a topic that I've been been bouncing around in my head for the past few months. I make a living as an industrial programmer, sequencing using PLCs, dealing with drives, networking, controlling heavy machinery. All the hardware we use are from established companies like Allen Bradly, Sick, Cognex, Delta, ABB, etc... big $$$, you pay for the software, pay for the hardware and pay for the support. It's not uncommon for a large control system to cost $50k+ (hardware only) By night I'm just your regular maker. Programming AVR series uC, ARM series, playing with various open source hardware Arduino, RPI, Teensy, 3D printers, designing PCBs, stepper motors... whatever I can get my hands on. Both worlds are the same... but completely different, and there is ZERO overlap. I'm interested in why other people think this is, I'm sure that makers don't get into the industrial stuff because the price point. I'm not going to pay 8k for a AB Logix rack... are you kidding me? but vice versa? is the lack of support really all that daunting? I find OS stuff to be way more powerful, understanding something from the bare metal is the most amazing feeling, and being able to modify it to your needs is even better. Digging into somethings source is without an argument the most flexible platform to build on, and knowing the board level schematic for a chuck of hardware opens up a world of opportunities... Then lies the ethical dilemma... If I was to profit off other people's work, does this make me a bad person? What if I push the changes back into the development (which frankly I have no problem doing) I would love to head other people's opinions...
  23. Hi Gentlemen, I ran into a Sixnet RTU job recently. I noticed that there's no 1st scan bit! Don't know how to get the run status or the 1st scan bit. Maybe I am not looking in the right place. Is there a way around this? Maybe this is a stupid question but shall appreciate any help. Thanks for looking in.