Search the Community
Showing results for tags 'cp1h'.
Found 39 results
-
Hi folks, I'm having quite the "fun" time getting ModbusTCP comms going with the CP1H PLC & MODTCP61 module. I've set up the serial port for 115200, 8,N,1 - Serial Gateway as instructed in the manual. I've set the MODTCP61 to "Master" and It's IP to 192.168.233.11 On my PC, I'm running a Modbus Server Simulator at 192.168.233.1 I've tried using the code provided here: https://forums.mrplc.com/index.php?/files/file/867-easy-to-use-modbus-rtu-master-for-cp1l-cp1h-cj1-cj2-cs1/ I've also tried with very basic code I wrote using simple writes to the EasyModbus control registers D32200 and/or D32300 and enabling EasyModbus at A461.00 and/or A460.00 I've tried with both serial ports on the PLC. It seems like the PLC/code side of things is correct and the MODTCP61 is not sending out correctly formatted ModbusTCP requests over the network as it sends out requests over the network when configurations are correct (and doesn't if I intentionally set something wrong). I've run Wireshark to sniff the network traffic and here's what I'm seeing: The MODTCP61 module sends a packet to 192.168.233.1 (server/slave) as expected, but the slave/server never responds to it. I've tried with a software client/master on both my PC and another PC on the network and both receive a response from the slave/server. I've attached some packet capture images to show what's going on. I'm not a TCP traffic expert, so I'm having a difficult time figuring out the "why" to it not working. Any clues? Thanks!
-
From @SamuelT Please, I want to know if you know how to communicate two plcs omron CP1H (master) and one CP1L (slave). The master CP1H will send 10 DM memories to slave CP1L. Now I have this configuration: CP1H MASTER PORT: CP1W-MODTCP61 MASTER IP: 10.150.1.5 SLOCK: 1, DIP SWITCH PLC # 4 = OFF CP1L SLAVE PORT: CP1W-MODTCP61 SLAVE IP: 10.150.1.1 SLOCK: 1, DIP SWITCH PLC # 4 = ON I use the modbus RTU function blocks, but the master PLC does not communicate or send the DM memory values to the slave PLC Thank you very much for your reply if you have any example program it helps me a lot MRTU_CP1L SLAVE.cxp MTCP CP1H_MASTER.cxp
- 2 replies
-
1
-
- modbus tcp
- cp1h
-
(and 1 more)
Tagged with:
-
I am playing with sending ASCII string commands back and forth between my CP1H and another device. I learned first how to do it using ladder and now that I'm getting into more advanced stuff (parsing, searching for certain chars, converting to INT, ect) I want to do it in Structured Text because the ladder for this gets hard to follow. My very first experiment (count string length) throws an error at me: It apparent takes exception that I've use the "STRING" data type But it this works just fine in ladder: So am I really not allowed to use STRING data type in ST on CP1H or am I doing something wrong?
-
Olá pessoal. Tenho um CJ2M e CP1H em rede. Preciso trocar informações entre eles. Alguém poderia me ajudar. CJ2M é 192.168.250.1 CP1H é 192.168.250.2 Tentei via NetConfigurator, mas não reconhece o CP1H. Obrigado.
-
I have a problem with CP1H-EX40DT-D-SC unable to connect to cx progrmmer 9.6 in libary, there is no have cpu type. is there a solution in this forum terimakasih
-
can some one post a cp1h pid controller exsampel. i hav trubels and i dont understand manual or the help page in cx-programmer
-
Hi I have servo motor controlled by smartstep 2 and controlled by PLC with pulse output. Origin search I have set as below Sometimes I have problem with correct home position. Normally when original Input signals become ON drive slows and after 1 cm I have home position due to slowning ramp, but somtimes drive stops immediately on the edge of original input sensor. I have no idea why it is like that. Maybe you can advise sth or get some clue thanks in advance for any help
-
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)
-
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
-
Hello, I have to make communication using Ethernet between omron CP1H and siemens s7-1500 plc. I was thinking about Modbus TCP or Ethernet IP using theese adapters: Modbus TCP - CP1W-MODTCP61 Ethernet IP: CP1W-EIP61 But I am quite new in Omron, and I am looking for some exapmple codes, FB. Do you anyone have experience with that? Thanks for all responses.
-
Hello there, Today i have commissioned my first project with OMRON make PLC. Model: CP1L-EM40DT1D. (CX-Programmer) I have 2 built in 0-10V Analog Inputs on the plc. for analog input no-1 i get the digital value of 0-1000 in specific plc register address corresponding the 0-10V. (Factory setup) But today on site, i have noticed that some miner value of 0 to 50 is always coming and fluctuating very fast in that register, however the transmitter are genetaring 0.0V only (I have checked using digital multimeter with high precision) PLC and Transmitter are already grounded and all the cable connections are tight as well. so how to overcome this high fluctuating value ? is there any setting to filter the input ?
-
DATE Instruction for CP PLCs View File Sample code to set the RTC on a CP PLC. Individual sections can be enabled/disabled. Submitter photovoltaic Submitted 03/12/21 Category PLC Sample Code
- 1 reply
-
- cx-programmer
- date
- (and 7 more)
-
-
- cx-programmer
- date
- (and 7 more)
-
Help with SEND & RECV with CP1H-X /w CIF41 & CJ2H-CPU64EIP ?
Moravuscz posted a topic in CX-Programmer
Hello everyone. I need help setting up a data transfer between a CP1H with a CIF41 module, and a CJ2H. I realize this can't be done with Ethernet/IP, so I figure FINS should do the trick. I've read up a bit on the SEND and RECV instructions, and tried to set up a RECV in the CJ2H (since I know the CIF41 can't act as the sender, it can only receive), but I just can't seem to get it to work... I work at a factory and we're setting up a data collection system. It is mostly CJ2s with EIP tags doing most of the transters, but there are a few machines where EIP tags can't be utilised. Unfortunately I don't really have the freedom of choice what to work with, my budget is already pretty dry, so I kinda have to work with what I have... We need to read 100 WORDs from the CP1H to the CJ2H and send 10 WORDs from the CJ2H to the CP1H, so I figure I'll need to make both SEND and RECV in the CJ2H. CJ2H-CPU64EIP Has two EIP units, built-in and an EIP21. Acts as a relay device to the internal production line network. All the machines on the line network send data via EIP tags to this relay machine. The internal network: Built-in EIP (CPU Unit 0) IP: 10.1.95.80/24 FINS Net 95 FINS Node 80 External network: CJ1W-EIP21 (Unit 2) FINS Node 9 FINS Net 2 IP 10.1.99.9/16 CP1H-X CP1W-CIF41 in the left slot. IP: 10.1.95.180/24 FINS Net 95 FINS Node 180 They are on the same subnet within the line network and the same FINS Network as well. I have successfully set up routing tables and can connect from the external network via the added EIP21 card on the CJ2H to the CP1H PLC and work on it in CX-Programmer and other tools. That should mean the communication works, and I'm just failing to configure the RECV parameter properly... Here's what I have right now: I've pretty much followed the example in the W465 manual from page 235 in combination with the Instruction Help for RECV. (Instructions horizontally are intentional for the purpose of saving vertical space for this screenshot, I normally have them vertically. Also sorry for basically no symbol comments...) In the CP1H in D0 I've input FFFF. I run this by setting on W511.15 and hope that FFFF will appear in E3_3800, but no such luck. A202.00 does blink indicating the logical port did get used and the instruction executed, but didn't work as needed. I'm not sure about the response code. Here's how I understand the control words: D7700 being #0064 means 100 WORDs transmitted. D7701 being #005F means that the FINS Network of the PLC I read from (CP1H) is 95 D7702 being #B4E4 means that the FINS Node of the PLC I read from (CP1H) is 180, and the Unit address on that PLC is the Serial Communications Board Port 1 (I think this thing is what I'm getting wrong, I just can't figure out what to put here... I've tried 00 for the Unit address and that transferred from D0 on the CJ2H which isn't what I wanted, I've also tried #10 to specify a CPU Bus Unit 0, as well as FE to specify "Unit connected to network (not necessary to specify Unit)", but none of these worked) D7703 being #000F means no response needed, use logical port 0, and retry 15 times D7704 being #0 means default timeout Can someone please tell me what I'm doing wrong? -
From a PM from @Jason_G I am newbie her to omron and need some help. I am trying to program a tank level control using a CP1H. What I would like to do is to take a 4-20mA signal from a DP cell located on the bottom of the tank to measure the level (0 to 100%). I would want to take this level and send it to a PID which would then manipulate a VFD pump to control the level base on the set value in the PID as well as the PV from the transmitter. I need help in setting up the PID parameters and also how best to scale the analog input should I use SCL or APR? Specs: DP Transmitter : 4-20mA on Tank O to 10 feet of water to be displayed in percentage of 0 to 100% VFD pump taking in an analog of 4 to 20mA to drive a 0 to 2000 rpm VFD drive Tank Level Program.cxp
-
Hi, could anyone help? On C+9 PIDAT parameter settings, what's the difference between the values of 0 and 1 in the bit 15 of C + 9? When I try 0 or 1, PID constants remain at the initial values that I made before, the auto tuning doesn't work. Thanks
-
From @Janaka Angampitiya: Hello, I have Three CP1H PLC with Cj1w scu31-v1. I need to send a Modbus command SCU unit through Modbus RTU compatible power meter. I use instruction TXDU and CMND but it's not working. My PLC Arrangement CP1H PLC - CP1H-X40DT1-D ver. 1.3 Option Board 1 mounted Cp1w-CI41 to NB HMI its work Option Board 2 Mounted CP1W-CIF12-V1 to PLC 1, PLC 2 and PLC 3 between communication Serial gateway mode it is work. CJ1W SCU31-V1 (ver.1.3) and Modbus compatible Power meter it's not working. Please help to how to connected and what is the use of instructions for this case.
-
Hi everyone! I got this machine with a CP1H PLC and NS8-TV00B-V2 as PT. I was told that they were working fine, but suddenly, It appeared a communication issue: black screen and "connecting..." at right bottom. I dont know if It is a configuration problem or some hardware damage. These are the configuration in the PT and the PLC. The communication is through RS232 Serial. I tried to communicate another PT screen with the same communication settings and IT WORKED!. ' I've been thinking that, perhaps, the serial port A is damaged, I have tried to set port b, but I havent could. How can I configurate PORT B?? THANKS...
- 3 replies
-
- communication error
- connecting
-
(and 3 more)
Tagged with:
-
Hi all, I am having some trouble communicated with a Omron CP1H PLC from CX Programmer. The CP1H itself comes with two option boards (CP1W-CIF01) to allow for communications via RS232. The PLC also has standard USB access. When I connect my PC (Windows Server and Windows 10) to the PLC via USB connection I am able to communicate successfully. The only caveats are: The PLC program appears to be read protected (not related to USB I assume!) The system which I want to integrate the PLC with, Kepware Server, does not appear to support OMRON usb communications. Kepware Server does have support for connections over serial or ethernet so I am looking to make a connection via RS232. After some digging I realised the RS232 cable needed to connect the PLC to a PC is not your standard cable. I purchased the XW2Z-200S-CV RS232 cable and tried it in both option boards but CX Programmer is not able to make a connection. I used the auto-online, serial port sniffer and manual configuration. I must have cycled through all possible combinations of settings several times but no joy. I can see an led light on the option boards flicker when CX Programmer is attempting to connect so it appears that something might be happening. One of the option boards is already occupied by another device (which is working) btw. I did unplug that device and tried my own cable, again, no success! I also double checked the cable itself to make sure the wiring was working correctly, it appears to be fine. So my question is, does anyone know why the RS232 method is not working? Are there any options and settings I need to check? Perhaps I'm missing something obvious. Thanks!
-
Hola buenos dias quisiera pedirles de su ayuda estoy intentando establecer la comunicacion por el modulo cif11 modbus 485 el plc es omron cp1h con un esclavo que es un variador delta ,pero el tema es que no puedo comuncarme alguien que haya hecho ya, en la configuracion solo me da el puerto de enlace serial HOST LINK y otros pero por el manual te dice que es por el puerto de enlace serial, alguien que lo haya hecho seria de gran ayuda. saludos.
-
Hi - I had an old lab PC running software made in CX-Supervisor to control equipment attached to a CP1H (I did not make the software). The CP1H connects to the PC with a RS232. The PC running the software died, but I have the files copied onto a new PC. I have installed the latest CX-Supervisor software, when I open my program file from the old PC I have a communication error (attached). Where do I setup the new PC to communicate with the CP1H? Thank you
-
My issue and goal. - Trying to get an encoder (Automation Direct TRD-N30-RZVWD) connected to a cp1h-y to read wheel position(coupling) and have a pulse trigger at certain positions is this possible? I currently have the encoder wired up to highspeed counter 1 and am using PRV(881) port #0010 control data #0 with an P_On always on flag. wanting to see values change but nothing is being changed in the watch window. I'm reading the programming in section 3-20-2 HIGH-SPEED COUNTER PV READ: PRV(881), but I'm struggling. any help is much appreciated.
-
Hi.. I'm new into PLC programming so I dont really know much how to program.. So hopefully there is someone out there that can help me with this or give me some ideas.. Here is the problem; I got 2 inputs signal, A & B.. from this 2 input signal, there will be variable combination of 4 inputs and it will produce different output let say in condition; 1. AAAB - Output 1 2. AABA - Output 2 3. AABB - Output 3 4. ABAA - Output 4 . . . n. BBBB - Output n I'm open to any suggestion and ideas for this.. Btw I'm using OMRON CP1H for this one.. Thank you
-
I am trying to connect my KILO TECH TOP GUN scale with KIN 500 Indicator to PLC CP1H through RS232C Module (CP1W-0007) . Connect all wires , Comm Light on module is Blinking , But But I see nothing in the program. I tried everything I could, but I didn’t get a result in a couple of days. Thank you very much for your attention . KIN 500 25 september 2013 manual.pdf PLCScale.cxp