MrPLC Member
  • Content count

  • Joined

  • Last visited

Community Reputation

58 Excellent


About JRoss

  • Rank
    You want it when?
  • Birthday 06/05/79

Contact Methods

  • Website URL http://www.rossautomation.net

Profile Information

  • Gender Male
  • Location Dillsburg, PA
  • Country United States

Recent Profile Visitors

4859 profile views
  1. I use Excel to generate repetitive logic, such as alarms or I/O mapping. I create one rung in Logix, copy into Excel, then use a variety of Excel tricks (formulas, auto-increment) to create as many duplicate rungs as I like. You could probably use the method to write an entire program, but that seems silly. It's fantastic for repetitive stuff, but it can't do syntax checking or anything like that. I have worked with a company that starts large projects by using software to auto-generate an L5K file with boiler plate code for things like sequences, but even they do the real work in Logix.
  2. GT Designer 3 - Pop Up Screens & Button Issue

    Once you find the correct pop-up... If there are buttons in the project that aren't showing up on the screen in runtime, open up the properties and look at the Trigger tab to see if the visibility option is selected.
  3. In GX Works2 you can also do that in Simple Project if you enable Labels. You don't need a full structured project. That's my preferred method. If you already have a simple project and didn't enable labels, you can add it back in by going under the File menu and choosing "Change PLC Project Type". Then you can right-click the POU folder and add additional programs.
  4. Z13Z19

    You said that Z13, Z14, etc. are recipe values? They must point to a lookup table. Try to find where Z19 is calculated, that will give you some clues.
  5. Z13Z19

    Z is an index register device. It's used as a pointer to modify the address of the device in front of it. For example, D100 is a data register. D100Z0 is an indexed data register that points to D[100 + Z0]. So if Z0 = 3, then D100Z0 is D103. I guess the Q lets you index an index register. So Z13Z19 is pointing to Z[13+Z19]. That's a level of crazy I've never tried.
  6. Z13Z19

    An indexed index? Didn't know that was possible. Which PLC?
  7. Motion Control

    There's a motion reference manual on the AB website. Also talk to your distributor about your application for more specific help. The online instruction help within Studio 5000 is pretty good, that's where I start when trying to understand a new instruction. And there's nothing like just trying things. Create a couple of virtual servos. Add motion instructions to a routine or use Motion Direct Commands (right-click on the axis object) to command the servos in different ways. Use Trending to monitor position, velocity, etc. When you think you have a handle on it, try it with real hardware.
  8. LAN connection

    If you want a permanent installed solution, you need an industrial switch. Not necessarily a managed switch, unless you're trying to control traffic. Something like this would be adequate if the PLCs are on the same subnet and the network is small: https://www.automationdirect.com/adc/Shopping/Catalog/Communications/Industrial_Ethernet_Switches/Unmanaged/10-z-100/SE2-SW5U If this is a temporary thing and the PLCs are close enough together, then you can use any old office switch you have lying around. I do this all the time during startups if there are more than one programmer working on a system. Another option is to add a second Ethernet adapter to your laptop. I use a Pluggable brand USB Ethernet adapter, and have been very happy with it. Install the driver, plug it in, configure the Ethernet settings, and you can be connected to two different networks with no problem.
  9. Motion Control

    You're going to continuously ramp the motor speed up and down? I would investigate the camming instructions. You can create a curve and execute it continuoustly. You'll create a virtual master, set your drive to follow the virtual master with a cam profile executing continuously, then start the virtual master. Why are you doing this?
  10. Interesting. My only thought is that there is a system bit you can turn on to drop the remainder instead of storing it, but I've never used that feature or noticed the information in the manual. I always just account for the remainder when laying out memory.
  11. It's D534 changed by the process, or just by the user? If it's the user, then create a spreadsheet that does the same math and put in a whole bunch of typical numbers to see what happens. The MOD function in Excel will give you the remainder from a division. If it's changed by the process, then this is harder unless you know what usually is in the register. I would disable rather than delete until you know what will happen.
  12. Motion Control

    I'm still not sure what you are trying to do. It sounds like you want the motor to follow the encoder, but the only thing you can do with your setup is use the encoder as feedback for the motor so that when you tell the drive to go to a certain position or speed, the encoder reports the position and speed to the drive so that it can correct any errors. If you want to have the drive/motor follow the encoder, in other words the encoder moves forward so the motor moves forward, that will you to wire the encoder into the system differently, or get a second encoder.
  13. Motion Control

    How is the encoder connected to the system and where is it mounted? Are you using the encoder as the feedback for the motor (i.e. servo-like operation), or as a master device that the motor will follow? The PF527 can be set up as a motion axis in the motion planner and commanded like a motion axis. I've used this to have a PF527 controlled conveyor follow a Kinetix 6500 controlled conveyor in a master slave relationship.
  14. Wild guess that they are using the code to make sure that the setpoint entered is formatted correctly? As in, must be in increments of a certain depth.
  15. Motion Control

    Model numbers of the PLC, Servo Drive, Servo Motor, and Encoder are necessary pieces of information. Sample code is available from Rockwell, ask your distributor for details.