Search the Community

Showing results for tags 'cj2m millis()'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 76 results

  1. On-Off Temperature control

    Hi, i'm actually working on a project with a CPU33 CJ2M and a external analog output CJ1W-AD04U I'm trying to read the informations coming from a PT100 sensor and control a valve which act on the temperature. i'm kind of lost in this project because it's my "first time" with Omron ! Which function block must i use or how must i program this would you show me example ?  Thank you for the help guys.
  2. Hi guys. I have 1 cj2m cpu33 reciving 3bits of info from 3 other plcs (all similar type cj2m cpu 34-33) The problem is that 2 bits are ariving the third one is not. See the pictures i uploaded:   I do not know these instructions, in the other cases it was working. However i noticed that the output plc had a different adress with D950. I changed the adress to D804 as you can see on the pictures but still not reciving the data.  I guess i will have to configure somwhere else also. All i found (https://www.myomron.com/index.php?action=kb&article=1416) on internet that i have to open this datalink tool from the integrator. When i actually do that of course i just get an error: FATAL Error. Cannot read the file.   How can i make this work? Is the other way to constantly send this one bit with ethernet? Any sollutions, advices are welcome!
  3. CJ2M-CPU32 and CJ1W-TC002 help

    Hi everyone. l have a project with omron plc but l dont know omron. l have CJ2M-CPU32 and CJ1W-TC002 also input and output units. do you have a example temperature control programme for this device ? 
  4. CONVERT FROM CQM1H TO CJ2M

    Hi there, I would like to ask you regarding the conversion PLC. Usually, it is not a surprise for us to get the errors occurring for the PLC conversion especially if both PLCs are not in the same compatible programming software. What I mean, currently, we have a lot of older version of PLC such as C20, C40H, C60H etc and these version needed to be converted to the newer version. However, lately we have problem converting the CQM1H to CJ2M, whereas both PLCs using the same programming software, CX-ONE software (ver 9.6). Most of the errors are displayed like this: ERROR: Step at rung 161 (6, 1) - SBN not defined - 4 There are 4 errors are listed referring to the same type of errors, that is the SBN not defined.  Is there anyone here ever experienced this? And why is it these two PLCs also got problem for converting? Thanks all.
  5. Invert scale 0-990 --> 990-0

    Hello.  I have a D word number 0-990. I would like to convert it to 990-0. So i need a function which shows me 0, when the D100 is 990, and shows me 0 when the D100=990. And of course for the between values also. Calculating continiusly. Help is much appreciated :)
  6. RTU Modbus CJ2M CPU34, SCU31-V1,

    Hello everyone. In my project I have to communicate Omron CJ2M-CPU34 PLC with TRANE chiller via Modbus RTU protocol. Unfortunately, I never use this protocol and I have no idea where should I start. I'm looking for examples and advices. If someone has experience in this topic please help me. I attach TRANE chiller documentation. Especially I want to use function 5,6 and 4.  CGAX-CXAX_Protocole_Datalists.xlsx CG-SVU007C-GB_0915.pdf
  7. Starting to find my way around Cx-One, running a CJ2M-CPU33, logic runs a rotary indexing-table destacker weldcell.  I am trying to figure out a way to prevent changing the value stored in UDINT TOTAL_PART_COUNT D31 when I upload a revision. The D31 increment line is section Main_Operation:40 It is a cumulative count of all parts run to date, so there is no conceivable reason I am ever going to want the TOTAL COUNT saved in an old revision to overwrite the current value.   The cell runs all day every day, so for a revision I'll open the last *.cxp file, connect to PLC, compare PC to PLC, if same I'll "Save", disconnect, make changes, save .cxp as new Rev#, and upload. When I upload a new revision, I usually (but it seems not always)  overwrite the value stored in UDINT TOTAL_PART_COUNT D31 on the PLC (which of course is bigger than whats in the newer revision since the machine has been running). Usually I remember to write down the TOTAL_PART_COUNT in the PLC before I upload and just manually change it after uploading the new Rev, but when I forget to and realize a week later, I get to have a lot of fun reading paper production logs. Is there a way to protect certain memory-areas like TOTAL_COUNT from being over-written by a Revision upload? Maybe I need to use a different memory area or instruction set? Next revision is going to be adding data-logging of faults, I'd like to create 2 arrays per fault, one for fault timestamp and one for # of minutes before the fault was cleared, and I'd certainly wouldn't want those arrays over-written with older values when I upload future revisions. Are the EM Memory Area values implicitly protected from overwrite? PS. The 13.15 "Trash Bit" contact everywhere  is from the integrator, not me, I have at least figured out the P_Off flag AS-260 IL100 LASER PARTSTCK REV23 2.27.17.cxp
  8. Hello Everyone, I have a Omron CJ2M PLC, and I have configured the Ethernet/IP port of this PLC to communicate over ethernet connection. I want to read/write the DM, HR memory areas of Omron PLC (CJ2M) using eip protocol communication. Is there any protocol specification which explains the telegram structure to be sent over ethernet to be able to read/write the values in omron plc over EIP? I want to know the command structure which can be sent to PLC and PLC will respond with the proper response. 
  9. Hi. Can anyone help me on how to connect to OMRON cj2m with fins or ethernet/ip protocol from windows ? Is there any vb code or javascript ? I saw an omron fins javascript  topic from patrick  but i was not able to connect with the plc.  How many steps are needed to connect ? Thank you.    
  10. CJ2M Modbus communication

    Hello everyone, in my project I have to connect CJ2M-CPU34 with CJ1W-SCU31-V1 module to external device (see technical specifications in attachment). The CJ2M should read and write a few values from the external device. Unfortunately, I dont have a chance to try this communication before, just during system start. I never make any project on Modbus. Anyone can send me a program to communicate with this device, according to documentation in attachment?   38RBS_Modbus_1.pdf Modbus_2.pdf
  11. I'm searching for supported EtherNet/IP CIP objects documentation for CJ2M. With Wireshark, I see unknown service 0x54. Thank you!  
  12. Omron CJ2M encoder reading

    Good day  I have a CJ2M cpu with ID211 module I have 2 E6B2-CWZ6C encoders connected to inputs 6,7,8,9 the plc data trace shows that pulses are being read, but I`m trying to configure PRV 881 instruction but it doesn`t work   please find attached the images   Best Regards   Eduardo   encoder error.pdf
  13. CJ2M i/O bus error

    Hi, my company got project using omron CJ2M but we got trouble when the output is over ch10  here the PLC hardware setup  :  1. PLC CJ2M 2. PSU PA202 2. Module Input ID211 (5 Pcs)3. Module Output OD211 (2 Pcs)4. Module Output OC211 (3 Pcs) and because addtional input and output we Change modules : 1. ID211(1pcs) -> ID231 (1pcs) 2. OD211(1pcs) -> ID231 (1pcs) after the setting and upload program , warning appear for the image its on attachment. so if i want this system to run do i need to buy expansion rack or there is another solution ? Best Regard
  14. Hello, My quest is to make a memory card, which I can just put into my PLC on the field and load all program and options etc to my plc. Now i found the official omron guide about it but its not good at all... For example is does not explain that how i need to transfer the H and D memory part to the plc, and that not all network settings are being copied if im not careful.   But my question is: is it possible to make this backup memory card without having the actual plc? Because the process is done in memory card window, which is only available if you are online. So basicly i have to get all the plc rack parts to make this work? I tried with the simulator but ofc it is not working.   Someone mentioned me that it is possible he heard from someone but no one actually knows how to. And there is nothing in the omron manual as i see.
  15. Addressing I/O

    Hello Guys and Girls, I am new to Omron and I am just setting up a new project. I have populated my rack in the (I/O Unit And Table Setup) but how do I address the physical inputs and outputs?  I started to populate the symbols area but when the inputs I had typed in 3.0 - 3.15 (16 inputs) It wouldnt let me populate the other 16 inputs (3.16 - 3.31) of the 32 input card?  What am I doing wrong? any help will be much appreciated. Many thanks in advance. MrEngineer
  16. cj2m

    hi i am wrting an essay about my final project , i created a scada for omron plc (CJ2M) in factory . ( i am a computer data student )  the thing is , i can't find a good and an easy  documentation ( not the CJ2M datasheet ) to talk about the CJ2M component (port and stuff like that) any help please ?   
  17. I have an application I am currently working on where I have a single AB ControlLogix PLC that needs to read data from 12+ Omron CJ2M PLCs.  The Omron PLCs don't need to read any data from the AB.   I have tried several things including the generic .eds file from Omron and the instructions in the document I found on this site:  Omron CJ2 to Rockwell ControlLogix Ethernet/IP Datalink.  The generic .eds file gave me a D6 error on the Omron side and after talking to support it does not seem like the correct path.   When I tried following the instructions for the datalink I ran into several issues.  The first issue was that after configuring my network in the Omron software upon trying to load it I got a unit mismatch message for the 1756-EN2T, the .eds file I have is for a 1765-EN2T but the card shows as a 1756-EN2T/D, so I am concerned that could cause an issue...that being said I can't find any .eds file specifically for the /D revision.  The next thing I noticed was that there doesn't seem to be be a way to link the produced data from the Omron to the AB, the Omron configuration software with the AB .eds files loaded only gave me the option to send data to the Omron which we do not need to do.  I created a generic Ethernet module in my RSLogix program for the Omron PLC and then created a consumed tag and linked that to the module but I do not see where I set up the link on the Omron side for that, so how does it know what addresses to read?? Any help would be greatly appreciated!!!! Thank you!
  18. 502 port error

    Hi  i am trying to connect to omron plc (cj2m ) using modbus tcp/ip , by using the port 502 i  get an error saying that the port can't be reached is there any method to fix that or change the port number ?   thank you 
  19. port 502 error

    Hi  i am trying to connect to omron plc (cj2m ) from my pc  using modbus tcp/ip in c# , by using the port 502 i  get an error saying that the port can't be reached is there any method to fix that or change the port number ?   thank you 
  20. I need some help and advice communicating between an Omron PLC and a Keyence KV-5500. My system typically uses an Omron CJ2M-CPU34 which comes equipped with the built in Ethernet IP port.  My customer is insisting that we change the CPU in our system to a CJ2H-CPU66-EIP in order to communicate with the Keyence KV-5500.  They have not been able to detail why their communications require the CJ2H, they just say they will be using Ethernet TAG communication and for this they need us to change the CPU. Has anyone successfully established communicated between the Omron PLCs and the Keyence?  If so how did you do it and which CPU did you use?  Is there an .eds file available for the Keyence CPU? Please help!!! They will be visiting from halfway around the globe to test communications in January so I want to be prepared!
  21. Hello, recently I tried to hook up a new CJ2M-CPU31 (built-in EIP Port) with a NS10-TV01-V2, which has an Ethernet/IP connection also. I made the simple setting as usual : 1. PLC, IP Address 192.168.250.1, Sub 255.255.255.0, FINS Node 1, no change to FINS/UDP parameter (Auto Dynamic Generation) 2. HMI, IP Address 192.168.250.2, Sub 255.255.255.0, FINS Node 2, Register the Host as EIP, SYSMAC-CJ2 mode with the PLC IP, Disables the Serial Port For some reason, there is no communication between NS and CJ2M (timeout error always occurs). I tried to re-register the Host as FINS, set the Node to 1, and also with no avail. I did try to connect the NS to a CP1L-EM with FINS Comm. and it works fine. Anything I did miss? Thanks in advance
  22. CJ2M serial communication

    Hi! I'm trying to connect Omron plc CJ2M cpu11 (photo below) with Weintek touch panel. I've made proper cable, and I'm trying to establish communication between these two devices. I've wrote a script in Weintek's program, that sends and receives via serial port, rs232. Also, I've used example for serial communication in CX-Programmer, that you can see in attached files. I'm trying only to toggle one W adress using hmi. That sounds simple, but still, I'm not able to make plc and hmi to talk with each other. What I'm doing wrong?
  23. CJ2M CPU32 SERIAL COMMUNICATION ISSUE

    Hi, I am having an issue with Omron CJ2m Cpu32 serial communication. I'm not receiving the data from pc to plc. sometimes during the production. When I recycle the power its working fine. Is there any Flag to reset the Serial port and clear the buffer on Cj2m VPU32. I contacted tech support and they told me to use A526.00n to clear the port. But I think A528.00 is not for CJ2m cpu32. I'm new to Omron programming and serial communication any reply or response would be helpful. thanks in advance.
  24. Hi. My goal is to communicate from a Wago 750-881 Controller to CJ2M With ETN21 on Modbus UDP. I can only find Modbus TCP function Blocks but would prefer UDP. Does it excist ? Cheers. WagoGrim
  25. Hello everybody, I have CJ2M-CPU35 connected to couple of devices over ethernet IP. I would like to know which bits in CIO area (25 words for built-in E.Net port starting at 1500) gives me the status of Individual nodes (i.e. connected or not connected) Tried to go through W465 but there is a lot of information and I'm getting confused with built-in port, additional E.net IP units, Fins TCP, Fins UDP etc.