umar9876

MrPLC Member
  • Content count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About umar9876

  • Rank
    Newbie

Profile Information

  • Country Malaysia
  1. Hello, I'm doing a project with CP1E-N20 PLC. I want to monitor and control the PLC input and output coil from my PC using HMI software (Indusoft Web Studio). I tried converting the programming ladder used for CS1/CJ1 by changing the PLC in CX-Programmer. I ran into several error, but was able to sort it out (error cause by different format used by CP1E program like TXD and RXD). But when I want to download the program to my PLC, it gave me a compiler error. I already build/compile the code/program and it return with 0 error and 0 warning. I hope anyone could help me sort it out. My email is umar9876@yahoo.com. I have attached the programming I converted from CS1/CJ1 below. Thank You. CP1E.cxp CP1E.opt CP1E.bak
  2. Hello, I'm currently doing a project of using a HMI software (Indusoft Web Studio) to communicate with my PLC (CP1E-NA20) from my PC using PLC built in RS232 serial port. It would be a directly connected from my PC to the PLC via serial-USB cable (prolific).  Can you share with me your ladder code/program for C code/ FINS command for CP1E PLC? My Email is umar9876@yahoo.com. Thank you
  3. Host link control for Omron CP1E using C code/ Fins commands

    Hello, I'm currently making a project of using a HMI software (Indusoft Web Studio) to communicate with my PLC (CP1E-NA20) from my PC using PLC built in RS232 serial port. It would be a direct connection from my PC to the PLC via serial-USB cable. My question is 1. Do I need to make any ladder program if I just want to read the memory area in my PLC or I can just leave it empty and only upload the PLC setting (Host Link) to the PLC. 2. Does anyone have any example of FINS command ladder code/programming i could use? 3. As I was reading CP series PLC FINS manual (Omron W342), I notice this in the manual: What does it mean? Thank You. 
  4. What am I doing wrong?

    Hi, thank you for replying tashinz... Below is the code i use for my TXD program, which i got from here  http://forums.mrplc.com/index.php?/files/file/288-txd-rxd-quickstart-programs/  By continously, did you mean i try to send 3 bytes at once? Switch 0.01 is connected to a push ON switch. Ladder Diagram |----| 0.01|--------| A392.05 |----------------------------------| @TXD(236) |                                                                                   |      D10          |      S: First Source word                                                                                   |      #100        |      C: Control word                                                                                   |       &3           |       N: Number of bytes For my convinience, i connected a switch to A526.00 bit so I could restart the built-in RS232 port without powering off the PLC it self. |----|0.00|-------------------------(A526.00)----| And how to apply diffup condition? Is this the right way? |----|0.02|--------------------------------|  DIFU   |                                                    |   0.01   | |----|0.01------|A392.05------------| @TXD  |   EDIT:Tried this configuration, still the same, A392.05 goes off as soon as i switch on 0.02 EDIT: I uploaded the ladder diagram for my program below. I notice A392.04 bit turn on as soon as i run the PLC. When switch on 0.02, A392.04 turn off, and after i reset port (A526.00), A392.04 remains off.   Thank You.    
  5. What am I doing wrong?

    Hello...may I ask... Does this DIP switch located on the PLC itself? And does CP1E N-type have it? Cause I'm having problem with my TXD program. The A392.05 is at ON state after powering up. But the moment i hit 0.01 switch to initiate TXD command, the A392.05 goes OFF, and I need to power off my PLC to get A392.05 turn back ON. Can I know what's causing it? Thank You
  6. CP1E-N30DT with Hyperterminal PC

    Hello, sorry for reviving an old post. I run into a problem with my PLC project using serial communication. I'm using CP1E-N20 PLC with built in RS232 port. I'm using TXD RXD quickstart program I got from here http://forums.mrplc.com/index.php?/files/file/288-txd-rxd-quickstart-programs/ . I am trying to send and receive data using RealTerm over USB to Serial (RS232) Converter Cable. I was able to send data from RealTerm to my PLC but I am unable to do the same from my PLC to RealTerm. Whenever i turn on 0.01 input switch on, the A393.05 aux bit turn off it self, even though it was ON during start up. And I had to turn off and turn back on my PLC to reset it. I tried changing the TXD S:First source word to @D### and *D###. This time the A393.05 aux bit didnt go off, but I still didnt receive any data on my RealTerm. I'm using a conventional USB to Serial Converter Cable. In device manager it shows as Prolific USB-to-Serial Comm Port. My built-in RS232C port setting are as follow: Communication Setting: Custom | Baud: 38400 | Format 8,1,N | Mode: RS-232C | Start Code: Disable | End Code: CR LF | Delay: 0 I have set the same setting on RealTerm as well.   Ladder Diagram |----| 0.01|--------| A392.05 |----------------------------------| @TXD(236) |                                                                                   |      D10          |      S: First Source word                                                                                   |      #100        |      C: Control word                                                                                   |       &3           |       N: Number of bytes Sorry, i cant post my ladder diagram, because I'm running CX-Programmer on another laptop.  Thank You.