Search the Community

Showing results for tags 'serial port'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 101 results

  1. Hello all, I am working on a project where I am communicating with a Mensor CPT6100 pressure transducer using a Micro-850 PLC. For this, I have used an AWA instruction to write some ASCII characters to the sensor. The sensor then responds to the write instruction by sending ASCII characters to the RX buffer and I used ACB and ARD instructions to read the ASCII characters. Now, I have set the ACB trigger type to 0 (msg triggered only once) and it successfully reads from the sensor. However, when I set the ACB trigger type to 1 (msg triggered multiple times), I do not get any reading in the ARD block. As a matter of fact, the ACB Q bit switches off every time the program is executed when the trigger type is set to 1. I am trying to get continuous readings from the sensor, but when the trigger type is set to 0, the program latches on to the first and only reading and it won't change. My question is, how can I change my program so that it can continuously and autonomously read from the sensor without me having to manually trigger the AWA and ACB instructions every time. I am attaching the program to this thread for your reference.  ASCII_Test_Copy.ccwarc
  2. Hey Everyone,   My company decided to purchase a piece of equipment from China, and I have the pleasure of updating its terrible existing controls. We were given the PLC program by the manufacturer, so I was able to make my changes pretty easily - or at least that would be the case if I could actually connect to the dang thing. The source program is indeed openable and editable via GX developer (the original configuration shows it as an FX3). I figured connecting should be straightforward, but I was wrong.    I initially used a serial/usb converter that I've used on some older Allen Bradley equipment (which worked fine for that). However, after no luck using it on the "Mitsubishi", I purchased a different cable that I found recommended on this forum (Tripp Lite USA-19HS - https://www.alliedelec.com/product/tripp-lite/usa-19hs/70101537/?gclid=Cj0KCQiAj9iBBhCJARIsAE9qRtB_n8TVAnJdFyYokoEu42W6H6LaT4kVsgJQI1qvPUsUF3rFviKpbt0aApLHEALw_wcB&gclsrc=aw.ds). Still, no luck. I've tried 7E1 and every baud rate possible, as well as some other bit/parity configurations (and yes, I've verified that I'm using the right com port, as well as tried moving the converter to different ports and trying those). Nothing seems to go through.  I have almost no experience with Mitsubishi beyond a couple of FX5s (which have worked fine, but I connect to those via ethernet). Any help would be greatly appreciated; if I can't make these changes, I'm going to end up rebuilding the whole cabinet with a PLC I can rely on.   Thanks in advance.
  3. Hi, I have an Omron NSJ5-SQ00B-M3D Programmable Terminal (HMI) that I am trying to get to communicate with an Omron CJ2H PLC through a DeviceNet module (DRM21) in the main PLC rack.  I don't see how to configure CX-Designer to communicate via DeviceNet.  How is this done?  Many thanks for any help.
  4. Hello, We have a FX3G connected to a FX3U-ENET-ADP inside a main cabinet. We are then using that master PLC to collect data from 2 other fx3g plcs in a node:node serial network. I was assigned a small project of pricing out some wireless adapters so we can upload/download to the two slave plcs. My question is, is it possible to upload/download programs to/from the slave plcs through the ENET adapter and serial network in the main plc? It would save us some money if possible. thanks.
  5. Proface with Serial Printer

    Dear Sir, Good day. I facing difficulty on using proface to print out the data using serial printer. I did follow all the instruction on proface reference manual but still fail to print out anything. Anyone here having experience on this issue? Thanks. 
  6. connection to omron CJ1M PLC

    I have an omron PLC (CJ1M type) at home which I would like to connect to, however, lately, I can't anymore.  I'm trying on two different PC's a newer and an older one, both running on windows 10. 1 is just mentioning a DLL error and I can't even start cx-programmer, the other one seems to work, however, when I try to go online it always fails I'm using a usb to serial device and after some searching on the net, I thought the issue was with the prolific driver.  I tried all kind of fixes, but nothing seemed to work.  I have now purchased another device, the XS8801 from usconverters and installed the latest driver.  I have checked if cx programmer is set to work with the correct port and this is the case. My knowledge is very limited but I would really want to connect to that PLC again, so hoping someone out here is able to help me. Thanks a lot    
  7. Check serial connection to Omron PLC

    Hello, I am building an application in CitectSCADA and I want to communicate with an Omron Sysmac CS1G. The connection between the plc and the Citect computer is through an ethernet to serial adapter (the computer doesn't have com ports on board). I'm having some difficulty establishing the communication and I want to make sure that I can actually reach the plc. Is there a way to check that the computer can reach the plc over the serial connection without using CX programmer? Maybe using Hyper Terminal, Putty or something similar. Thank you, Liron
  8. Hi, I am very inexperienced with Omron hardware so apologies if this is a daft question. I am trying to use Kepware to retrieve data from a CJ1M-22 PLC via the peripheral port using RS-232 and the Toolbus Kepware Driver. The RS-232 is provided by a Brainbox ES-246 Ethernet to RS-232 convertor. I have no problem accessing the PLC using this peripheral port via the programming lead but I wanted to know if anyone had successfully pulled PLC data through this port? Many thanks John
  9. The BOOTP/DHCP is unable to function because port 67 is being used by another process Throwing this in here because I have a plethora of problems with BootP since Win10. It is rare that I use Boot/P, we don't need to install a lot of new devices, as we are an OOM. Had an old 5/05 that should of had an IP address but did not and was not immediately discoverable by other means. Could not read through the serial port because it was set up as half duplex and apparently RSlinx and/or my cable would not work on half duplex (auto find could not see any PLC's). We tested the serial port of an identical 5/05 and see the same issue, moving that to Full duplex would allow a connection. We looked at the last program back up we had and found that it was indeed set to half duplex. So, suspecting that PLC did not have an IP address, I received an error which is the first line above. It also said it was a service host with PID 10262 that was using it. I opened my services and looked for PID 10262, it was being used by a "Shared Services" function, which I stopped. Then BootP opened and worked fine. Reality is, that if I reboot, this service will likely restart and cause the same issue and I don't think I can keep it off all the time. If I can find a way to reassign this service, I'll post more here.   Good luck
  10. Hi! I would like to ask how could I send data from PC to CJ1M PLC, by SCU-41 module and RS232 cable, in order to activate an actuator (LED)? In my environment, I have a sensor that sends data from PLC to PC (I'm checking data, "HelloWrld" with Putty), with this configuration: And I have another section where I want to read the data from the PC in ordr to activate a LED I would like when I send for example a letter 'a' trough Putty, the LED activates. How could I do that? Thank you very much!
  11. Hi All need to convert a Decimal Value into Ascii code to send out on serial 485. eg. Weight comes in as Int 12345 i need to send it out in Ascii as 23 32 20 31 32 33 34 35. I have created an array 0 of 8 (Word) DB. Is there an easy way split the int into Digits convet in into HEX and slot the value into the various array positions? Array 0 of 8 = 23 means # Array 1 of 8 = 32 means 2 (Station ID) Array 2 of 8 = 20 means Space Array 3 of 8 = 31 means 1 Array 4 of 8  = 32 means 2 Array 5 of 8 = 33 means 3 Array 6 of 8 = 34 means 4 Array 7 of 8 = 35 means 5 Array 8 of 8 = D means CR    this sends the value of 12345 to Display ID 2 . need help to convert the decimal number in ascii. the decimal number will be max of 5 digits and less than 32000   any help will be greatly appreciated.
  12. Hey everyone, I have a CJ1M PLC with a CJ1W-SCU21-V1 serial card. It is unit 6 and I am using port 1. I have bit 1659.06 ((1500 + 25 * Unit #) +9, bit 6) as "characters in buffer" but it never comes on (data is being received through the port successfully). It is on No-Protocol mode. Does anyone have any ideas as to how I can detect data in the buffer?
  13. Serial comm with FX1N PLC

    I need to communicate with a Mitsubishi PLC using Matlab. To do that, I open a serial communication with the appropiate parameters (7,e,1,9600), and write an ASCII message based on the manual I have (attached). I have tried examples as the one in the attached image. The response starts with a 6, that is, the ASCII number for ACK, so something must be working. But the rest of the response is junk (149, 149, 149...), although its length depends on the input length (if I add terminator, the response is longer, and so on). I am completely stuck. Some information that might be helpful: I am using a Serial to USB converter that I have used successfully with other PLC (which used Modbus, so everything was easier) There's a VB application (of which I don't have the code) that is able to connect to the PLC (I need to connect directly without using this intermediate app). I have decompiled it trying to get some info, but was just able to confirm the 7,e,1,9600 parameters, since the rest of the code is too mangled to analyze The attached manual was sent to me by the guy who designed the PLC and its ladder code, so I guess it is the correct one I have tried the echo mode (TT) to no avail, response is always the same I have some doubts regarding the reading of a value (see attached image). Why is there a second message from the PC? Shouldn't I just need to read the response? GX Developer tells me that the address D8120 (which is supposed to define the comm format and protocol) contains a 0, which seems weird. Any help or hint would be greatly appreciated. Thanks jy992d69901e.pdf
  14. Mitsubishi Fx5uc

    hello everyone, Im new with mitsubishi and  ive got a project with a Fx5uc but im stucked in communication protocol to communicate with a weintek HMI ive already tested easybuilder simulation with a modbus tcp ip symulator and it works but im completlely lost about mitsubishi, is there a way to communicate via Modbus TCP/IP? or which protocol would u recommend as i have to connect 2 drives as well. thank you in advance
  15. Hello guys, I am very new at this. I am trying to make a Schneider PLC (TM251MESE) to send some serial commands (485)  to a integrated stepper motor from Automation Direct (STR-MTRD-17030RE, but I am lost. The driver has been program to receive the SCL commands. But not quite sure how to send those from the plc. Im using SoMachine V 4.2 Have any of you done anything similar? Any example will be greatly appreciated.  Thanks 
  16. Hello. I am trying to make a serial RS 232C connection between Schneider Magelis HMIGXU3512 and Omron PLC CP1E. However, there seems to be a communication problems between both of the equipment. I am using cable XBT Z9740 for the serial communication cable. The format used is 8.2.N for both equipment. The baud rate is 115200. No Flow Rate is choose. Anyone can help with this kind of problems?
  17. Connect PLC to Kepserver

    I have Delta 12SA2 PLC it has RS232 port and I have connected it to kepserver (by Modbus serial) and then factory IO Now my problem is that when I connect my PLC to kepserver the RS232 port becomes busy with the kepserver and not available in the ISPSoft and therefore I could not demonstrate factory io and my logic in run mode in the isp soft together like you do in your videos. My PLC don't have ethernet port but is there an option in kepserver or any way by which i can use the same serial port of the PLC in isp soft run mode and kepserver+factory io together so that I can simultaneously show the logic running in isp soft and application working in factory io to my students. I googled a lot and found some softwares which make virtual serial ports for a given serial port but they don't work and soon hang Please help me I am in a great need of it. Thanks in advance.
  18. Hi Guys, I recently purchased a 1769 L32e off of ebay. I'm able to connect to the processor through the RS232, but when I try bootp the MAC address is not being detected. I opened up RSLinx through RS232 and I noticed that I don't even have the ethernet port in the device tree at all. I also tried adding the MAC address from the processor in bootp through the add relations button, but with no success. When I go to my Local Area Connection, I can see that I have established connection between my computer and the PLC. I've attached a copy of the RSLinx capture below!!!! You guys help is greatly appreciated!!!!!
  19. Hello, I have been so many days trying to comunicate the multiway software trought a serial usb converter with the SCU31 device, using a omron function block to read a holding register, but I can't achieved it. Now Im receiving some frames on multiway, but there is always some errors. I was wondering if somebody in here that have worked previously with modbus and omron can be able to help me in how to configure everything corectly to be able to read the value from multiway, on the plc, and where is this value saved.  I'll upload some captures to show what I have done till now.    
  20. Hello At first - sorry for my bad english. I have a FX2N-48MR with a FX2N-232IF and i only want to watch the X and set the Y over RS232 with a Crestron Contolunit. I use GX Developer 8 on a XP Laptop and figure slowly out how it works. I read the manuals i found, managed to send from the PLC to the Serial Program on my Laptop (Program named HTerm) But i do not figured out the sending. Can you give me some hint?   Greetings FT
  21. CJ1M serial communication

    Hi! I would like to know how I could send information throw serial RS232 communication. I mean, I have CJ1M-CPU11 connected with ID232 and OC201 modules, and I have an optic sensor (digital input). When the sensor turn on, I would like to be able to read the information (on/off) with an application like Putty (I have the PLC connected by RS232) to develop an application and show the information on another framework. I don't know if I have explained very well. Thank you!
  22. HI ,  Thanks a lot for the reply & help on previous topic. Now i setting up a new system with 2x CJ2M CPU13  and 2x SCU32 and the connection via 1000M RS485 cable. May i know the best communication to use for the serial communications?   Regards, TJ SHARON.
  23. OMRON PLC

    Is it possible converting Omron and Keyence plc's serial communication into Ethernet using serial to RJ45 converter?I need to connect these plcs with MOXA 5600 terminal service for communicating it to the Server.Thanks in Advance....!
  24. 90 30 CPU350 serial connection

    ok running into a issue here, so we were able to communicate with the processor to download a program. transfer went fine. upon cycling power, we can no longer connect to processor. we used LM90 for the software. i've tried removing the battery and shorting out the "mem clear" points on the board, however we can no longer communicate with the CPU. we have a POWER and OK light solid on the power supply. kinda stumped here if anyone has any insight.
  25. BECKHOFF CX-9020

    Hello PLC experts, I am master student currently writing thesis. For this, I have a initial task of making some changes to PLC program (Just started getting to know about PLCs- complete beginner). I have a BECKHOFF cx 9020 PLC connected to my notebook using ethernet. I am using TWINCAT 3.1 (VS) as IDE. Firstly, I cannot find my PLC IP address connected to my notebook . I added the route in the Twincat and it shows the PLC is connected. When, I am trying to run a program (activate boot project), I am unable to login to the PLC. It gives an error "login failed for application port 851". What I undertood from BECKHOFF scripts,  there is something wrong with the ADS ams net ID which I am trying to figure it out. I appreciate all the help. Thank you.