Search the Community

Showing results for tags 'cp1l rs232'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 75 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. Time Input from NB Screen CP1L-E

    Hi guys,     I am trying to make a controller for an oven using MODBUS with a CP1L and an NB screen. My oven program will have 10 stages in one baking cycle, and the parameters for each stage can be modified individually (temperature, blower speed and time). I have set my number input in the NB screen to be a unsigned int of 2 integers and 2 decimals, and it writes to H4 in plc H memory. I move this value from H4 to W4 in the PLC, and input W4 into a timer (T0000). I have tried data manipulation and still have no success in getting this to work properly. My CP1L timer is set to BCD mode, as I am using premade MODBUS function blocks which are programmed with timers in BCD mode. Does anyone have any pointers regarding this? In the screenshot provided, the number i inputed in the HMI was 60.00.
  3. Rslogix 500 ascii confusion

    Hi all, I have a micrologix 1400 plc and an SIC E10 engraving machine. the engraver requires its marking info ( day/year/random sequential number etc) to be sent to it via rs232 connection. the manuals have nearly melted my brain and I have no clue how to convert and send this type of info via rs232. please help.   thanks       NOTPROTOE10V6US-R04.pdf
  4. I was wondering if I can use the ethernet and the rs232 interface at the same time with two different devices. A computer with RSLinx on the ethernet and and Arduino RS232 on the RS232 with DF1?
  5. Hello All, Please Help Me.. How I can to connect Omron CP1L-M + CP1W-Cif11 with Mitsubishi Inverter D700? Thank you. Omron modbus belum fix.cxp
  6. 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? 
  7. GS2107-WTBD and rs232 input

    We are upgrading our A900 GOTs (finally) and I'm looking into updating our key switches to rfid readers. Does anyone know of a good rs232 rfid reader to pair with a GS2107 GOT Simple? Also if anyone has had luck with scripting for security levels and could post a sample (be it GOT1000/2000) it would be awesome sauce.
  8. hello.   I've been trying to communicate this omron plc CP1L-EM30DT1-D, with a yaskawa inverter cimr-vu4a0004faa. but i can't figure out how to make de correct mov or configuration in de DM. i need to run/stop, change frequency.    some help, please. :) 485PRUEBA.cxp 485PRUEBA.opt

    HELLO, i want to ask. Can HMI connect to Non PLC device(example: zebra printer,Barcode Scanner or Weighing scale) using rs232 ? if can, can you suggest me what type of HMI that can connect to Non PLC device Using rs232 communication? thank you, have a nice day....
  10. I have OMRON CP1E PLC and I want to read memory address of PLC via serial communication. I want to use ESP8266 OR ARDIUNO OR PC Hyperterminal Please help me in any direction. How I should proceed?  
  11. Hi   I'm beginner from plc programing, I  need to sent data (D0000-D0010) to PC through Host link mode . i just sent data from PC to PLC with command serial port is work only like below PLC_Serial.println("@00SC0252*");//sent to monitoring mode PLC_Serial.println(CalcFCS("@00KSHR 004500"));//set H45.00 to hight PLC_Serial.println("@00SC0352*")//sent to run mode but  PLC to PC i don't know how to do . Could you advise me ? Thank you.
  12. About InverterRefresh

    Hı guys,  I will design new project  but I dont know that how can ı use  FB  at the   attachmend files ı wanna send   speed  referances  for 23 motors with rs 485  I will not use   start and stop  function  for ınverters with modbus   ıt  will be doing   probably  only speeds of the motors     1 )  Plc CP1EN40S DT1D     2)   hmı : nb7 twb0        3  ınverter s  :  V1000   VZABOP4BAA how can ı use registers numbers of the ınverters so ı need simple program    thanks for  everythings [767]
  13. CP1L-EL TCP/IP with VideoJet Printer

    Hello, My previous topic was want to establish communication CP1E --> Videojeet Printer using RS232 serial cable. this project test SUCCESS. by the way distance from printer and PLC was very far almost 500meter. so printer technical team request to use tcp communication using cat5e cable. Problem: 1. I'm using TCP communication protocol that need me to have open,send,receive,close port. 2. Communication testing with PC Hyper Terminal --> OK but HT need in waiting call mode, i don't know why. 3. Using printer no result show. how i'm suppose to know communication already establish? 4. Communication setting on PLC Setting-Built in Enthernet need to add other communication device.? here i'm share some programs to give more understanding. Thanksm TCP with printer.cxp
  14. 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
  15. 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
  16. i am new in plc programming . i know the basics difference between the rs232, rs422, rs485. but i am little bit confused in it. so i have the following question regarding these terms. 1.  can these protocols communicate with each other i mean rs232 can communicate with rs422 or rs485 and same. 2. my plc has port rs422  but i can connect it with my laptop serial port which is rs232 ? 3. what are the main important points that kept in mind during communication or cross communications.   any help will be greatly appreciated.
  17. 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.
  18. 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
  19. CP1E RS232 communication to my weighing

    hello, i want to connect CP1E to EK300i (weighing scale) with RS232 communication. i attach file of datasheet ek300i, wiring CP1E to ek300i and my cx programmer. if i push send data on ek300i, com LED indicator in CP1E is on. and i dont know why my cx programmer can't change data of memory with data from ek300i? what should i do?   ek300i.pdf CP1E to EK300i rs232 communication (belum dicoba).cxp CP1E to EK300i rs232 communication (belum dicoba).opt wiring rs232 ek300i to CP1E (belum dicoba).txt
  20. Hi, First as i know we can communication in MODBUS RTU as summary below 1.FX series, FX3U-485ADP-MB + ADPRW instruction  2.Q series, QJ71C24 <Serial interface module>+ Pre-defined protocol  3.Q series, QJ71MB91<Modbus interface module Three thing upper, i think it will ok   The question is  1> FX series, Cloud we use < Serial communication only not Modbus adapter> + RS instruction to do Modbus and How to do that.                              2>Can I write modbus rtu over RS-232 interface of the CPU module Q01UCPU and how
  21. I need to add 3 encoders to my project. Currently my PLC Inputs are full. I am using high speed counters 0.00 and 0.001 to monitor a motor RPM with an encoder. I now wish to add 3 encoders to monitor position of (3) other linear axis controlled by stand alone (Zeta 6104) stepper drives. I have 3 open outputs on this PLC but all inputs are used. What are my hardware options to add additional encoders to allow me to track and correct the 3 additional axis. My first thought was to add another CP1L and use PLC1 0.00, 001 for ENC1, PLC1 0.002, 0.003 for ENC2, PLC2 0.00, 001 for ENC3, PLC2 0.002, 0.003 for ENC4. I thought this would allow me to use additional I/O from the second PLC but I am not sure if this is even possible. Is it possible to connect 2 PLCs this way? I will need additional I/O to send to these stepper drives to make the corrections. Do I need to add an expansion unit to the existing PLC and 2 additional high speed counter modules? The encoders are all Omron E6C2-CWZ6C. I would appreciate any advise on options to add these encoders and help point me in the right direction. Thanks in advance to any help.
  22. 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,
  23. I recently purchased the SIEMENS CONNECTION KIT (6ES6400-1PC00-0AA0) with its corresponding serial cable to connect to a MICROMASTER 440. I connect my RS232-USB cable to the serial cable. But I can not connect in any way! What do I do wrong? 1. In the micromaster 440 I put the following USS configuration parameters (USS = serial communication):    p2010 = 6    p2011 = 0    p2012 = 2    p2013 = 127 2. I put the DIP of the Connection Kit (Ref. 6ES6400-1PC00-0AA0)  1 ON, 2 OFF, as indicated in the manual.    I connect the connection kit module with its serial cable to my RS232-USB cable. And I connect the USB to my PC. 3. Open "Set PG / PC interface" and select PC COM-Port.USS.1 4. I go to the properties and I am selected COM1 without problems. 5. But I do the transmission speed test and can not find anything. 6. Also in the diagnosis of PC COM-Port.USS.1 I do the test and can not find anything. Supposedly my RS232 cable is correct (I have tried several tests). And the configuration of the COM port in "device manager" also looks correct. What am I doing wrong?? Zhanks!
  24. SCPI Communication

    Has anyone been able to set up back and forth communication with a device that uses SCPI? I have a D2-260 and 5 Kikusui power supplies. The PLC already utilizes a RS485 Modbus network and also has an Ethernet connection. The power supplies only have a RS232 connection and uses SCPI commands. I have searched the web over and there are Modbus to ASCII converters but how to make it where to catch the response in a register for the PLC to find? I am open to anything, 5 small PLCs to there is no possible means to do this. Any direction would greatly be appreciated!
  25. CP1L connected with scanner symbol DS-4308 reading 2D data matrix,  with RS-232 on board CP1W-CIF01 Hi all, need some help because I can't read the information. Let me explain, I have a PLC, " CP1L-L14DR-D " with a RS-232 option borad " CP1W-CIF01 " , a scanner Symbol DS-4308, and I'm trying to read a data matrix 2d barcode (I don't know if that matters). so I build a cable with the next configuration, (one side male and the other female) PORT CONFIG PIN OUT SCANNER CABLE RJ-50 TO RS-232 PINOUT Maybe I'm missing a connection? a bridge? power supply ? ground?   in the program, I only have this to check the communication,       When my reception flag complete (A392.06), my instruction RXD is going to execcute, reading in D1500 the data. if is any error in communication (A392.04) or overflow (A392.07), my port is going to restart (A526.00) (ignore w0.03) with the followign config: (9600, 7,2,E, RS-232C, End code: Received Bytes 3       and I'm reading only, data on D1500 and D1501, and the data makes no sense.   with the configuration of End Code: CR, LF,          can't make it work, I read nothing. and if I change the END CODE: Received bytes to 4,      don't work. and my flag A392.04 go to ON.   PLC HAS 4 PIN SWITCH, ALL ARE OFF The configuration on the scanner is setting to default and then config to RS-232 Standard.   So, what I'm missing?  bad connections? plc don't support? scanner config? program?