Michael Walsh

MrPLC Admin
  • Content count

    1801
  • Joined

  • Last visited

Everything posted by Michael Walsh

  1. Relay Output Maximum Speed

    CP1L Relay output: On-Delay: 15 ms Off-Delay: 15ms
  2. CP1-L Serial Comms

    Hey Greg, Switch 4 on the PLC needs to be set to off. You then need to go into CX-Programmer under the Settings tab in the project tree on the left hand side. You then need to click on the Serial Port 1 tab and change the mode to RS232C. Then make the other necessary settings here. You can then put the PLC in program mode and download these settings to the PLC (I would upload, make the changes, then download to be more precise). I am not sure what A356.06 is, I do not see it defined in the manual I am reading. If you could check this address and re-post, I can try to help further. Good luck.
  3. Copy & paste symbols in Excel

    ParaffinPower is correct, changing the format works well particularly for copy / paste. Another option for an individual cell is to put a ' in front of the number. For instance type '200.10 . Of course you would have to do this for each cell, but for a quick addition, it works well.
  4. Network between CJ1M and CP1L-L

    Touche. LOL
  5. Monitor PLC through iPhone

    You might try to use Indusoft. You can create an entire application full of screens and then port them over to HTML pages. Then you could access the HTML with your I-Phone or any other phone or PC that supports viewing the pages that you develop. No special software would be required on the I-Phone as long as the pages displayed properly. I should add that Indusoft sold by Omron in the United States has FINS drivers included.
  6. O008-E1-02 3F88L-160-162 Cam Positioner Manual @ MrPLC.com

    Bonjour Jay, Comment ca va? Je ne savais pas que vous parlez le français. Le LOL, Michele Hello Jay, How are you? I did not know that you speak French. LOL, Michael
  7. cj1g no longer can connect through ethernet

    I noticed something else when I was there. When we connected with the Ethernet communications option, the autodetect used the last octet of his wireless router card, but when we connected using Ethernet (FINS/TCP), it used the last octet of his wired connection. I just confirmed that it does the same thing on my laptop. I am not sure how it determines priority in that case. Also, kcor seems to use both his wired and his wireless connection, so changing his priority may reduce how often he needs to use the "work around" of manually entering his node number, but it will not resolve his issue completely. It is good to get into the habit of checking the node number when you configure your connection.
  8. Omron NS8-TV00B-V1 to Allen-Bradley Compactlogix 1769-L32E

    I did not think he was using Ethernet IP since the screen is a -V1. I was assuming he was using DF1.
  9. Omron NS8-TV00B-V1 to Allen-Bradley Compactlogix 1769-L32E

    Ron, If it is a matter of using the tags in CX-Designer, you just need to populate the symbol table (I would get the tags / addresses from your ladder into Excel, modify them to the proper format and paste them into the symbol table). This enables the programmer to choose a tag in CX-Designer and the symbol table would allow the NS to translate that to an address. However, if you are asking how you can use a tag in the PLC that is not tied to a specific address and then use that same tag in the HMI again, with no address, then I believe the answer is that this cannot be done. The HMI needs to point at a specific address. Hopefully this helps. Mike
  10. C200H-LK201 Host Link Problem

    Oops, my bad on the I/O table comment. PMCR is absolutely correct. It is not a part of the I/O table. I have not touched these older models in quite a while.
  11. C200H-LK201 Host Link Problem

    I agree, this issue is almost surely an I/O table issue. There is some slight chance that there might be something wrong with the LK201, but you will definitely get an I/O table error when you plug it in even if the module has no problem. If my memory serves me correctly, you should be able to still access the program with this I/O table error. Just plug in (with special cable, not a standard 25 pin serial cable), set your communications up for Sysmac Way (labelled Host link in some software / manuals) 9600 baud, 7, E, 2. If the goal is to leave the module in the rack, I would then create an I/O table, after saving the original to a separate file.
  12. don't use Line Graph Objects

    Well, your main issue is that you did not add a line to your graph. Double click on the graph, then Click on the Graph TAB. Next click on the Add Line button. You will then need to point your line at D100. I would recommend working with Signed Integers as you get more counts per word and it is easier to deal with the negative numbers. This would require both a change to the HMI (displaying as INT) and the ladder, using the @++ instead of @++B and @-- instead of @--B. I have attached a modified version of your ladder and your HMI. The modified version of your HMI also shows an example of a Data Log Graph on the second page. However, as others have already stated, the NP is totally different than the NS so this code may not end up helping much. I have attached an NP example as well. Good luck! GRAPH_fix.rar
  13. how can i clear entire words?

    Just be sure to us a constant indicator in front of the 0. For instance, use the MOV function to move a #0 (BCD/Hex) or an &0 (Decimal) into the desired word address. In this case # and & insert the same value as 0 is 0 whether it is HEX or Decimal. If you just do a MOV 0 into an address, it will move the value in Channel 0 (CIO area on newer PLCs) into the desired word addres. Many times this confuses programmers. If you have an older PLC, #0 will be your only option. Good luck!
  14. Reference point

    Yes, the DEFPOS command will establish that position as the origin for all three axis. Just be sure to issue a BASE(x) command (where x is the first of the 3 axes) before you issue the DEFPOS(0,0,0) command. Of course you will then need to enable each axis before attempting to perform the MOVEABS command. Good luck.
  15. Reference point

    Derik, With incremental encoders: what you are trying to do is establish a home or an origin position. Usually this is acheived by providing an input signal into the Trajexia controller. You will then use the DATUM_IN command to define which input is being used for which axis. Next, you will need to do a DATUM command (there are several options for DATUM) for each axis. This process involves the servo moving to the assigned input (usually a proximity switch) and then the servo will slow down and travel off of the switch until it finds a Z-Phase pulse. This signal, also known as the marker pulse provides an exact location in the revolution of the motor (only one pulse per revolution). When it sees the Z-Phase pulse, the servo will stop and establish the origin position. From here you can perform your MOVEABS command. If you do not want to use inputs, it is also possible to jog your servo's to a known position (or manually move them to a known position with the power off) and upon power up use the DEFPOS(0) to force the present position to 0. With an absolute encoder, this origin search routine is not required as the encoder can "remember" its location when the power turns off. If you have an absolute encoder, you will need to establish its position only 1 time (initializing the encoder) and the process for this usually dependent upon which servo drive and motor you are using. I hope this helps.
  16. questin about read scan information

    I see your issue. The problem is with the control specification in the RXDU instruction. Stay away from the D30000 range, this is related to the setup of the card. I have chosen an arbitrary memory area and provided an example that should work. Notice that I have assumed that you are using Port 1 of the SCU and that your communication settings are 9600, 7, E, 2. I also assumed that the End code is <CR> or 0D hex. Check out the attached code and make sure to look at the settings in the I/O table. It is important that the port is set up for No Protocol mode and that you set the proper communication parameters. test_BCR_V2.cxp
  17. Omron Vision Error Codes through Parallel Output

    There is a way to do this. I do not have the ability to test this today, but perhaps could do so next week. The basic idea is that you need to set your DATA Output (System -> Output -> Output device) to be parallel. Then you can use your variables to determine priority (ie if 2 errors are on at the same time which number will be output) to move the desired integer into the expression. Set up your pass fail criteria in each inspection. Then use the Region's Judge (R0.JG for example) when writing your variables. The key to note here is that if the region passes, R0.JG is a 0, if it fails then R0.JG is a -1. Here is an example of some variables that you might create. Lets assume that you want Region 2 to output a 2 and region 3 to output a 3. You might say: Variable0 = R2.JG*-2 (if R2 passes, then the answer is 0, if it fails, the answer is 2) Variable1= R3.JG*-3 (if R3 passes, then the answer is 0, if it fails, the answer is 3) Data0 = Variable0 + Variable1 (data0 is the actual output, you can have 32 different Data outputs that are strobed out the parallel port) So, you could set this up to strobe up to 32 different output codes out the digital output ports. This basic program however assumes that only one thing can fail at a time. If multiple inspections can fail at one time, you will need to either strobe them as suggested above or determine a priority that will only show the most important failure. Here is a way to do that: Using the same setup as described above and assuming that R3 is more important than R2. Variable0 = R2.JG*-2*(R3.JG+1) (if R3 fails as well as R2, then R3.JG will be -1 and R3.JG+1 will be 0, this will effectively eliminate the reporting of R2 failing) Variable1= R3.JG*-3 Data0 = Variable0 + Variable1 I hope that I have explained this well enough. A good reference manual to refer to would be Z146. It describes the communications setup for the F160.
  18. NS screen Printing

    The $SB and $SW areas are always enabled. What you are choosing in the (>System Setting > Initial > System Memory List) is whether or not sections of the $SB and $SW words are being mapped to the $SB and $SW allocation addresses (Initial tab on System Setting window). For instance, if you choose SERIALA:WR00000 for the $SB Allocation Address (Initial Tab), then you can choose which of the system bits will be mapped beginning at W0 in the System Memory List window. Likewise if you choose SERIALA:DM04000 for the $SW Allocation Address (Initial Tab), then you can choose which of the system words will be mapped beginning at D4000 in the System Memory List Window. As long as you are writing to $SB25 directly and not trying to write to its mapped address, then it does not matter whether you check the box in the System Memory List window or not.
  19. sp16 trouble shooting

    Of course, how many other Michael Walsh's are there??? lol (I know, thousands)
  20. sp16 trouble shooting

    I am just guessing, but usually for this situation, there is a relay that has welded shut inside the controller. This PLC has problably been clicking away for many years and that output finally gave up. Some of Omron's older controllers have replaceable relays inside the controller. You may be able to take the cover off (with the power off) and swap the relay in question with one that is not being used (if there is one). I am not sure if an SP16 has replaceable relays or not, but it is worth a try.
  21. C200HS to CS1G upgrade communication problems

    Check the communication settings for your Host Link port. I am assuming that the attached file is the ladder for the CS1 that was added (replaced the C200H). In this file, the Host Link Port is set up for Host link. To use the TXD function, you must set the Host Link port to use RS-232C for the Mode setting and download. If this setting is made and dip switch #5 is off, then you should at least get some blips on the comm light when you execute (then you have to make sure the data coming out the port is correct). Good Luck!
  22. ModBus Communication with 3G3JX

    While there are some mistakes in the manual, the issue that you are referring to above is not truly a mistake, but perhaps is not documented very well (it needs to be highlighted better). When using Modbus communications to the drive it is necessary to subtract 1(hex) from the address listed in the tables in the manual. This is true for all of the word addresses as well as the bit addresses. I have attached a pdf (2 pages from the JX manual) that indicates this subtraction. I have also attached an Excel spreadsheet that gives examples of each command. On a side note, the MX manual appears to have incorrect addresses across the board. After testing, the MX uses the same addresses as listed in the JX manual. Easy_Modbus_command_Examples.xls Modbus_06_address_explained.pdf