Geir

MrPLC Member
  • Content count

    103
  • Joined

  • Last visited

Posts posted by Geir


  1. Hi, our school got a box of surplus M340 and TSX Premium from a local company, I don't have any detailed info on any of them. When I connect the TSX Premium to my local network, it gets an IP address, and I can ping it, but it will not connect to UnityPro. Error: Invalid address or busy PLC. Looking at the indicators there are a few error lamps, on the CPU TER is lit and ERR, on the Ethernet part (built in ethernet) STS is lit ERR flashing and RX flashing briefly. Also all the IO modules have ERR lit. Is this something that can be sorted with the TXP/IP connection, or will I have to get the adapter for the terminal input. On the same network the M340 seems to be connecting just fine. Until now, I have very little experience with these PLCs, we mostly use Omron equipment at our school. Any input appreciated.... Geir

  2. There is probably some scaling involved, first you need to find the input range of the PIDAT itself. Look for a MOV that puts a HEX number like #1494 in the Setpoint + 6 address. IE if the setpoint is at address D3101, the range control parameter is in D3106. the second digit (from left) is the input range/resolution. 0 is 8 bits, 8 is 16 bits. 4 is a common value, that gives 12 bits resolution and a range of 0 to 4096. A setpoint of 50% would then be 2048. Geir

  3. In Europe you can register your software here: http://softwaredownload.europe.omron.com/europe/www/OmronIndustrial.nsf?login&redirectto=/europe/www/OmronIndustrial.nsf/WebApp/softwaredownloadarea and download new versions of your software in CD or DVD image format. (Within the main version number). Geir

  4. The display is optional, but this is from the tech info, does not say how to fix it thou :( If the error is not obvious, I usually start troubleshooting by resetting to factory before making a fresh configuration. ? Device status (markers) on HMI display 1 = Hardware problem (any hardware problem making the device unable to provide a correct measurement (communication, memory problem…) 2 = No Reference Pulse 3 = Low Voltage or Measurement Old 4 = Level Lost Note: The current output will be set to 3.6 mA whenever the AKS 4100/4100 detects an error like: "Level lost", "Overfill error" or "Reference pulse lost". Geir

  5. Hi, anybody know of a supplier that will sell a couple of the HONDA MR34FG plugs? All the dealers I have found on the net have a minimum order policy :( My local Omron guy said he would look for one, but I haven't heard from him since... Geir

  6. Having looked closer at this problem, I found that FWRIT saves everything as ASCII when using the .CSV format, including any inserted CRs in the data :( Haven't tried to save as binary though, it might work there. A possible workaround could be to insert a unique code in position 47 of each record, and then replace it with linefeeds in WORD before importing it into EXCEL. Geir

  7. Haven't tried it myself, but I suppose something likethisshould work, but the BCD version has limited resolution, the CP1 series seems to lack a gray decode instruction, and there won't be many inputs left on a "small" CP1E. Another option might be an encoder with 4-20mA analog output? Geir

  8. Here is the manual http://downloads.industrial.omron.no/IAB/Products/Automation%20Systems/PLCs/Compact%20PLC%20Series/CP1H/CJ1%20Analog%20IO%20and%20Control%20Units/W345/W345-E1-11%2BCS-CJ-Series%2BOperManual.pdf and a section for configuring MAD 42, that is both In and out, but combined with the manual you should be able to work it out. It is also possible to confugure the module in the unit setup in the IO-table, but I prefer to do it this way. Geir Init_MAD eng.zip

  9. If it is a fairly new CPU it should not be a problem, but if it is an older unit it might not handle function blocks. On the side of the CPU, there is a label containing the CPU type numbers and various info. One entry should read "Ver. 3" or "Ver 4". Ver 2 or earlier did not have the FB functionality. Geir

  10. Do you need to control temperature below zero? If not, I think the easiest thing to do would be to prevent the input to the PID from going negative (the PID takes an unsigned input) and set up the PID as 13bit in. The input should then be scaled to #1FFF max. If you only need a temperature range of 400 degC, you could set up the PID as 12 bit in without scaling. Geir

  11. First open the PLC IO Table, doubleclick the [1500]CJ2M-EIP21 line in Built-in PortInner board. Open the Auto Adjust Time page of the setup window. Input the time server of your choice in Host name and the desired Auto Adjust Time interval. You may also need to adjust your time zone relative to the time server. If you have a firewall, port 123 must be open. Transfer to Unit, and you should be OK. There is also supposed to be a Time server service in Windows, I have not tried it, but I suppose you enter the IP address of the timeserver PC in the appropriate field after starting the service. Geir

  12. First you have to look at the old program and find out which expansion instructions are being used, then you doubleclick the "Expansion Instructions" item in the project tree in the left CX window (if you have the same setup as me :) ) You should then get a popup with two windows, the left is available instructions, the right is assigned instructions. You must then replace one or more of the assigned instructions if your program needs anything that is not assigned already. When the list on the right is complete according to your program, you can transfer it to the PLC in the usual manner. Unassigned Expansion instructions in the program will appear in red, and the rung will also have the red line to the left. OK Expansion instructions will have the name in black with the "assigned slot number" in parenthesis. In the few cases I have encountered programs with a lot of "rubbish" transfered from the PLC, I have not yet been able to fix that, and counted on the backup copy instead of wasting time trying :) Example of program using expansion instructions (SCL3): Geir