Steve Bailey

MrPLC Moderator
  • Content count

    914
  • Joined

  • Last visited

Posts posted by Steve Bailey


  1. Sounds very reasonable. Just pick a protocol. Modbus would probably be your best bet, since you can probably find plenty of Modbus slave sample code for sale or free download. If you want to write your own, the details of the protocol are freely available. You should only have to deal with a few commands, probably just Read and Write to Inputs, Outputs, and data registers. The QP will be the master, initiating all commands. The VB application will just have to respond.

  2. Yes, you can do it. Your home automation system will need to include a COM port driver that sets the port up with the same protocol that the QP uses. The QP will be the master, the PC the slave.

  3. I'm going to assume that what you're calling a "GE Series One Programmable controller on top of the CPU" is in fact a Data Communications Unit (IC610CCM105). The cable you're using is for connection to an interface card for the PC that has a 9-pin RS422 port. Most likely your PC's COM port is RS232. There are a couple of things you can do. First, you can try to get yourself an RS232/RS422 converter and make up the necessary cables. Or, you can purchase a converter from Automation Direct (part number FA-UNICON, $95). I can't confirm that the GE Logimaster One software will be able to read the program from a D3-330 CPU. Maybe someone else has tried it and can report on whether or not it was successful. You may want to consider purchasing DirectSoft32 software for the DL305 from AD. Part number PC-PGM-305 is only $199. So for $294 and a little bit of fiddling around with cables, you should be good to go.

  4. The 90-30 isn't going to be able to understand Omron's ethernet protocol and the Omron won't understand GE Fanuc's standard ethernet protocol (SRTP). They might, however be able to speak a 'common second language'. The 90-30 can also handle Modbus TCP. Can the Omron?

  5. If you're joining a company that has done nothing to automate their production, there will be plenty of opportunities. Your challenge will be to develop an overall strategy and to prioritize. So, if there is a single question to ask, it would be "What do you hope to accomplish?" That establishes your goals. Then you need to develop a plan to get from where you are to where you want to be. Your first projects will be the ones that promise the best return on the time and money invested.

  6. The first thing to remember is that a PLC is only one of many tools you need to able to use if want to automate your process. Knowing how to program a PLC is useless if you can't tell a solenoid valve from a motor starter or don't know how to choose from among proximity switches, photocells, limit switches, etc. If you already know all there is to know about PLCs, then you can consider them a commodity and select a brand on the basis of price alone. If you're a beginner and are likely to need a lot of support to get you going, then you should be asking which electrical products distributor in your area has already established a relationship with your company and is willing to guide you through the learning process. Then buy whatever brand they sell and let them help you make the right selection for your applications.

  7. Cimplicity HMI has a DF1 driver available. The demo that's included on the CD uses a simulation for animation. Any points in the demo that change state or change value are linked to this simulation. To connect to an AB PLC, you'll need to be able to edit the demo to create a device (the PLC) and add device points to the point list. These new device points will be linked to addresses in the PLC.

  8. Chris, Check out the ARRAY_MOVE and ARRAY_SEARCH instructions. The ARRAY_MOVE sets up two tables of registers (source and destination). You can set additional registers to hold the source and destination indexes. For example, an ARRAY_MOVE instruction with a LEN parameter of 100, source address (SR) %R001, destination address (DS) %R101, source index (SNX) %R201, destination index (DNX) %R202, N (number of elements moved) parameter of 1. With a value of 10 in %R201, and a value of 0 in %R202, when the instruction is executed, the value in %R11 will get copied into %R101. With zero in both %R201 and %R202, the value in %R1 will get copied to %R101. With zero in %R202 and 10 in %R202, the value in %R1 will get copied to %R111. The 90-70 makes it a lot easier. In that one, for indirect addressing, use the address @Rxxx instead of %Rxxx.

  9. Does the Logicmaster configuration of the Genius Bus controller still call for a redundant system? If so the bus controller you're using might not be controlling the bus. Open Logicmaster configuration, zoom on the bus controller, then zoom on whichever SBA corresponds to the bus controller (usually SBA 31). What is the selection for the 'Redund mode' field? The choices are "NONE', 'DUAL BUS', 'RED CTRL', and 'DB/RC'. The redundant control schemes require a mechanism to define which bus controller in which PLC is in control of the outputs.

  10. Check to make sure that %Q0033 has not been assigned to more than one device. Using the handheld, can you force the outputs on the Genius block on or off? Are there any faults on any of the blocks? Are you sure that the same conductor in the cable is connected to Serial 1 at all devices and the other conductor is connected to Serial 2? The handheld can give you some diagnostic information about fault status, the presence of forces, bus scan time, and communications errors. Try connecting it at any location and use it to scan through all devices on the bus. Is there anything else in the PLC program that could be interfering. I'm thinking specifically about datagrams that might be trying to communicate with one or more blocks.

  11. I don't see Belden 1583C cable on the list of recommended cables for Genius. Quoting from the manual GEK-90486F-1: "Other, small-size twisted pair shielded wire of unspecified impedance can be used for short runs of 50 feet or less, using 75 ohm terminations."

  12. Let's say you wanted to add a new block with 32 outputs to the network at SBA 2. Here are the steps you need to go through. First, in the PLC's configuration using Logicmaster software: 1. Zoom on the GBC 2. Use the left or right cursor keys to highlight SBA 2 3. Press F2 (d out) 4. Cursor down to IC660BBD025 5. Hit <Enter> 6. Logicmaster will assign the next available %Q address to the block. You may modify it if necessary. 7. Hit <ESC> enough times to get back to the main menu. 8. Press F9 (utilty), then F2 (store), then <Enter>, then <Y>, to store the revised configuration to the PLC. The PLC must be stopped before trying to store the configuration. 9. Restart the PLC. Second, at he Genius block using the handheld: 1. Power up the block with the bus cable disconnected. 2. From the F1 key (Prog Block ID) of the handheld, assign SBA 2 to the block. 3. From the F2 key (Config Block) of the handheld: 3a: Pulse test - don't care, you decide. 3b: Input filter time - leave at default 3c: I/O Circuit Cfg - change to all outputs (default is all inputs). 3d: Report Faults - don't care, you decide. 3e: Hold Last State - don't care, you decide. 3f: Output Default - don't care, you decide. 3g: BSM present - No for a single Genius cable, perhaps Yes for your TMR system. 3h: Output Def Time - Leave at default of 2.5 seconds. 3j: CPU Redundancy - No for the purpose of testing, probably Yes for TMR 3k: Duplex Default - Leave it at OFF 3l: Config Protect - Leave it disabled. Cycle power to the Genius block after setting these parameters to make sure they have been accepted. Reconnect the Genius cable. Make sure the termination resistors are installed at the physical ends of the Genius cable, and that the resistance value matches the characteristic impedance of the cable (don't use a 75 ohm resistor with a 150 ohm cable).

  13. Your sample ladder logic is a bit confusing. Presumably, %Q001 - %Q032 are assigned to the MDL750. To what device is %Q033 assigned? The designation %Q applies to outputs, but you said it's working correctly when the block is configured as inputs only. The inputs from the Genius block should be mapped to %I address space.

  14. If the I/O Enabled LED is off, it indicates no communication between the bus controller in the PLC rack and the Genius block. When you say it works OK when configured as inputs only, do you mean that you can see an input turn on and off when monitoring it with Logicmaster? Or do you mean you can see the LED on the Genius block turn on and off? Have you installed termination resistors at the physical ends of the bus? When I say that the PLC configuration must match the Genius block's configuration, I mean this: If a 16-circuit block with SBA 1 is configured as inputs only, when you run Logicmaster configuration and zoom on the bus controller, and look at device number 1 on the bus, that device should also be configured as a 16-circuit inputs only. This does not happen automatically! The configuration you make at the block using the Genius Handheld must be duplicated in the PLC using Logicmaster.

  15. You can put together a Genius Modular Redundancy system with one, two, or three processors. It depends on the level of redundancy you're after. So, yes, it's true that you can connect three PLCs to the Genius I/O. Whether you should depends on your application. Have you been in contact with the people who specified this system? You should be able to get assistance from the people who sold it to you. Redundant systems, by their very nature are complex. Since they are justified on the basis that the cost of downtime is unacceptable, it's important that they be properly configured and commissioned. Have you considered hiring an integrator with experience in redundant systems? Have you downloaded the manuals related to GMR from the GE Fanuc website? To answer the question you posed in your private message, I don't have any examples of configuration for redundant systems. I suggested that you first establish communications between a single PLC and the Genius blocks before moving on to the challenges presented by redundancy. You may have misunderstood my answer. In your email, you asked , but my suggestion was about using the Genius Handheld to configure the individual Genius I/O blocks and making sure that the PLC's I/O configuration matched it. Please respond by letting me know if you understand what I mean about the Genius I/O block configuration needing to match the PLC's I/O configuration. If you don't, I'll explain in greater detail.

  16. The configuration of the Genius block, as established with the Genius Handheld monitor must match the CPU's configuration file as established by the programming software. If there are discrepancies between them, you won't get the I/O enabled LED. I'm concerned that you're changing between inputs only and outputs only. How is the block supposed to operate?

  17. The limit for %R registers in a VersaMax CPU001 depends on the amount of memory used by the rest of the program. The limit of 4096 is only to maintain compatibility with earlier firmware releases. Thos earlier releases had a hard limit of 4096, but the current versions no longer impose that limit. That model CPU has 34 Kbytes of memory available. The maximum number of discrete points is fixed, but %R, %AI, and %AQ memory can be reallocated. The more memory you reserve for %R (data storage), the less you have available for the program.

  18. The user's manual for the Series One is not available on line, but the manual for the Automation Direct DL305 is. The programming software for the Series One was called Logicmaster One. It is a DOS application and is no longer available. If you could locate a copy, you might have problems running it on a current model PC. If you had it, and if you had a computer you could run it on, you would need the hardware I described in my previous post. If you don't have any of the GE Fanuc items, there are compatible components currently available from Automation Direct. Their programming software is called DirectSoft32. The version for that model is part number PC-PGM-305 and carries a list price of US$199.00. Here is where you have to be careful. DirectSoft32 is only compatible with some of the GE Fanuc CPU models. You can also view the ladder logic program with a handheld programmer. The GE Fanuc part number was IC610PRG105. It can plug directly into the CPU module without any cable. The equivalent Automation Direct part number is D3-HP. You should also verify whether the Automation Direct handheld is compatible with your CPU. With the handheld, you can view the ladder logic and transcribe it by hand so that you can translate it to Omron.

  19. The product formerly known as the GE Fanuc Series One is now marketed as the DL305 from Automation Direct. http://www.AutomationDirect.com The part number you gave is for the 5-slot rack & power supply. For compatibility with software from Automation Direct, you need the part number for the CPU module. That's the module immediately to the left of the power supply. You also need a serial communications interface part number IC610CCM105. If you have one of those, you also need a RS422 to RS232 converter. If you don't have one, you can buy a version from Automation Direct that has an RS232 port.

  20. You can download a copy of the DOS software for that PLC here: http://www.geindustrial.com/cwc/gefanuc/su...rsIO/lm90-d.htm The 15-pin port is RS-485, so you'll need a converter to interface with a PC's RS232 port. The pinouts for the port (and plenty of additional information) can be found in the manual GFK-1065f, downloadable from the same geindustrial site. http://www.geindustrial.com/cwc/gefanuc/su.../s90micro-m.htm

  21. This is from the GE Industrial website. http://www.geindustrial.com/cwc/home Follow the 'Buy' tab. FUJI/GE PTE LTD NUSANTARA BUILDING, 20TH FLOOR 59 JI M H THAMRIN, JAKARTA INDONESIA PHONE: (62-21) 310 3939 FAX: (62-21) 310 0659

  22. %I, %Q, %M, %G, %S, %T are discrete (On/Off) data types. %R, %AI, %AQ are 16-bit registers. These are all covered in Chapter 2 of GFK-0467m, starting on page 2-20. When you use the MOVE_BIT instruction, it behaves as per your expectations. The LEN parameter refers to the number of bits. When you use the MOVE_INT instruction, the LEN parameter refers to the number of 16-bit integers. When you use Logicmaster software and select a MOVE instruction, the default data type is INT. You have to change it to BIT, DINT, or REAL. When using VersaPro or CME software, you select either MOVE_INT, MOVE_DINT, MOVE_REAL, or MOVE_BIT from a list.

  23. The 90-30 does not support programming that requires accessing %R addresses at the bit level, which is what you're trying to do in your second rung. LM90-30 won't let you enter a rung like that. Even if it did, your addressing would have to be something like %R0001.01 or %R0001/02, not as you've presented it. %R0001 is a 16-bit address. %R0002 is the next consecutive 16-bit address, not the second bit. I don't know why you don't just use the %I and %Q addresses directly in your program instead of the MOVE instructions, but if you're determined to do it that way, MOVE the %I addresses to %M. A MOVE_INT instruction with %I0001 on the left side of the function, %M0001 on the right side, and the LEN = 1 will move %I0001 to %M0001, %I0002 to %M0002, ....... %I0016 to %M0016.