Search the Community
Showing results for tags 'serial ports cp1l-em'.
Found 148 results
-
Hi, I have a problem with serial communication (no protocol) using rs485 module, the received data is error. I'm using CP1L CPU, CP1W-CIF11 module as transmitter, and USB to RS485 converter as receiver. When I check the received data on PC, it's incorrect (bit error?). I just send 2 bytes data, 0x61 ('a') and 0x62 ('b'). My configuration: DIP switch CPU 4 = off, DIP switch CIF11 1 to 6 = on,on,on,off,off,off, 2 wire RS485. (I also attached the program and settings) https://postimg.cc/gallery/pr293Jc Could you help me to solve this problem? Thanks Program and Settings: Result:
-
I have a cell phone modem connected to my Omron CP1L on serial 2 Here is the issue I need to pull the phone number out of the msg received (receiving text messages) I receive a text msg and a lot of other crap like time and date ect. RDX says store in D100 the problem is that after I receive the SMS I see the phone number and copy the number to D200 to D2xx The next text comes in and it is added to the length of the previous text and the new phone number is not in the same D area as the first. It seems the only time the serial port works is if you declare 20 characters and you get 20 characters Works every time. But sometimes I may get 12 characters and other times I can get more than 100. I have used the restart and clear port command with no luck. If I set RDX to a large number and receive complete will not come on and the next receive will be added to the first. I need a clear buffer for each receive. How do I get around this? If you set the RDX to 10 but 12 characters were received the 2 extra characters will be in the buffer and added to the next receive. I can’t use end receive if x because there is nothing that is always available in the msg. And even if I do any characters received after end code is left in the buffer and screws up the next receive. I have never seen anything like this. Any ideas? Thanks Rob
-
Sorry its long !! I am recieving text from a GSM modem for text msg Send and receive (SMS) works ok but would be better if I could make use of the start code and end code. This way I could cut down on all the crap that is received when a text arrives. I get this CMTI: "SM",0 I have it stored into D80 and I have that trigger a TXD that sends AT+CMGRD=0 and that tells the GSM to send the msg (The 0 is the current msg in memory) ------ The problem is that there is Carriage Return and Line Feeds in the received msg ---- AS below ((AT+CMGRD=0 +CMGRD: "REC UNREAD","+19028991212","","22/10/20,16:57:54-16" Hello this is the msg OK)) When the PLC sees the carriage return it stops receiving data. And I have no start code or end code setup. (I am using characters received) The way around this is to set a high character count in the RXD (More than the actual msg (More than the msg length) The main issue with that is I get garbage in as the msg gets bigger. Its unreliable. I clear the port after each receive and that helps but still get the odd garbage. (Never get garbage when connected to a terminal prg). Any Ideas???? ps Even the Start Code is unreliable as it will start receiving a few characters late. Rob
-
I have a CP1L-EM and the serial ports - both of them have an issue with the port ready flag will not turn on. Power cycle still no port ready flag In settings both ports are set up as 15200 8N1 CR/LF Verified and power cycled and still no port ready flag. Is there someplace in the PLC where the ports can be disabled? Rob
-
Hello there. How to transfer data from one memory area to another using macro ? Data Type - Double Word Length - 4 Format - BIN Integer - 3, Decimal - 1 From Area - D To Area - LW
- 6 replies
-
- nb
- nbdesigner
- (and 11 more)
-
Looking for a good USB to Serial (RS232) Converter
KnuckleDragger posted a topic in General Topics - The Lounge
Until recently, I haven't had to connect to a piece of hardware using a serial connection in quite sometime. Well, that all changed yesterday when I needed to connect to a Watlow F4T Controller. I dug around in the bottle drawer of my desk and pulled at not one, but two USB-Serial Converters that I saved for just such an occasion! My old ones worked on everything from Allen Bradley SLCs, to Schneider Drives. Unfortunately, neither appear to work in a Windows 10 environment. Searching the internet, I was not able to find any drivers for these old converters, but did find some posts in another forum stating that Microsoft changed how it manages its USB ports from Win 7 to Win 10. Thanks Microsoft! Sorry, I will cut this rant short and just ask my question. Can anyone recommend a USB-Serial Converter that works in a Windows 10/11 environment? Respectfully, Shane -
I am trying to change the subnet of this CP1L plc. Currently it is at 192.168.250.*** and I would like to change it to 192.168.54.***. I already tried starting fresh by writing to the controller with ip 0.0.0.0 and then putting my desired ip address after. When I try to write to the controller with a subnet other than .250 for example 192.168.54.13, the controller saves the node address(.13) but keeps the same .250 subnet which results in me being able to ping 192.168.250.13 successfully but get no response from pinging 192.168.54.13. Yes I did change my local network card when pinging different subnets and also did a network reset in CX-P after every ip change. Let me know if there is anything I am missing!!
-
hi i am tryning to make a program that takes 4-20ma signals from a pressure sensor and converting it to show ML on a hmi screan. im using a CP1L with a CP1W-Ad041. but i cant figurout how to set up the setings in cx programer correctly. any tips?
-
Please Help me, I want to connect aczet brand weighing machine CG203L to PLC CP1L-M. But several times I tried it didn't work, I've tried repeatedly in the settings section to adjust the baud rate and mode and have tried one by one but to no avail. Can any of your friends help? thank you
- 2 replies
-
- weighing machine
- plc
-
(and 2 more)
Tagged with:
-
How to use a serial to Ethernet converter to send data to RSlogix
Walks posted a topic in Allen Bradley / Rockwell Automation
I'm trying to understand the basics of using a serial to ethernet converter such as this Comtrol DM-EIP-2101, with Studio5000 code. Basically I have a weighing machine that only outputs data via RS-232 and I need to send that data to a PC that will process it through a Studio5000 program and have the data displayed on an HMI using FTview SE. Is it as simple as just connecting the serial and ethernet to the converter and it does all the work? Obviously checking ip addresses and firmware will need to be verified. The main thing I am unsure of is the process of passing the individual data packets from the machine to the Logix code on the PC, things like what the weight of the item was, was it over weight or under, etc.... Would there be an AOI or tags built into the software for a machine like this Checkweigher? I've worked with much smaller items like Cognex Dataman cameras and I know you can just use their AOI that allows you to simply call a tag if you want to display information like if a scanned barcode was correct or whatever. If anyone has done something similar I'd appreciate any guidance. It can be difficult getting the information from the manufactures so I'm looking for answers anywhere I can. EDIT: I guess I should also clarify that only using one or the other (serial or E/IP) is not an option. It will be a serial connection from the Weighing machine to the converter and then Ethernet to the PC. -
Dear forum, I am facing a trouble at the moment and hoping somebody can assist. I have one HMI software, GT Designer 3, HMI: GS2107 and/or GT2107, the software works so far so fine. The software is used on several products, I dont want to maintain two or even more software versions. Two serial devices are connect: 1x MODBUS RS-485 1x MODBUS RS-232. The data transfer is done via DDT, no direct calls. The DDT transfer the MODBUS address to the internal GD-Registers. The GD-Registers are used within the HMI. My trouble is that in some cases, there is no RS-232 device connected. This creates time outs, slows down the HMI and its just not nice looking (I have a warning implemented "WARNING NO CONNECTION TO SERIAL DEVICE RS-232". Is there a way, that I can select (retained) that the RS-232 is connected / or not? Once the software is configured "NO RS-232 CONNECTED" I can handle the rest of the software. Anybody an idea how to do this? Many thanks.
- 1 reply
-
- gt designer 3
- got
-
(and 2 more)
Tagged with:
-
I am at a client site that has a line with multiple Omron G9SP-N20S safety controllers installed and I need to make a modification to the system. I tried to install the Omron Configurator and it asks for a serial number, and will not install without one. Omron said that it is on the CD that ships with the unit, but the equipment manufacturer did not supply any of the CDs. The only Omron solution is to order a replacement CD, that will take 5 days, which is 5 days too long as there is a hard stop in 2 days. I have tried entering numbers found on the controller, with no success. Does anyone have a better way, special contacts at Omron, to et it faster?
-
Hello every one in this video, you will learn about Omron PLC PID Control (CX-Programmer) you could download as free by using the below referral link: Omron PLC PID Control (CX-Programmer) | Udemy I marked free download for 1000 people. I hope it will be useful for you. Regards Mehdi
-
Hi, I have a CP1L and CP1E Omron PLC, and I try to make communication between my PLCs and my system (raspberry pi with Linux OS) using Node-red and specifically using the OMRON-FINS node ( https://flows.nodered.org/node/node-red-contrib-omron-fins) and more detail ( https://github.com/ptrks/node-omron-fins ). So I’m looking for a module to create an Ethernet port for my PLCs. ( both PLCs have RS232 port) . Can you please guide me to find a compatible RS232 to Ethernet module for my PLCs? Thank you
-
how to sett up cx programer settings to use hmi/nb5q-tw00b with a CP1L-L14DR-A? and what address do i use for I/O on the hmi?
-
Hi, I have a project including 32 digital outputs, 8 Pt100 probes, 4 thermocouples, and 4 analog inputs so I have to choose an OMRON PLC. The supplier in my country has only CP2E and CP1E PLCs. Is there a way to connect more than three expansion modules to the PLC? On the website is stated that the maximum number of expansion units is 3, if the answer is no, is there a solution to this problem? Thank you
-
Here is a post that we recently completed on the Automation Direct USB to RS485 Adapter. The USB-485M is a 2-wire USB to RS-485 serial communication adapter for RS485 use. It does not require an external power supply or complicated configuration. It has a Type A (plug) USB connector for the computer side and a universal female RJ45/RJ12 modular connector. This will accept RJ12 and RJ45 plugs. The USB-485M supports multiple baud rates and is USB V2.0 Compliant. Read the rest of the post... YouTube Video on the installation and communication to a Solo Process Temperature Controller via Modbus RTU. https://www.youtube.com/watch?v=aWE05ZNZNXw Let me know what you think, Garry www.accautomation.ca
-
I am trying to get a G9SP taking over serial to a NX1P2 using a NX1W-CIF01. I have the details in Manual P545-E1 and it uses a example file which i am unable to locate OMRON_G9SP_SERI232_LD_EV100.SMC I have got the coms working with a CP1L using the example in Manual Z922-E1. I was wondering if anyone has the example file or a working example they can share for Sysmac Studio. The serial comms will take a little bit to get going but it is the code for the checksum for the sending data that i would rather not have to translate from CX Programer fort he CP1L to Sysmac Studio...... P545-E1-01.pdf.lnk Z922-E1-07.pdf.lnk
-
Sorry for my bad english speaking. I want to change the baud rate to 19200,38400,.... for send it via Programmer-Serial-Port. The software GX-Developer can do it!.
-
Hi there! I'm programming a CP1L-E CPU to control 3 3G3MX2 inverters via Modbus. It got some things right, like the INV002_Refresh_X31 block and its parameters. The thing is, I also want to read some parameters from the inverter using the INV206_ReadParameter block. My doubt is, do I need to be careful so both blocks don't execute at the same time and use the serial port at the same time? Is it better to use one INV206_ReadParameter block for each parameter I want to read? Thanks in advance!
-
Hi all im back to trying to get my inverter to work but this time with modbus, from this post http://forums.mrplc.com/index.php?/topic/38445-controlling-mx2-inverter-without-modbus/ and im stumped, im sure its just one thing somewhere messing it up i have a cp1l-el20 with a cp1w-cif11 and a 3g3mx2 inverter and am attempting to control it via modbus, it is wired up as follows, sp+ to RDB+, sn- to RDA-, common to the plc pin and plc output pin 100.00 to logic input 1. im using 100.00 to put it into run mode the paremeters ive put in are a1=3,a2=1, a4=50, c070=3, c071=5,c072=1, c074=00, c075=1, b27=1. im using MOV to set my speed to d1001 attached is my inv002_refresh x31 fb thanks to any1 who can see my silly mistake
-
I am trying to get a NT 21 to link to a CPL1 I have both set to Host link 9600/7e2 I have it set to read a DM All I get is system initialzing I am using the same cable i used to build the screens with NT Series Support tool I sent and recieved the screens so the cable works The com port on thee PLC is flashing I have tried starting the PLC in run mode and Monitor Mode What did i forget to do ??????? Rob
-
Hello everyone I am working on modbus TCP protocols to communicate between SEW drive and Omron PLC CP1L-EM. I am following modbus TCP function block from Omron, But i have updated that block because of is not fit to SEW modbus communication. Currently, I am sending a control work to SEW but I am getting error on Modbus TCP from SEW drive, which is invalid data. So I am looking your help is you work with SEW drive before and communicate over modbus, then please let me know how to make a data string for read and write (SEW Drive function 23). I am using 3PD data structure. Thank you
-
Hello friends, I am an Omron PLC user, but have never used modbus before. I have to connect an Omron CP1L-m to Beckhoff bk7300 via modbus serial gateway. 2-wire RS-485 connection (CP1W-CIF11). I have seen an easy to use Modbus RTU master for CP1L CP1H CJ1 CJ2 CS1 but the examples are not for dual port CP1L-m. If I change the PLC model "CP1HCP1LModbusDualPort" to "CP1L-M", the compiler tells me a lot of warnings about variable types. Is Modbus RTU Master easy to use for CP1L CP1H CJ1 CJ2 CS1 compatible with CP1L-M dual port (port 2)? I have tried to use it but it didn't work, error 02, illegal function code. Somebody could help me? Thank you Enric
-
Hello guys I am a beginner in FINS TCP communication and I am trying to do a FINS TCP communication between an omron PLC CP1L-E in client mode to communicate with my PC that is in server mode, I am using the SocketTest v3.0.0 program that is in listening mode and still was unable to receive any information from the CLP, can you help me? The program and some images of the simulation are attached Thanks for reading SERVER PC IP ADDRESS 192.168.15.160 CLIENT PLC IP ADDRESS 192.168.15.10 tcp socket_vms.cxp