Search the Community

Showing results for tags 'serial port'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 48 results

  1. Here is a link to a thread on a recent post showing how to communicate serially to an Omron PLC using VB.Net. This uses the Omron Host Link serial protocols. (C-Mode Commands) It will read 10 DM registers and display them on the form.   http://accautomation.ca/implementing-the-omron-host-link-protocol-vb-net/ Here is the source program that can be downloaded. Other links: VB6 Program: http://accautomation.ca/how-to-implement-the-omron-plc-host-link-protocol/ VBA Program: http://accautomation.ca/how-to-implement-the-omron-host-link-protocol-part-2-vba/ Regards, Garry www.accautomation.ca
  2. PC-PLC CP1E - USB-to-SERIAL cable

    Hi,   I have a self-bought usb-serial cable converter for CP1E. Currently can't connect to my PLC using PC. CX-One says "Failed to the PLC". I am supposedly to use "SYSMAC WAY" as my Network Type in PLC settings?   EDIT: The CPU type is N30   I've checked the following settings: 1) COM number is correct ( as checked from windows Device Manager side) 2) Cable driver is installed, there is no "unknown" driver in my windows Device Manager 3) My RS232C LED in PLC is not lighted up.   Any other suggestions to check settings ive missed out would help, other than buying a new cable for the moment.   Regards, Summerstone
  3. PC send data to PLC

    Hello, i'm newbie for plc. i want to ask about PC/computer send data to PLC CP1E with serial communication (RS232). my wiring cable is: PC                         PLC 2                             2 3                             3 5                             9 4&6    7&8                               4&5 and if i send data from PC to PLC, my indicator in COMM is blinking. i think the cable have no problem. but if i send data from PC to PLC, the memory is not same as what i send and whatever i send data, the memory didn't change. i will attach my ladder diagram. what should i do?    New folder.rar
  4. NX-105 Received Data

    Hello,  PLC: NX1P  Comm module: NX-CIF105   I am running a serial (RS485) network to control several motors. As a trigger for to read the serial port I am using the ( Ch1 Receive Data Exist) bit, which is an internal bit that's ideally should be energized when there's data in the Receive buffer. However, this bit isn't reliable at all. I am reaching out today to figure out if there's another way to trigger the receive command ( preferably without a delay)    thank you all  Cheers! 
  5. Hi guys, I am trying to connect AB compactlogix 1769-L30ER through Ethernet cable to my laptop. I use Rslinx version 3.9 When I enter IP address it can find the CPU without any problem but it does not show the I/O. When I check the driver diagnostic, it says: Can't set port type to 288: no harmony object for this Ethernet I should mention that my OS is windows 7 and I turned off firewall as well. So, what does it mean and how I can get rid of this message? Thanks
  6. Hello All, What are the methods to get the monitoring data from A series PLC? I know its not supported any more, interface modules are not available...,    So the basically,   If I want to write customer software (may be embedded) what is the protocol I need to follow? I am connected to CPU unit by the way, there is no other modules except few digital and analog interfaces on PLC. Thank you in advance for your direction, direction in any way would help!
  7. mitsubhishi serial drivers

    Hello write now i am working with Q6UDEH PLC  project in which (nextgen 2000) 6021 card is used for conversion of serial to Ethernet data & vice versa , is it possible  by only installing the Mitsubishi serial drivers ?? or can anybody tell me how these Mitsubishi serial drivers works ??  
  8. mitsubhishi serial drivers

    Hello write now i am working with Q6UDEH PLC  project in which (nextgen 2000) 6021 card is used for conversion of serial to Ethernet data & vice versa , is it possible  by only installing the Mitsubishi serial drivers ?? or can anybody tell me how these Mitsubishi serial drivers works ??  
  9. HI, I HAVE FX5UCPU connected to other devices through built in RS485 port , i have gone through ADPRW instruction .To configure Slave devices like other third party controller , is there any special instruction required. i need few sample programs for modbus data transfer. 
  10. Morning Guys, For my latest project I need to read a gas sensor via 485 from a Momentum PLC. I've been through the help files, but they seem to only raise more questions than they answer, they only seem to reference PLC -> PLC comms. I've had a play with the 'MBP_MSTR' & 'OUT_IN_MBUS' function blocks, but i can't seem to get anywhere, Has anyone got any examples of reading in data via 485, or can anyone lead me in the right direction?
  11. RS485 Async

    Hey guys I don't have much experience in PLC serial communication and I'm tasked to integrate 6 OP-905 scales with our EATON based control system. The scales are rs485 asynchronous serial communication, my concern is that if the device is not designed to be an RTU then I cannot use modbus. And if that is the case how do I talk to multiple scales using the async protocol. Has anyone done this in a similar platform? 
  12. CJ1M-CPU12 Host Link Protocol(FINS)

    Hi all,I tried connect to CJ1M-CPU12 with Host Link Protocol from PC.I sended(without spaces)  "@00FA F 00000000 0101 82 0038 0A +FCS *Cr" through peripheral port for read Dm area.But PLC didn't answer.I tried again with 19200 7E2,9600 7E2,115200 8E1.But  result is same no answer.DIP switches on the PLC are are ON all of them.I read W342-E1-14 CS_CJ_CP+HostLink FINS ReferenceManual.But I didn't solve this problem.Finally hooked Rs232 Port and sended same code with 19200 7E2.PLC sended to me "@00???".Is peripheral port settings wrong?If it is not what's wrong? Thank you 
  13. Hello,             I need to communicate Power meters ( GE Multilin EPM 5500P) to  GE Multilin EnerVista Software. The present communication system uses Ethernet for communication from LAN Switch to Computer. There are a few existing Power Meters which need to be connected to the  Network. The Meters having output ports as RS485. I need to use a convertor for that right. So when I contacted GE they told me to use GE Multilinet Serial to Ethernet Convertor. But due to the price and unavailability of the material I am thinking to use a universal convertor. Is that compatible for Multilin Devices?? and In Case of using a universal Convertor does we need any other drivers for that. Please Help Me.. Thanks In Advance  mnetman-a3.pdf multinet (1).pdf PM-GE.pdf
  14. Hello everyone, I have difficulty to setting up the GSM configuration or the serial RTU configuration so that I allow you with another RTU. I use Schneider CPU Modicon M340 in conjunction with RTU communication NOR0200H and a Modem Schneider SR02 MOD02. This is the first time I'm working on this kind of project, want to help me, I'm stuck and I need a solution, thank you for your time.  
  15. Hi to everyone,    I have done an intense search on the web and this form, also went on to the download section here to try out a simple RS232 program, so far I can't get it work. Long story short, I am working on a PLC CP1E( w/ built in RS232) to communicate with the PC hyper-terminal . PC will send a string of messages to the PLC, then the PLC will convert the message to a pulse parameter, eg. computer will send ( 90, 40) to PLC, then the PLC will take the string 90 to pulses parameter( PLS2) and 40 will be the duration period. I am willing to learn and try out your sample program, let me know! THank you in advance.  
  16. Serial communication of Micro830

    hello everyone, I'm trying to connect PC with Micro830 with RS232 cable for transfer serial data. However, the PLC can not receive the character from PC. I used ARD function block to read the characters from PC.  there is no error and the output of ARD function block is 0 when I debug ladder programme. the serial communication state LED illuminated once I send a character from PC to PLC. the channel of input is 2 which is the embedded serial port. I use an adapter from USB to RS232. Email: jeremietang531@gmail.com      
  17. SLC5/04 DF1 port

    Unable to communicate to SLC5/04 DF1 port using null modem cable, even after resetting processor to factory defaults by shorting the VBB & GND pins or by shorting the capacitor. I can connect to the processor and download a program via the 1784-U2DHP adapter, but still can't connect to the DF1 port. To prove my cable and USB to serial works, I move it to another SLC PLC and it communicates properly. I spoke with Rockwell support at length and they say that the port is bad and there is nothing else that can be done. Does anyone know of any other steps that I could take to get the DF1 port to work? Thanks.
  18. Hi all. Firstly, I am not a programmer, I just need advice. We have HMI's using NS-Runtime and we keep getting this message. Now, this is why I am contacting you all. This has happened over 20 times on 20 different HMI's which we have replaced over the last 3 years. We have been told by our software supplier that the com port is "on it's way out". There is NO WAY over 20 hmi's over that period will deveop com port faults. So my question guys, can someone give me a few tips on what to try before I change HMI's over ervery dang mponth please? I am really at the end of my tether here. We connect our HMI's to the Omron PLC's via a standard serial. If we change to another HMI the machine communicates after obviously a long period of downtime. Should we reset the plc? I will take ANY advise please guys.
  19. COM port sending data

    Hi all, can any one help me? AB MicroLogix 1400 and i need sending exactly information's to COM port(9 pin). For example: in input 1(digital I/O) is true send to COM port A1 if input 1(digital I/O) is false send A0 to COM port. Anyone know how to do it? thx if anyone response  And can anyone write me here any other forum with PLC contend? (simatic, alan bredly.,..) Iam new here, Thx so much Contact: jozefalosonsky@gmail.com
  20. Hi,  I'm trying to test the serial communications with my Micro820. I acquired a 2080-SERIALISOL so I could have "someone" to talk to. I want to use RS485, so I figured that I'd have to connect: Modbus pin 1 (D+) to serialisol pin A1 (+485) Modbus pin 2 (D-) to serialisol pin B4 (-485) Modbus pin 3 (GND) to serialisol pin A2 (GND) Now when it comes to CCW, the thing gets a little harder. I know I need to use the MSG_MODBUS block (in fact I need 2, one for the modbus and another one for the serialisol), and I guess I specify the interface I'm using on the TargetCfg field (data type MODBUSTARPARA). But how do I figure out that the Addr (UDINT) and Node (USINT) values are for my Modbus and Serialisol? Or am I doing it wrong? Does anybody know of any place where I can get some more guidance or even a funcional ladder program? Thank you in advance
  21. Dear All   Sorry for my English I have Siemens CM1241 (picture attach) and need to communicate with Intellisys XE 90 via Modbus RTU, period. The problem is, form XE 90 the connector is Phoenix Contact 2-Position Screw Plug Connectors MC 1,5/ 2-ST-3,81 1803578,or in other word, only 2 contacts form P9 COM1 = L1 , L2 (picture attach). How we connect it to DB9 Female in CM1241? What signal go to what Pin? How about the Ground? Do I need Resistor?   Thanks for all your supports   Best Regards
  22. CP1E RS232 Setup

    Hi everyone, I am fairly new here, I have a CP1E-N40DR-A And i need to send a string of data to a printer over rs232 from the built in port on the PLC, I have had a look online and canot find any information on what I need to do. all the tutorials are for CJ2 cpus ect and the instructions that I would normally use on a CJ2 dont work on CP1E PLC's. Any help or light shed would be great,  Thanks in advance
  23. L3 Serial Communication

    Hello,   I am looking for examples on using serial communication with a WMS inside Studio 5000.  Sample programs would be ideal. And I would like to get some information on what blocks need to be used. e.g. Send, and Receive   Thanks!
  24. Hello all, I'm using MC Protocol Format 4 to communicate with a VB6 application on a PC. I want to make some slight modifications, and I am getting a sum check error being returned by the module to my application. I believe (haha) I am calculating the sum check code correctly for Format 4 as most commands do work (reading for example). I was wondering if anyone knew of the buffer memory location on the QJ71C24N card that stores what the card is calculating for the sum check? This way I can have a troubleshooting tool to see what I am calculating wrong. I have looked through the manuals (application/basic) for the C24 already as well as the Melsec Reference Protocol manual.  I have attached the error code for reference, again, I am only looking for what the C24 calculates as the sum check code. Thanks  
  25. Hi All. I have AB PLC Micrologix 1500 and HMI PV600. In factoryTalkView ME I have installed RSLinx Enterprise and I have setup communication setting I have created one shortcut like PLC1 linked it to PLC ML1500 which I can see in right side of setting pan. I copied these settings to Runtime target. Now while giving animation in screen e.g. colour, I am trying to browse tag but it's not showing anything in online folder. I clicked show all server, refreshed all folders and restarted RSLinks Enterprise service also but still can not find tags. I ran runtime on PC using OPC created in RSLinx Classic, Its working fine, I can browse tags. But it's not working while I download it in HMI as I can see in HMI configuration network and comm setting there is only RSLinx Enterprise is available. Please suggest me solution on this issue.