Dylan Cramer

MrPLC Member
  • Content count

    6
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Dylan Cramer

  • Rank
    Newbie

Profile Information

  • Country United States
  1. Omron PLC - PLC via SCU41

    You can use the RECV2 instruction with the CJ2. PMCR for this would almost be overkill. You would set the RECV2 instruction up to read a specific data area from the other PLC, its basically a canned FINS instruction. Hope this helps. Dylan
  2. Bootp related questions

    1. Bootp is an older method of a client obtaining an IP address from a server, and it is a temporary assignment of an IP to a MAC address. DHCP pretty much replaced BOOTP, so on home purchased stuff you won't see it. 2. Yes, a PLC can use DHCP but in an industrial environment you usually want static IPs so you can target a specific device easily etc. 3. You are pretty much correct. I use BOOTP to initially configure an IP address, then I disable BOOTP on the device. This way the IP is set within the PLC and it will not request another IP via BOOTP, ever. With BOOTP enabled, your device will request a new IP upon powerup everytime. 4. Not sure exactly what is in the bootp file - I assume the client sends its MAC address out and waits for a response with an IP address from the server. BOOTP can be disabled, and I would disable it unless you need it enabled for some reason. Thanks, Dylan
  3. PLC Law

    #23.1 -- Never, ever, put a force in place unless you are 100% certain of the reaction of the logic/equipment.
  4. Knowledge base 562226 has a good downloadable example of what you are trying to do. The knowledge base article is about the web browser active x, but the download example has a button to open a locally stored .pdf. However, I believe you must have a PV+ 6 with "enhanced features" to use these active x controls. Your HMI part# would have a 9 at the end if it has the enhanced features. Hope this helps.
  5. I've grown to be a huge fan of the new Keyence barcode readers that have been coming out. They're much less expensive than the Cognex datamans, and seem more robustly built. Check out the Keyence SR-650 series, has ethernet and RS232 on board. Only potential drawback on this series is it is a fixed focal scanner.
  6. best way to code a simple sequencer

    What I have adopted, and will work among all PLC brands is very simple. Select a retentive memory location to be used as the "Step". Each rung uses a comparison instruction followed by logic that needs to take place before proceeding to the next step, then a move instruction (MOV). You can then add logic for pause, step, etc. Faults can reset the step and so. It is how I like to program more complex and involved pieces of logic that needs to interact with other things. I.e. step 0 ----<CMP D10 &0>--------<logic to be true>----------------<MOV &10 D10> step 10 ----<CMP D10 &10>------<logic to be true>-----------------<MOV &20 D10> and so on. Then with this, you may end up with 20-100 steps depending on how complex the machine is. You can compare the value of the step register to determine if certain outputs should be on or off during that step. Obviously my above text example of logic is very simple, but you get the idea. Very simple and it works very well.