Search the Community

Showing results for tags 'cj1m relay'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 46 results

  1. I get the input of an encoder and do operations based on that, for at least twenty object 'slots' at once. Program is on ladder since client needs to be able to modify it at will, but I'm using structured text functions to handle all the messy operations, since every object has properties and data, and up to twenty can be running in real time. This is a CP1L. Instead of instancing those function blocks twenty times each, I keep a single instance of them one running all the time, and output TRUE when one of those objects raises a valid comparison. In essence those FBs compare each objects' relative position to the encoder against defined points. The picture is an example of the functionality I'm needing. When one object completes the FB task, one of its flags turns ON so that it can't be used anymore. The issue is that without an input/output ST variable, this flag stays ON no matter what, and I need to reset it from outside so the cycle can begin again. The inner FB bit linked to this output stays ON since nothing inside of it makes it change. That's why I need an input/output variable. In the picture the timer would reset the bit - until the FB turns it on again - but I can't do this in this controller. Is there an elegant way to make this work? I know I could use the rising edge of the output to turn some other bit ON but that's the kind of thing I want to avoid.  
  2. receiving clocked data

    I have an older Omrom PLC with some input cards and a solid state output card. ID211 and OD203. I have another PC controlled device (microcontroller with 24v I/Os) and I want to send and receive simple commands ( a number between 0 and 255). I have three input lines and three output lines. Both talkers could act as a master. To send a number to the PLC, I plan to use the following format. Raise pin1(attention). Toggle pin2 (CLK) at ~20 HZ for eight toggles. Pin3 will be the data and change on the rising clock edge. After the word is transferred, (attention goes to zero) the PLC will act accordingly. This protocol is just a thought. My intent is to transfer data to and from the PLC. The rate as described will be about 2-3 bytes per second or faster if there is a minimal baud rate for a particular instruction). What "instructions" would be best for this type of command transfer? I have it working with a page of KEEPs, MOVs, and COUNTs. I would like something cleaner. Thanks  
  3. Omron CJ1m - bluetooth connect

    Hi, I write app to smartphone to communication omron CJ1m and Android. I want to connect devices by standard bluetooth. I plug in bluetooth adapter directly to omron RS232.  I want to ask you, how i can connect by FINS command. Bluetooth device baud rate is set 9600. If i connect to omron, i sent code: "AC01" and i sent how long as omron return me "AC01" ?? And what's next command i sent? If I want read CIO 10 i sent: "0101B000000A" ? and FCS and "*" ?? how i calculate FSC? Is it XOR my data sent? 
  4. End code unknown

    Hello I have problems when  trying to communicate with my cj1m. Recently, i have added an ETN11 ethernet module and i can now communicate with the PLC using CX-programer. But the problem is i cant communicate with my python script to read something. I just want to read CIO area 2 from bit 0 to bit 15. But Wireshark tells me that the end code is differente than completed. I cant find anywhere the end code 9005, any ideas?   Thanks  
  5. MC protocol

    Hello once again, before I'll dive into mitsu manuals, does anyone of you know if there is some special relay signaling that PLC (FX3GE) have lost communication via MC protocol? Thank you in advance
  6. Siprotec Relay 7sj62

    I have 24 Siemens Siprotec relay(7sj62) which i want to communicate with Scadapack 330E (Schneider) on 103 Protocol. but every time I try to communicate it shows Slave device is failed to communicate. trying to communicating via serial (RS-485). What should i do..?? or do i need to communicate it with Siemens PLC..?? If so which PLC should use..??
  7. PWM 891

    Hi everyone, im using CJ1M CPU21 ... I want to ask how to disable origin search function before I using PWM(891) instruction? This is because i noted that both PWM output 0 cannot share with the origin search function.     
  8. CJ1M to Movicon Interface from Message

    Hi, Im starting a project to interface a PLC function system and im still confuse about what protocole to choose to communicate (CJ1M CPU13) with Movicon interface by the way i have three PLCs with ETN and the others just the RS232C . The project is to interconnect 11 PLCs ( CJ1M CPU13) with a HMI in order to see the working process of the PLCs .  I could use your help solving my problem.
  9. Hello, I was hoping for some help in trying to read/write to a handful of bits in a CJ1M-CPU13 controller from a Compact GuardLogix. The CJ1M rack has a CJ1W-ETN21 card that is already communicating to a handful of Yaskawa drives. Is it possible for me to communicate with this controller from a CLX unit over ethernet? I don't believe an ETN21 card uses EIP but is there a way around this? Right now, I'm struggling to even find the IP address of the ETN21 card as the CX-Programmer file provided to me by the customer does not have the card in the IO configuration and I've never worked with Omron PLCs before. I found a CJ2M to CLX guide but it assumes communication over Ethernet IP and the ethernet port is native to the controller. Any help at all would be appreciated. Thanks!
  10. Relay Digital signals

    I have a CJ1M-CPU13. It will be used for a prototype and later if successful, a better PLC fit will be employed. This system does not have the ability to drive pulses for servo control. However, will this system relay a digital signal at ~1kHz? I also need the PLC to count the pulses, reset at 1000 and start again continuously and never miss an input pulse. I see that the published transactions give  <15 microsecond decision times. I would think it would be no issue. Thank you.
  11. Hello everyone, I am new to omron stuff. I have been given a task to execute a timer with retentive values on power off. I want to retain timer value when plc turn on after shut down. Timer should be start from where it stops on power failure. How to do that could anyone help me out here?
  12. Expand my PCL Horizons

    Hi, I have a couple of C200HS's set up with DIOs and they work very well for me. I use the ladders, Timers, KEEP, and Counters to control hydraulic injection molding machines. Those are the only PLC commands I really know and use.  For a new piece of equipment with solenoids and two speed motors, I will also use DIO cards and I am upgrading to a CJ1M. I do not use PLCs daily but I learn enough to program the machine and whenever, I need to go back to the PLC language, it is a new but quicker learning curve. My issue is this, I have a motor driven/air cylinder locking indexer (lazy susan) with 8 positions. Each station has a magnet for pick-up and one station has 2 magnets for a z-index. When I use a CTR to note the position, I want to store that number in non-volatile memory so when I re-power the machine, I do not have to spin the indexer to the home position.  How do I go about doing this?
  13. Hi, I would like to provide the PLC control for a scenario where the temperature in a machine, heated by the two electric heaters, is controlled with use of 1 TCK and 2 s/s relays. Please see draft “plc4” sent attach. The TCK is fixed to the machine and is not in a physical contact with the heaters. Nominal temperature of machine is 200degC. The machine temperature tolerance is +/-2degC. This means that the heaters should be turned on when machine T drops to 198degC and turned off when T reaches 202degC.  For this moment I have created the start PLC diagram outlined on draft “PLC4”.  I am still learning PLC. Therefore, I would be very grateful for your opinion whether the PLC diagram shown on picture “PLC4”, in terms of the tools used (direct contact, direct coil, etc.) and their layout, is of proper design. I know that there is much more work needed to complete this task (e.g. set up of the variables, etc.). I am using Unilogic software. Please help. Regards
  14. CJ1M-CPU12 Host Link Protocol(FINS)

    Hi all,I tried connect to CJ1M-CPU12 with Host Link Protocol from PC.I sended(without spaces)  "@00FA F 00000000 0101 82 0038 0A +FCS *Cr" through peripheral port for read Dm area.But PLC didn't answer.I tried again with 19200 7E2,9600 7E2,115200 8E1.But  result is same no answer.DIP switches on the PLC are are ON all of them.I read W342-E1-14 CS_CJ_CP+HostLink FINS ReferenceManual.But I didn't solve this problem.Finally hooked Rs232 Port and sended same code with 19200 7E2.PLC sended to me "@00???".Is peripheral port settings wrong?If it is not what's wrong? Thank you 
  15. RC servo motor sg90

    I new to the Cx-programmer. I'm facing a problem where i need make the servo motor go to certain direction and stop at the direction until other signal is sensed. Is there any instruction which can be used to do the ladder diagram? is it using PWM instruction? Is my servo motor (sg90) suitable for PLC ? do i need motor driver for this servo motor? or i just have to connect to the PLC 5v ? Im using CJ1M CPU21 PLC module. Im doing a sorting system project that use the servo motor to slide the item to certain angle. 
  16. Hy guys,  My first topic here. Thank you all for so much free info.  I am having a NS5 connected to the serial port of a CJ1M. It worked fine until yesterday when I found the HMI with the "Time-out error occurs while downloading the data. Allocation host: CJ1" message. The first thing I've done si to check the cable. It seems to be ok. Then, I tried to connect the PC through the same port and doesn't work. I tried with others CJ1M and it worked. It is impossible to be a configuration issue, because nobody changed it. Cand only the port die in a PLC?  I think th HMI is fine since I am able to download the project without problem. I will make some other tests to see if I get to communicate bothe devices but I need some help in order to take a path or another. Thank you!
  17. Using the TIML instruction

    Hi all, I'm fairly new to cx-programmer and I'm having a bit of difficulty with implementing the long timer (TIML). The ultimate goal is to set up two timers, the duration of which is dependent on some sort of user input from the HMI. I know for sure that the TIM will be insufficient in terms of timer length, and given I don't know the exact timing required I decided against just implementing multiple TIM timers. I've had a look at the manual and instruction help for TIML, where it says TIML D1 D2 S, where D1 corresponds to completion flag, D2 to PV and S to SV. No matter what I try, the timer just seems to finish immediately or shows Error (side note: is there any way to see what the error actually is?), no matter I define S to be. If I'm understanding the help correctly I should be able to do something like: TIML 200 D100 D200 where D200 is some value that I define? I guess that bit is what is tripping me up. As an example, one calculation for the timer resulted in the timer needing to be 24min (or 1440 seconds) in duration. So since TIML uses 0.1s increments I would want to define the S as 14400. How would I go about doing this? I am using cj1m cpu23 if that makes a difference. Regards, Jay
  18. I got a CJ1M CPU11 that I can connect to but I can just go to run mode but when I try to switch to program mode I'm tell that I can modify the mode
  19. Cycle Timer

    Hi all, I try to realize a cycle timer. A counter is triggered by a movement ( clamp close ) Then the machine does it things, piston here, and there and when the clamp closes again it should show me the real cycle time. Is there a timer/counter that is independent from the PLC cycle? I am using a CJ1M CPU11 Ver. 3.0
  20. Hi All, We have an old machine using a Mitsubishi Fxo-30MR/ES and I will be replacing the PLC with a FX3S-30MR/ES.  This old machine would power some led's on a panel mounted PCB using the PLC outputs.  The 24V from the PLC output would go to the PCB board where a resistor would drop the voltage for the LED.   This PCB is damaged I would like to avoid getting a new PCB made and instead power some panel mounted LED rated for 24V directly form the PLC output.  I guess these panel mounted LED have a built-in resistor.  Power consumption for the LEDs are 20mA at 24V volts.  The 24V power supply has plenty of capacity for this. Are there any issues with doing this? I have attached the spec sheet for the panel mounted LED (I will be using the 24V versions).   Panel Mounted LED.pdf
  21. Communication between CJ1M and NT31

    Hi, i have difficulty to make a CJ1M cpu11 communicate with a touch screen NT31. the plc port is set : host link  in the TS menu i cannot change the comm A method to host link ( invalid comm method) . i tried with the port B (RS-232C) the cable is 25 pin (NT) and 9pin (PLC) with RTS-CTS shunted 2-3  3-2 7-9 Please help me. Thank you.  
  22. CJ1M CPU11 how to set IP adress?

    Hello, I have to work now with a cj1m cpu11. I would like to connect it to a ns10 display. My first obvious problem is when i made the project in cx programmer, that unlike in cj2m i wasnt able to select the cpu unit in the IO table and set the ip adress. How do i need to set the ip address? im reading an omron guide, but it is confusing, and so long, i only want to set the ip address :/. Also how can i set the fins network to 2? On the cx-designer i set the network address:2 and the node adress:40. I know that the 40 means the end of ip address. Thats why i want to set the plc. How about the network address 2?  Help is much appreciated. Thanks!
  23. Programming a HMI to revert to Home Screen

    Hello everyone, I was wondering if anyone here could explain to me how I can program my human-machine interface (HMI) to revert to a Home Screen after a period of inactivity. If the user has to leave at any time, and leaves the HMI on the last screen he/she was working on, I want the HMI to revert back to my Home Screen after 60 seconds inactivity. Has anyone here done anything similar to this before? Do you think it's worth the trouble of having such a function built into the HMI? Thank you for your time and for reading.
  24. CJ1M Contacts and Timers

    Hello everyone, Is it possible to make the address of an open/closed contact the name/address of a timer? Or, rather, how do you link a contact to a timer? I'm working with a CJ1M CPU-11, and I think the available commands in CX-Programmer vary from PLC to PLC. Thank you for your time and help, it is appreciated. God bless.
  25. Building an HMI with CX-Designer

    Hello everyone, I'm working on an industry project (undergraduate senior capstone project) and need to build a Human Machine Interface for a NS5-SQ10B-V2 module; it will be used with a CJ1M-CPU11 PLC. I've been using CX-Designer and CX-Programmer thus far. This software is new to me, and before this project I have had no experience with OMRON tech or Ladder Logic. This PLC will be controlling a windshield wiper motor and a solenoid valve.  Here's what I'd like to ask: 1 - If this were your project, what information would you immediately set out to acquire? How should I prepare the HMI for the PLC? I already have multiple user manuals, including the one for CX-Designer. 2 - Our PLC is already wired, so how do I translate that to my HMI functional objects in CX-Designer? I need to make sure my ON/OFF buttons, command buttons, word buttons, and others correspond to the correct I/O's of the PLC. Conclusion: I have already completed the GUIDE tutorial that comes with CX-Designer, but welcome further tutorials, videos, or any information on working with CX-Designer. Thanks for reading! Any help or tips would be greatly appreciated.