Search the Community

Showing results for tags 'cj2m'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 90 results

  1. 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!
  2. NX1P2 conection a CJ2M

    I made an Ethernet connection between an NX1P2 and a CJ2M using network configurator and I already have a real-time data input and output connection in the memory of both plcs. I need to send a 20-byte word and when the NX1P2 is modified in the CJ2M using Sysmac Studio, it receives that string of bits, decompresses each bit to be able to activate the NX1P2 outputs.
  3. Ethernet CJ2M e CP1H.

    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.
  4. Lately I have been having a struggle importing tags into JMobile from a CJ2M CPU31, I can enter tags directly and it works OK, but when I try to import tags nothing works, there are the yellow triangles on all the widgets. I tried to import using the "normal" Ethernet protocol by first making a .CXR file from the global symbol list, it seems to create the dictionary, and I can update the taglist and the tags appear to have the correct datatype and address, but no joy. I also tried the EthernetIP protocol by making a cjf file, funny thing is that worked for a while, but stopped communicating after a while. I have successfully used the EthernetIP import on another  CJ2M/Exor eSmart. Any way of troubleshooting this, adding 50+ tags by hand is not very tempting :( Geir
  5. Hi guys. I need help. I have 2 plcs: CJ2M CPU15 & CJ1M CPU13   I need siply to send D300 and D301 from CJ2M to CJ1M What is the easiest way for achieving this?  What cable do I need to use to connect these 2 plcs?
  6. Hello. What is the best option using TCP/UDP communication to use CP1L-EM40 as SLAVE / IO Expansion? For MASTER I’m using CJ2M-CPU31. Since now I’ve used FINS _CPU010_SendData and _CPU011_ReceiveData function blocks. The problem is, that I’m communicating with 6 slave IO units and to read/write all 6 units it takes up to 1 – 2 seconds. I’ve tried Ethernet/IP protocol but CP1L units doesn’t support this protocol. Is there some kind of different TCP/UDP protocol which is faster than FINS?  In older days you could use PC Link but this protocol is for RS232 / RS485 comm. I know I could use CP1W-EIP61 but I don't have this adapter and I can't afford to buy one Thanks. 
  7. CJ2M PING FB

    Hello. Is there some kind of FUNCTION BLOCK to PING IP Device? Thanks. BR, Andrej. 
  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. Netbiter read from CJ2M

    I see on the forum there are a couple of mentions of netbiter and they seem positive, ive just got one and do not understand how the messaging works. I have tried creating a template just to read D0, i believe i have setup all my IP settings correctly but i am not certain, they are on the same address range for sure. If anyone has used this before and could point me in the right direction that would be great  
  10. I'm trying to exchange some data between two controllers. I've used a manual which describes Tag Datalink communication. Everything works fine on the Bradley side, which means I can read values from Omron without problems. However, on the CJ it isn't working. In the Network Configurator I get error every 10 sec (Tag data ling error, code 03D5) and cannot read any data from AB. When I open Connection Structure Tree I see that the input tagset from AB has 'Broken path (0000000000000)' and Unknown Device right next to IP address. I've tried using EDS from the Rockwell as well as uploading it from AB PLC directly - I don't know if it might be EDS issue. The only thing I noticed that inside CJ2M-EIP21 EDS it says that Ethernet/IP is Class 1 connection, however in the 1769-L35E EDS Ethernet/IP is Class 2 connection. Have anyone ever had such a problem?
  11. Hello fellow tinkerers, Inside our company we're expanding our IoT network with the replacement of CJ1G-H to CJ2M CPU units. When swapping models we are downloading the Datamemories back into the CPU. Our engineer warned us to not download all the DM memories: only up to D20000, so I did. When starting we had some inputs that weren't showing in the Data trace: and noticed that it were pulses shorter than 8ms. We found out the "Unit settings" were back to default and this is not unusual since we only downloaded range D0-D20000 but I'd like to avoid this in the future and look up what each datamemory means. I know D30000 to D31599 are the memories for the CPU bus unit settings (manual W473 section 4-5) but what range is the "unit settings" within these 1600 datamemories? I can't seem to find it in any manual I look into (W473, W472).. Also do you see any problems with downloading the full datamemory range?   Kind regards!
  12. Send and Recv function

    Hi, I'm trying  to use send and receive function. I have to send 2 words from cpu CJ2M CPU33  to CJ1M CPU13. I use enthernet network.  I saw a strange thing  that if I just use send function  then my data goes to second  plc without  having  a receive function.  Its that right? I didn't  mentioned  wich port because  I'm not sure wich  is. I left for automatic allocation. 
  13. Symbol transfer when editing online

    Hi everyone, I am having a problem with a CJ2M-CPU33: when finishing the online edits, it never asks me to store the changed symbols and/or program comments, so they are not updated in the PLC memory and cannot be uploaded later. First time this thing happened to me, I am connecting to dozens of CJ in this factory and it's the first time I've encountered this problems in 16 years.
  14. Need a little help

    I am probably over looking something simple but I am stuck. I need to count how many containers come down a conveyor and display it in Indusoft Web Studio 2020. I am using a CJ2M to count from a sensor doing an binary incremental long word (++L) Using long word as the count will need to go into the thousands. (not 100% if this is the correct way). My problem is after 99 the value sent to indusoft is not a number but letters or signs. I am sure their is a simple solution but I have given my self a headache and need a little guidance please. 
  15. CJ2M - FC280 Danfoss Ethernet IP

    Hello!!! Can somebody explain me how to communicate by ethernet IP between a CJ2M and a FC280? Thank you in advance!!!
  16. Can a CJ2M communicate to a C200H??

    Hello! I just got an interesting request from a customer, we have a product line that uses C200H PLCs.  The cabinets can operate independently or they can be connected to work in a Master/Slave configuration, the C200 PLCs communicate to each other over RS-232 using LR registers. Back in 2015 we redesigned to use CJ2M PLCs and changed the communication to EthernetIP. Now we have a customer who wants to buy a new slave for an old C200H system, so my question is what are my options for communicating to a C200 with a CJ PLC, I don't have much experience with the C200, that was programmed before my time here, in 2000 I think. Thank you!!!      
  17. Hi guys. I need help. I have 2 plcs: CJ2M CPU15 & CJ1M CPU13   I need siply to send D300 and D301 from CJ2M to CJ1M What is the easiest way for achieving this?  What cable do I need to use to connect these 2 plcs?
  18. CJ2m Time as millis()

    Hello. I'm using CX-Programer and CJ2M CPU. Is it possible to get current time in ms like in arduinos millis()? Thanks. BR.
  19. Hey all, Further to my other post I need to read an analog input flowmeter signal (4-20mA) and scale it to litres per minute flow-rate. Then display on HMI...... Then use a PID control block to control a output water control valve (4-20mA) to a calculated set point (litres per minute) The flowmeter is measuring water flow in a pipe & The control valve is controlling the flow rate in the pipe. The water is then sprayed onto a conveyor belt - measured at a percentage SP depending on the amount of powder product on the conveyor belt (in KG) 1. So inputs to PID is the SP (litres per sec) calculated every few seconds from product weights (kg) in bins. 2. And the PV is the flowmeter reading. 3. Output is the control valve (4-20mA)  Does anyone have any tips to do this or some good flow PID and flowmeter example. Your help would be much appreciated. Thanks Richard                           
  20. Hey, I have a project which one part involves using a RTD PT100 (0-100 Deg.C 4-20mA) connected to a CJ1W AD041 (ATD input card), the PLC is a CJ2M Basically the PLC needs to read the RTD and display the temperature on a Omron HMI (NS10), via Ethernet, Could someone please help me out with a basic example program - to read and convert the RTD - ATD value to store in memory. Your help would be most appreciated. Thanks  Richard       
  21. CPU to Advaced HMI slow response

    HI all,  I have connected my CJ2M-CPU13 to Advanced HMI software via Hostlink (19200,7,2,E ) .  I connected to the serial port in CPU and just used ( didnt write any code or formating).   The HMI response is very slow ( almost 2+seconds).  I am not sure whats is wrong, Is it because i am using more words?  Anybody had this encountered this problem? Appreciate all suggestions and advices.    
  22. Hello People!....  I would like send command to start/stop printer on modbus... the printer is already connected to plc and receive number to print on wood sheet...  after research i'm not find any example to send this command.... i join picture with command to send... you can make a example for i test it ?? ;) thanks you     ScreenShoot Markem Imaje Command
  23. CJ2M PLC power supply wiring

    HI all,  Is there anything issue or wrong in thing connection ( added noise filter & fuse. )?  
  24. Timers in structured text

    HI everyone ive decided to try and use a structured text function block for an machine output calculation, to put it simply i want the machine to say how many units its outputting per minute so i thought it would be much nicer to have a basic maths Structured text block rather than a long bit of ladder for some simple instructions. i have 2 inputs, one is the start of the machine cycle, the other is the end of the machine cycle. every cycle is one unit output. i want to time the gap between input 1 and 2 then just a bit of simple maths 60/(cycle_time) for uniters per minute. i want this to be to 2 decimal places for a reasonable resolution. the main problem im having is the timers in structured text, im a little confused how they work i would do this in ladder by having input 1 set a bit and then input 2 resetting this bit(i assume i can set a bit by using an if statement [if input 1 true, timer{bool}true]) this timer bool would then activate the timer, again how i would do it in ladder would be to have a timer1 count down from &500 then use a maths block for 500-timer1 and this would give time elapsed this is the bit i really dont know how to do in structured text and would appreciate any help in the matter. otherwise i can just do it in ladder   added my idea of what it would look like IF Cycle_start=TRUE THEN     Timer_start:= TRUE; ELSIF Cycle_end=TRUE THEN     Timer_start:= FALSE; END_IF; TIMHX(Timer_start, Cycle_timer,Timer_time); Cycle_time_bin:= 500-Timer_time; Cycle_time_real:= UINT_TO_REAL(Cycle_time_bin); Cans_per_min:= 60.0/Cycle_time_real;
  25. Hello, CJ2M CPU-32 to IAI motion controller through ethernet/ip I'm working on programming electric actuators to pick up parts from a tray. I will have x (row) and y (column) coordinates that I need to update to move the actuators. So to go through the whole tray I would have to use nested loops. (below what i'm trying to achieve if i was doing it in C++)                                           6 Rows and 6 Columns, palettizing                                           data rows&columns DWORD (Row1,row2,row3...row6; col1,col2...col6)                                           c++ code                                           for i=0,i++,i<6;                                               rowData = row                                               for i=0,i++,i<6;                                                   colData = col                                                   execute movement                                                   wait for confirmation                                               end                                           end I have a way of doing it but it will require a lot of repetitive lines and typing every step, and I was wondering if there is a way on every iteration to increment the data location instead of the contents. In the picture below you can see the example where the goal is to copy data from D8100 to D8000, then in next step from D8102 to D8000, then from D8104 to D8000 and so on. So far in the documentation I was only able to find how to increment contents. Is it even possible to do what I want to?