Jay Anthony

MrPLC Admin
  • Content count

    3651
  • Joined

  • Last visited

Everything posted by Jay Anthony

  1. STEP; SNXT

    How about a enable switch in the first Step? Use Input 0.00.
  2. communication

    No. To do the kind of networking that you are proposing, you need a CQM1H and Controller Link.
  3. STEP; SNXT

    Heres the ladder code: TRAFFIC1.SWP
  4. STEP; SNXT

    OK. You were definitely on the right track. You just got bitten by the HR bug. HR relays are battery backed and retain their status on power down. Apparently in your debug stage, you left an HR bit on all the time and there was no way to turn it off including power down. I have put a MOV statement at the top of your ladder which should take care of getting two HR bits on at the same time. I also used the first scan flag to start your sequence on power up. Other than that, you understand the concept of Step/Snxt. A traffic light (with apologies to PLCs.net) is an excellent use for Step sequences. I will post the code in the following post.
  5. CJ1M MAD42

    OK. I've been waiting to reply to this one until I could check with some European sources. The answer is that it will not be a feature for CS and CJ style analog modules until CX Programmer Version 4. The only support for direct analog setup is with C200H style analog modules mounted to a CS1 style rack. For now, you will have to do this setup through the Data Memories as directed in W345-E1-5 manual.
  6. STEP; SNXT

    Is that all there is to your ladder? Is there any END function? Are there any other steps? Why are you SNXT to 0000.01? Your step sequence is using HR0 as the Step word. If you use 253.13 (Always On) you will never leave step HR0000.00. If you have more ladder, please zip the CXP file and post it.
  7. CPM2A-PC Cable

    OK. To be perfectly honest, yes, BobB's link does define what the part number of the cable should be, but...... It doesn't define the pinout. Try this document link: Cable Pin-Outs & Configuration for Omron's Pre-Terminated Communication Cables - 1Mb .DOC file
  8. CJ1M MAD42

    Here it is: W345-E1-5 CJ1 Analog @ MrPLC.com Download
  9. NT screen

    Yes, you set the initial screen to #1 and I bet for a brief instant it was displayed. But the next thing that happens is the NT Screen looks at the PT Control Area in the PLC for the current screen number and you haven't set this value in the PLC. Use Cx Programmer or whatever PLC software you have to set a value of #0001 in the area that you designated is the PT Control area.
  10. Modem and PLC

    OK. here is a simple example and description of the TXD-RXD isntruction. The Data at D0000 will be the Hayes Modem command necessary for your dial string. I hope BobB will be able to give us a more complete example. BTW, are you aware that the CJ1W-SCU41 Comm module has built in modem commands?
  11. Modem and PLC

    Post from alf moved from another topic by Jay: Let me apologies with members, I think i´m messing all the forum with old and new registrations, I hope this is the good one, and you don´t have to pull to my ears. I,ve tried to ask to Jay, but I think I´ve reached. So I think I´m AlfonsoRM, alf and alfonso, as log in with alf the seems to work, I will ask my questio again as member alf. Thanks to all, and again please excuse me. When I connect a Modem to a PLC, for example a Westermo Modem with a CJ1 of OMRON, they communicate through port RS232, using RXD & TXD ?, and if so what kind of ladder should I write? This is: if I want to programme a simple alarm to be sent by phone through the modem, but I dont know what kind of word and how to get to the modem. Please any short sample to learn. Thank you so much. By the way, if I have Syswin, is there any way to read something programmed with CX Programmer?
  12. NT screen

    You must set Control and Notify Locations in the NT631C for the PLC to control the Current screen. In the example below, the PLC must control the NT631C by placing the number of the screen to be dispayed in DM0000.
  13. Modem and PLC

    You are right, Bob, Alfonso has posted under several guest psuedonyms in the past. It's about time he registered and joined the community. If you have code that could help, please post for all to see. This is a fairly common request. I've probably got something I could dig up, but I'll have to boil it down to the nitty-gritty. Bob, do the electrons circle counter-clockwise in the down under? Guest_AlfonsoRM: Please register at MrPLC.com and join the MRPLC.com community Register at MrPLC.com
  14. cpm1a and incremental encoder

    The setups for CQM1 and CPM1A are identical. This technote for Omron Europe should get you started. CQM10001.zip
  15. MCSS software for windows

    Skidog: There is a Omron software product known as CX-Motion which is Windows-based. It does require a license. See what your Omron rep can do for you. Regarding the CV-Basic module, Windows Hyperterminal should work fine with CV500-BSC11/31/51. I prefer old Windows 3.1 terminal. If you can find it, it will run fine in WinXP.
  16. How to see Object Code

    Well.....Since you asked for the "easy" method, I suggest you use both Syswin's and CX-Programmer's "Save as" function. Change the file type to ".swt" for Syswin and ".cxt" for CX-Programmer and open either file in Wordpad or your favorite text editor. See if this doesn't begin to satisfy your curiosity. As far as the actual compiled object code, about the only way that you will be able to capture it, is to send the same commands that Syswin and CX-Programmer do for transferring a program. You will need to do this with a terminal program with a capture utility to trap the dialogue between the computer and the PLC. The commands are documented in the Hostlink manuals for each particular PLC.
  17. Totalizing

    Ummmh..... Off the top of my head, without checking the formula for accuracy: 1. Setup a one minute clock. 2. Every minute divide the analog input by 60. 3. Move result to a spare DM. 4. Add result to previous total. 5. Move total result to previous total location. 6. Previous total location represents current total tonnage. 7. For more accurate results, set up a one second clock and divide by 3600.
  18. Omron C60H

    I am thinking that someone has disturbed the settings for the RS232 port using ladder instructions. Do the following: Clear DM900-929 to #0000. Clear DM1900-DM1929 to #0000. Then hand enter the following program at the very beginning of your program and follow the rest of the procedure. This should set your RS232 port to Hostlink 9600,E,7,2. BTW, how are you changing DM values if you can't use the RS232 port. Do you have a PRO27 handheld programming unit??
  19. Omron C60H

    CxxH PLC was the only PLC that Omron made that uses pin 7 rather than pin9 as SG on a 9 pin connector.
  20. Omron C60H

    Guest_Ricky: Please register at MrPLC.com and join the MRPLC.com community Register at MrPLC.com Host-computer-PLC
  21. Read RPM

    Frequency measurement using the Interval Timer and Interrupt counter: This program uses the interval timer interrupt to capture the number of pulses that have been counted in 1 second. Courtesy Omron's Interrupt Guru Ed Allen
  22. Mini Sp20

    This is a very old thread and the good news is that there is an answer right on this forum. The cable diagram and the software are available for download in the Omron download section. SP/SK10/16/20 Programming Cable
  23. Indirect Addressing , data table

    Courtesy PLCs.net: Student: You are never going to understand this concept unless you do some investigation yourself. Try the example at the top of the page. You don't need the file. Just input the code.
  24. Indirect Addressing , data table

    Indirect addressing with CQM1 can only be accomplished with the DM area. Here is an eaxample of a MOV instruction that uses *DM as a pointer. The data in DM 100 will be moved to wherever *DM101 is pointing to in a table from DM0000 to DM00010. The "*" in front of the DM indicates that is used as an indirect pointer. The screen is a NT631C touchscreen and the file can be downloaded at the following site: Download C Series Two NT631C.zip
  25. Indirect Addressing , data table

    Please tell us what PLC thet you are using. We usually need more information than you have provided.