hein123

MrPLC Member
  • Content count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About hein123

  • Rank
    Hi, I am New!

Profile Information

  • Country South Africa
  1. KTP700F HMI Stuck On Startup

    Have an issue with a couple of KTP700F HMI's that gets stuck on the startup in the Windows screen and not loading the HMI project. Current Image Version: V17.00.00.00.00_42.01   All that I can think of is to update the HMI FW and reset to factory defaults, else is there any other recommendations?  
  2. IM151-8 Serial Problems

    Please help, I am pulling my hair out . I have a IM151-8 PN/DP CPU PLC with a few Serial Com cards (ET200S 1SI ) for reading barcodes. Firstly I want to know if this is possible. Because all barcodes work similar, I wanted to use a FC and within the FC I use the S_Send and S_Rcv FB’s which each have its own instance DB. Basically when I send a start signal, it send a start signal and then read the barcode, pretty straight forward and when I do this on its own all is good. I use indirect accessing inside with the FB, but this is working. The problem comes when I add the S_SEND FB or S_RCV FB. It firstly gives me an ‘STOP caused when allocating local data’ fault and sometimes a FB not loaded. I have about 40% memory left on the device. When I use just working FB from my test within the ‘pull my hair out FB’ it still gives the fault, without using indirect addressing. Please, any advice would be greatly appreciated
  3. Programming Style

    Hi I have a question about programming style. What I know is it is better to have a few sub routines grouping the functions together, like controlling valves in one moving motor in another so it is easier to debug. However my question is what is a good programming style to control the sequence of events that occur? What I currently do is do everything sequencily in steps, like step 1 is move Valve A, if valve A is forward go to step 2, then step 2 is to move Valve B, etc. This works great for troubleshooting and messages to WinCC as you know exactly in what step it is in and what has to happen next. But the problem is if the sequence is broken, then the entire sequence has to be resetted, parts have to be taken out if they are in inappropriate places, etc. So what I would like to find out is is this the best structure of doing things as I can't find any standard? Any advice would be appreciated