Search the Community

Showing results for tags 'cp1h'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 32 results

  1. 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
  2. DATE Instruction for CP PLCs

    Version 1.0.0


    Sample code to set the RTC on a CP PLC. Individual sections can be enabled/disabled.
  3. 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: FINS Net 95 FINS Node 80 External network: CJ1W-EIP21 (Unit 2) FINS Node 9 FINS Net 2 IP CP1H-X CP1W-CIF41 in the left slot. IP: 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?
  4. Tank Level Program from PM

    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
  5. C+9 on PIDAT Instruction

    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  
  6. CP1H Modbus issues

    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. 
  7. 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...  
  8. Hello Sir/Ma'am, Hope you and your family are safe in this Covin-19 Pandemic.   One of my client have a machine in their ceramic industry which has Omron PLC System. Here I am describing the PLC Hardware Structure. (CP1H-X40-DT1-D-SC) + (CP1W-40EDT) + (CP1W-DA041) CP1H-X40-DT1-D-SC (Main CPU Unit) CP1W-40EDT (First Expansion Module, on right side of the CPU) CP1W-DA041 (Second Expansion Module on right side of the CP1W-40EDT)   Client shutdown the machine before a month due to Corona Pandemic, and today restarted the machine.   Now the problem at the restart of machine... Analog Output of 0-10V DC are not sourcing from the attached analog output module for any of channels. (Used to control speed of AC Drive) We have checked the program, and verify that the program is moving the value in analog output register address, but still no output signal at the module.(Checked Using Multimeter) We have same machine at another factory so we have tried to replace the all 2 expansion module and observed that the first Digital Module is Working properly but only last analog output module is getting problem again.   I don't know much about OMRON PLC Programming so seeking for the help regarding this.   OEM have moved the data in CIO 106 for generating analog output, as well OEM has move #8099 in CIO 104 and CIO 105 at the first scan of program. I don't know very much about this programming, that's why i refer some manuals but didn't succeed yet.   Kindly help me out if possible... I have attached backup of program as well for reference...   Thanks...   Bobin Feeder.cxp
  9. 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!  
  10. 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 ?
  11. 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.  
  12. Modbus TCP with CP1H and CP1L from PM

    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: SLOCK: 1, DIP SWITCH PLC # 4 = OFF CP1L SLAVE PORT: CP1W-MODTCP61 SLAVE IP: 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
  13. cx programmer

      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
  14. CP1H Communication HElp

    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
  15. Cp1h-y - encoder issues.

    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.    
  16. Combination Input

    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
  17. 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
  18. Hello, I have a cp1h-y20dt-d (sinking output) plc supposedly to be wired to a servo controller. The pulse control method is Pulse/Direction. I've did some manual research on the PLC and found the following diagram attached Untitled. Since the diagram above doesnt show which terminals does it connect to in the CP1H side circled red, I want to ask if those connections belong to the following diagram attached Untitled1? If so, assuming im planning to use only Pulse Output1 (Pulse/Direction method) from the PLC side, is the connection from the first diagram no.1=CCW0- , no.2=CCW1- , no.3=COM (connected to -ve) *Note: these diagrams are from omron's manual SYSMAC CP Series CP1H-X40D_-_ CP1H-XA40D_-_ CP1H-Y20DT-D CP1H CPU Unit Your replies would greatly help. Thanks and best regards, Summer
  19. Closed loop

    Hi All, I'm new to PLC programming and need some help with a project! I have built a indexer for a grinding machine with the following specification....... Stepper servo motor that needs 10000 pules per revaluation. Gearbox with 3.6:1 ratio. 3600 PPR quad encoder fitted to the indexer main shaft 1:1 ratio . Omron CP1H PLC   I need to control the servo closed loop using the 3600 line encoder for feedback. Does any one have any suggestions?????   Thanks Tim
  20. 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?
  21. CP1H Series PLC Tutorial

    Here is a series on the Omron CP1H. It has been written for those who want to become familiar with the Omron PLC and its basic functions. At the end of each web page lesson there is a video. Omron CP1H Series System HardwareCX-ProgrammerEstablish Communication Setting, Forcing and Online Editing Numbering System and AddressingCP1H TimersCounters Data Movement Compare Instructions Data Shift Instructions Math InstructionsData Conversion Program Control Instructions Table Data InstructionsData Control InstructionsAdvancedHMI Communication If you have any questions or need further information, please contact me. Thank you, Garry
  22. Is CP1H with Ethernet option board (CP1W-CIF41) is capable to communicate More than one client? If yes what settings I need to be Done?  
  23. Is anyone interested in being contracted out to finish a PLC project. A little modbus mapping is needed to be finished up and minor changes to the logic are needed Protocol Macro is the the type of modbus were using as well.  and some display function may be needed to be changed for the NS series. 
  24. I have Omron CP1H PLC and using Ethernet Option board to communicate through Ethernet. When I connect PLC to 2 Computer it starts malfunctioning and values in register get fluctuate. while I connect single HMI it works fine. Kindly give solution if anyone know. 
  25. Dear all, I want to use the vb2012 to connect the CP1H. I use the rs232 usb cable to connect the computer and the CP1H, and also use the tool which named "SerialPort" in the vb 2012. The "COM" had been connected, so I think there is something wrong in the command of my program. I have tried many days in this connection, but the cp1h still not give me any feedback.   Did someone have write some simple code to connect the CP1H? If that is possible to let me refer, I will very appreciate you.