Search the Community

Showing results for tags 'cip omron cj2m ns'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 222 results

  1. Omron Servo Encoder

    Hello All  I am new to PLC programming , i have a question regarding omron PLC and High speed counters. I am using Cp1H-XA model plc . I connected HSC port 0 with a encoder and i was able to get the speed of the encoder using PRV2 instruction. Now i am trying to connect the second  encoder from the servo motor that i am using to HSC port 1. I am getting the PV signal using PRV instruction . Is there a way to calculate the speed of the servo encoder connected the HSC port 1 using PRV command , since i can't use the PRV2 command for the servo encoder .   Thanks in advance .
  2. Greetings everyone. I'm new here. Hoping to get help to operate the Omron V400-R2 barcode to the Mitsubishi QJ71C24N so that they can communicate the two devices with the correct method. PLC: Mitsubishi: Q03UDVCPU; barcode: Omron V400-R2; serial communication module: QJ71C24N. I use RS 232 communication cable, I have tried using predefined protocol and non protocol procedures but still can't communicate the two devices. I really appreciate your help.
  3. Hello everyone! Briefly introduction, I would like to communicate and test the following hardwares: 1- Omron CP1E (using an Option Port CP1W-CIF11) ; and 2- Arduino Nano using MAX485 RS485 transceiver. The CP1E will operate in "Modbus-RTU simple master" as illustrated in image 01. The arduino will be in slave mode address 1 and the library used is "SimpleModbus NG" ( ). Taking the sample in official manual ( ) , pages 248-253 in the "CP1E CPU Unit Software User's Manual" (Image 04) describes a sample communication to an "Inverter Slave". I want to use the Arduino Slave as the Inverter Slave just to be sure that all previous steps are correct. Therefore, I would like to know: 1- As illustrated in Image 02, Am I missing any resistors? 2- Should I connect the GND to the FG? 3- In this scenario, the DIP switch setup should be as illustrated in image 03? Only DIP4 is OFF. 4- Can I test it just forcing A641.00 and checking the DM Area Data, as shown in Image 05? The code used in it is the following: // Wiring: Arduino and MAX485 // RX0 - RO // TX1 - DI // D2 - DE/RE #include "SimpleModbusSlave.h" enum { REGISTER_0, REGISTER_1, REGISTER_2, REGISTER_3, REGISTER_4, REGISTER_5, REGISTER_6, REGISTER_7, REGISTER_8, TOTAL_REGS_SIZE }; unsigned int holdingRegs[TOTAL_REGS_SIZE] = { 0, 1, 2, 3, 4, 5, 6, 7, 8 }; void setup() { modbus_configure(&Serial, 9600, SERIAL_8N1, 1, 2, TOTAL_REGS_SIZE, holdingRegs); } void loop() { modbus_update(); }   Any answer can be helpful. Thank you for your time!   Regards, Jose.  
  4. Compare data RS232

    Halo, my name is Riandanu, I connect PLC Omron CP1E to weighing scale, and its done. i think i dont have problem between PLC and weighing scale. And i want to ask about, how to compare value from weighing scale ?  example : from the picture you can see value of weighing scale is " ST,+00160.66  g", and i want to compare it with 180 or 150 to give output on to lamp. Thankyou Riandanu       PLC to ek-i.cxp
  5. Design Improvement Ideas : I currently use a 24v DC slipping brake (either Clarke or Warner) to prevent a reel of film from over-rotating - With Previous motion controllers - i have used timers at first then progressed to using a Virtual axis and a switch to make my pulse from NX- Digital output card to a Solid State Relay  (PSWITCH command for anyone familiar with TrioBasic) and this has worked pretty well. I have the same physical setup on a new piece of machinery but am now using NJ and Sysmac - Have used a TOF and TON in inline ST to control brake and it sort off works - brake can feel a bit lumpy and can chatter and bounce a bit adn am worried about the reliability when the machine is running and the controller is doing more. (brake cycle time t#10ms and tried at 100ms also) I did try using the Time Proportional Out FB - but this was far worse than the above. I think i will try my luck at created a new virtual axis e.g. Rotary Mode - min 0 max 1000 Run with MC_Move_Velocity when Machine is running and use an MC_digital Cam Switch to create my output Pulse. I am new to the Forum and trying to get more involved with others rather than working in Isolation - so wondering if anyone has any suggestions or thoughts  or have done anything similar in SS? Thanks in Advance,
  6. Hi, "CJ2M-CPU32 PLC" CX Programmer V: 9.63 I'm working on one of the projects where I'm using DT function for comparing the daily, monthly and yearly water flow. I'm able to get daily totalizer but having difficulty while having totalizer for monthly and yearly basis via using DT function. Can anyone guide how can I link the calendar with DT function subjected that every month is with different numbers i.e. 30,31 and 28/29 days. How can I add exact flow rate into monthly totalizer? note: 1 pulse = 1m3 (I'm not having problem for pulse count etc- its just with monthly & yearly totalizer while using DT function).   Thanks
  7. 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
  8. I using easymodbus library to connect and read data from 3 PLCs CP1L but it run unstablely, sometime it disconnect and i cant re-connect PLC, it give error time out when i try to reconnect when it happen, i restart PLC and everything back to work. Someone please help me. I am new with modbus and omron
  9. CP-1E Error

    Hello,  I am using Omron CP-1E PLC and expansion module 16ER and tc module.  When plc operated alone it goes to run mode when expansion module is connected either 16ER or TC module plc ALM/ERR led turned on.  
  10. How to set Homing parameter slot with _sHOMING_REF data. Please suggest me to setting MC_HomeWithParameter instruction or show example for using MC_HomeWithParameter instruction. Thank a lot
  11. I am trying to connect a CJ2M-CPU31 to a Watlow EZ Zone limit controller. I set up the tags in the PLC, imported them into Network Configurator for EIP, set up the tag links and downloaded. I am getting a d9 error on the CPU display. The error is not there constantly, it will display the error and additional info, then flash the last octet of the IP address for a few seconds like it's happy. Then the NS light flashes red a couple of times and the d9 error is displayed again. Attached shows the status of monitoring the processor. The fact that the connection tab is showing 00:0000 as the status and not showing an error code is confusing. I am not seeing any data on the PLC side when online, so they don't appear to be talking. Any ideas on what my issue may be? Thanks for any input.
  12. Hello all, I have a Omron 3G3MX2-AB004-V1 Inverter (VSD) connected via EtherCAT that I need to reference (home) and also perform a relative move. I am looking for a Function Block with the following Inputs/Outputs for my Omron NX1P2-1140DT1 PLC for use in Sysmac Studio. Inputs - Takes the Encoder signal as a Position obtained via a Motion Control Axis (setup as an Encoder axis) - Takes a Homing sensor input (Sensor triggers on each conveyor belt cleat) - Take either a Reference or RelativeMove signal (to Home the inverter or MoveRelative respectively) - Takes the distance to move for a RelativeMove Outputs - Forward - Reverse - Velocity - Done - Busy - Error Has anyone done this before from a PLC FB for this inverter who could help me please? Many thanks, Richard
  13. cpm1a and ns5

    how to connect cpm1a to ns5 hmi? cant do it
  14. 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. Here is the source program that can be downloaded. Other links: VB6 Program: VBA Program: Regards, Garry
  15. Retain Memory CJ2m-CPU31

    Hi All, Just to verify if the "memory card" , in attached document Page 4 highlighted area ,  provides Omron CJ2M CPU21 to retain memory when powered off? If yes, for how long can the memory lasts without being charged? Isit capacitor or battery? Thanks in advance. Regards, Summer cj2m-cpu31.pdf
  16. Hi, I have some trouble with a CJ2M-CPU33. My client did a backup to memory card earlier today, and after this we did some changes through remote link. Now the client wanted to restore the previous backup to the PLC and has done so, but the system would not function correctly. After going online on the PLC it seems like the PLC is stuck in "Stop/Programming Mode". When trying to change to "Monitor" or "Run" mode a dialog comes up containing the following message: "Failed to change the operating mode. The operating mode may be still changing in the PLC."  - All the dip switches are set to off after restoring backup - The PLC has been rebooted  - I have downloaded the application again through CX-programmer  - Verified that the PLC is set to start up in "Monitor mode" But nothing helps. The same message comes up when trying to change the operating mode.  Hoping anyone can help to resolve this issue as it is very critical for us and the client. In advance, thanks for any tips or help received. Best regards Stian
  17. Hello         I'm new for PLC, I need to set pump turn ON/OFF  in 4 time/day every day => [8:00-8:10]a.m, [11:00-11:20]a.m, [2:00-2:10-14:10[p.m, [5:00-5:20]p.m ** I have Omron PLC CP1E-N30 , Could you advise me, please ?  
  18. My apologies for being a newbie on this, but could someone save me on this... I have a Viper 650 and an eMB-60R controller which I want to control by ePLC connection using an NJ501-1300 PLC unit, SYSMAC Studio with EIP Adept Library for Robot... All are starting up well, and I connect all components to a switch hub...  But following the ePLC guidelines, the IP Address showing on the controller is I change the IPV4 IP Address on the PC settings to and the subnet to but the Adept IP Address Setting Tool on SYSMAC doesn't detect the Robot IP Address, also i tried ipconfig on command prompt which shows a different IP Address IPV4 and subnet of, I changed the previous setting on the PC setting to with the same subnet. But still PC doesn't recognize. I tried both configurations if ACE Software can detect it but the same ACE can not detect it also... Appreciate any thoughts on what's wrong in my configurations. Thank you.
  19. I am using CJ2M PLC.I want switch on a output for certain time by a timer and holding bit if interlocks satisfied.If interlock not OK timer has to hold the time and output should be off. if again interlocks OK again output has to ON upto balance time completion and has to give timer done output for reset holding bit.please suggest.
  20. Hi, I am trying to do a merge move on 1S Servo. The condition are as follows: Task: Move 2 in(absolute value) and then Move back to 1 in (absolute value). I have to do this move 10 times in a row.  The application is material leveling after dumping in the mold. The only question i have is if I use just MC_MoveAbsolute command, the only buffer mode for transition available is velocity. Is there a way i can do it with position. I dont want to stop when I can go from 1 to 2 and 2 to 1 again and again. Its time consuming. But rather a nice oscillation motion without stopping to mimic leveling. Can anybody please help me out with this problem.   Thanks
  21. CP1E-N30DT with Hyperterminal PC

    Dear Expert, i'm issue to do communication CP1E with PC via RS232. im try to use plc for sending information and receive by hyperterminal pc. after googling some information there have multiway to success. by the way until now cannot settle. please expert share completed setup that's work: 1. communication cable from PLC - PC (my information use pin (2,3,9 jumper 4&5) - (2,3,5 jumper 7&8) 2. sample program that works (im using TXD & RXD with memory D1000 to keep data) 3. connection cable to PC using MOXA Serial to USB converter. 4. plc serial setting (default: 9600,7,N,1,Host link) my target to give instruction to printer to start print. printer need ACSII code. if this communication success i'm will convert all data to ACSII by ACSII convert function.   thanks,
  22. So I did this simple Function Block, pretty simple, and yet it keeps giving me this error, after a bunch of failed combinations the error persists, without telling me whats wrong. And therefore won't even allow me to download the program to the PLC (CJ2M CPU31) or even simulate.   I heard it's a simple thing to fix but I really dont know how to, since I'm quite new to this. Here's the function block  itself in the picture and the programming inside it, although since it gives me no errors, i don't think that would be the problem
  23. Hello, I need to Synchronize two 4kW motors connected to their own individual AltiVar VSDs. To put it simply the two motors are pulling cables on a pulley and when loaded the motor's slip and the speed varies. I have an Omron CP1L-EM PLC and 2x Omron Rotary Encoders ( E6C2-CWZ5B encoders - 360 PPR) - connected to each motor,   What is the best way to read the pulses from the two rotary encoders then convert to RPM? 1) Using  PRV or PRV2(883) instruction,  - this would be the best option as it would convert the value to RPM - however, can I use this instruction on both Counter 0 & Counter 1? 2) Or read the raw value from  Counter 0:  A270 (connected to motor one's encoder) Counter 1: A272 (connected to motor two's encoder) Convert the pulses to RPM - then compare and adjust? 3) Or using CTBL. - is this a useful instruction for this application?   Once I get the RPM speed from each motor - I can then do a compare instruction - see if there is a mismatch and if so send a scaled analogue output to the VSDs to correct the speed if required. (10-50Hz) What would be your recommendations? any help would be most helpful. Thank you.
  24. Homing servo motors

    Hello everybody, I have a question about homing servo motors. I have a project with new servos from Omron and I would like to know what is the best way to do homing for the servos and how often. Before when we have servos with encoders I was making special homing sequence and was calling by some event. I heard that new servos from Omron pretty smart and remember own position without batteries. So with this 'new generation' of servos what is the key to keep machine robust, easy for motor replacement without useless programming stuff. Regards, Scotty

    Hello everyone,   I'm a student who recently started programming, and I could really use some help.  I have a CPU-31 CJ2M OMRON PLC and a ADO41-v1 analogic card. I need help programming an analogic scale with a bipolar signal -10V to +10V to then control a drive, which will then control the motor. If anyone could help me out of give me some examples I'd be really thankfull.   Thanks!