Search the Community

Showing results for tags 'cp1l rs232'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 147 results

  1. PLC TO HMI

    Hi I am a beginner within PLC, I have attended high school and will attend an oral and practical test in January. To become a "licensed" automatician. Total 4.5 years of school and practice. (NORWAY) I have programmed a little omron before, but not with HMI I'm having trouble getting plc to communicate with HMI. I get CX-Designer to communicate with both PLC and HMI.   Hardware: CP1L-EL20DT1-D     NS5-SQ11B-V2     W4S1-03B     Omron 3-port basic ethernet switch 3x Ethernet Cat.6 patch cable   Thanks for reply
  2. Hi, In the attachment there is my code.  Setup is set correctly, because when I send data from PC to PLC everything works (data is read and LED Comm blinks), The problem is with TXD. After startup A392.05 is ON when I execute rung no LED blink either no data comes to PC and  A392.05 become OFF until f.e A526.00 set to ON Any idea why data is not send from PLC?  HMM  
  3. My issue is trying to receive data from a Datalogic PM9500 barcode scanner onto a Siemens ET200S (IM151-8 PN/DP) CPU using a serial interface card (6ES7 131-4BD01-0AB0) with the ASCII Protocol. The software that I'm using to program the PLC is TIA Portal V14. I made use of the built-in function block S_RCV to try and receive the data into a data block that I have created. I connected the Datalogic's base charger unit directly into the PLC's SI module. (I cut the DB9 plug off) So, Pin 5 (RXD) of the SI module is connected to the Tx wire (Brown) of the scanner, the Tx is also connected, as well as the ground, to the SI module, however, I only require the Rx. There is no flow control. Upon scanning a barcode, the Rx LED on the SI card flashes, indicating that something was received. I have tested the scanner using a terminal program called "Hercules", and I am receiving what I should be when I scan something. The parameters such as Parity, Stop Bits, and Baud Rate, etc, of the scanner corresponds to that of the SI module as well. I paramatized the S_RCV block as follows: 1.) EN_R is always ON. 2.) R is defaulted to the instance DB that was created with the function block's tag.  3.) LADDR  is set to "100" as that is the start address of my SI Module as defined in the device configuration. 4.) DB_NO is set to "2" as it is the number of the data block I created for storing the received data.  5.) DBB_NO is set to "0", which I understand to be the data blocks offset start point from where to start inputting the data. The rest of the NDR, ERROR, LEN, and STATUS outputs of the function block are also defaulted to the instance DB tags. I only want to see if I'm receiving the data from the barcode scanner into the datablock. I created an array of bytes and I also tried with characters  from 0 to 30 to store the data. As I mentioned, the problem comes when I'm trying to scan something, the RX LED on the SI module pulses, but when I monitor for any changes in the Function Block, as well as for any changes in the Datablock itself, nothing happens at all.  I don't know what If I'm missing something, this has been bugging me for some time now, I'm quite new to the whole programming scene, I would appreciate any help I could, get also I've attached the project file too. =)   Yumi_Panel.zap14
  4. hello, Maybe somebody know how need send only hex numbers via rs232 in the external device? I tried to use SEND_RECV_MSG function block, but unsuccessful, because send ASCII code. Need send 16#AE number, but I don't have any idea how need do it. I am waiting your advice.
  5. So, hello all. I'm new in Omron PLC. Using: CP1L-EM controll + CP1W-TS102 (x3) Problem: I need to regulate the valve with motor drive. You can meet the same in heating system for control the temperature of water. Logic is simple,  - low temperature? - open valve step-by-step - high temperature? - close the value step-by-step I always use PWM regulation, but in Omron PWM only for encoder (srsly, i don't need 10k impulses during short period of time, i need just several impulses during the time) So, i decided to use TPO. The input calue for TPO is output value from PIDAT. (W451 manual, description of TPO function, example) What's the problem?  1. I need to make difference time between impulses.  Look here: I have 55 C temperature of the water, but i need 80 C, so i need impules for 8-10 sec duration, but when the temper close to 75-79 degress i need the impuls 1-2 sec duration. And, as i read, TPO cant do this, right? Just constant duration in 1 TPO instruction, or use several TPO instruction. Other situation, i have 80 degree Celsius, but i need 50 C, so i need to close the valve.  But i have only 1 TPO! So i need to check the difference beetwen SP (set point of temperature) and PV (process value) and if it hegative - go to PIDAT #1, which connected with TPO #1 and close the valve (SP-PV need to be around 0) If i have positive value (SP-PV) i need to go to PIDAT #2 wich connected with TPO #2.....  Srsly? I cant make the measure between -100 .... 100 for 1 TPO function and use 2 digital output?  I know that 0...10v regulation is better, but i have that i have =)   Sincerely, p001p
  6. How can I simulate CP1L-E & NB HMI?

    Sorry for polluting the internet; I already posted this on plctalk. Then I remembered there are more Omron experts over here, including @Jay Anthony who I've worked with before. Anyway, here goes... I am trying to write a program in CX-programmer and a UI in NB-designer, and simulate both in communication with each other. My previous Omron HMI experience has been in CX-designer, which interfaces seamlessly into CX-programmer and I can simulate both at once easily. This NB application has me confounded. I tried using the CX-simulator and was able to connect CX-programmer to it, but not NB designer.Is this even possible?  
  7. Hello, Everyone . Do anyone has experience in FX1N-232-BD connect to GT11 (or other model) from Panasonic ? I try to connect them via RS232 port and I setup parameter following HMI manual but It doesn't work at all only RX led on 232-BD blinking Any suggestion ?    Matcha IMG_39346964.MOV
  8. Hello, is there a way, to edit E5CC-T temperature controller internal program, using CP1L-EM PLC, connected to temperature controller via rs-485 communication? I can't find any information about doing it. I know that i cat change these programs, using CX-Thermo, but that is not an option. I need to do that, using only PLC..
  9. Hi all, I have a S7-1200 CPU 1214 DC DC DC and Cm 1241 6ES7241-1AH32-0XB0 communication module.I'm using TIA Portal 14 and i connected cpu but i couldn't connect cm 1241 communication module.When i looked diagnostic i saw" Diagnostics data are not available because the current online configuration data differ from the offline configuration data.".Then i looked for what was the difference.But i didn't see.Are there anyone can help me? Thank you
  10. Hello all  i'm looking for some software to record a 100 plus channels maybe with an ascii string from a PLC? i want to be able to assign each channel with a unit and a range, flagging feature would be nice.  - selecting the channels i want to view  - auto start recording - save file and start new automatically  -view and create reports  preferably no additional hardware because of the amount of channels. this is to record an operators every move so in events of damage or plant failure we can quickly identify the problem (point the finger)  many thanks dan
  11. Greetings everyone, I am using a VERY OLD laptop, Windows 98, the correct AB cable....and only used to download programs into equipment to restore in emergencies into AB 5/04.  I was able to connect to SLC 5/04 using RSLinx (used Auto-Config, all worked correctly) , and wanted to install a program from earlier version using RSLogix500.  It seemed to download correctly, the pop-up asked if I was sure I wanted to install new program, hit YES...then said it would change channel, pop up buttons were "ALLOW" or "DENY" (something like that). I hit "ALLOW". All seemed good until I plugged HMI back in....had a bunch of codes it didn't like, so I went to install back to original version.  When I went through the same procedure (mentioned above)....5/04 and laptop no longer wanted to communicate.  I assume it has something with allowing the channel change.  As you can tell, I know Jack Squat...I'm not a programmer (duh), but was handed a computer with instructions....and now the machine is down.  Any help with getting me in right direction is highly appreciated in advance.  I searched the forum, and wasn't able to find a solution... I suppose it has to do with an in-experienced, well intending human messing with stuff he shouldn't be messing with !!
  12. Hi to everyone,    I have done an intense search on the web and this form, also went on to the download section here to try out a simple RS232 program, so far I can't get it work. Long story short, I am working on a PLC CP1E( w/ built in RS232) to communicate with the PC hyper-terminal . PC will send a string of messages to the PLC, then the PLC will convert the message to a pulse parameter, eg. computer will send ( 90, 40) to PLC, then the PLC will take the string 90 to pulses parameter( PLS2) and 40 will be the duration period. I am willing to learn and try out your sample program, let me know! THank you in advance.  
  13. Hello admin, Im new to PLC domain , i have one OMRON CP1E N30 with in built RS 232 port and ladder program to run in Homing and forward and reverse motion. I want to control the PLC from a computer using RS 232 communication. From what little i read from manual supplied for programming ,i came to know that there are two type of commands C mode as well as Fins commands. My doubt is whether these commands can read/write CIO memory addresses that are used to set and reset the motor enable/disable in ladder program through CX programmer software? for example: in my ladder program CIO memory address 30.00 is the motor enable/disable address so if i want to control externally from a PC to enable/disable the motor ,which commands should i use and is there a format to send these commands as well as the value. I am planning to build a GUI in Labview to cotrol the PLC via Serial RS 232 . How can i do it ? Thanks in advance.
  14. Hello  I try to connect my load cell via RS232 serial port 2 to PLC (PC1L-EM) but it dose not work could you please let me know what is my mistake  Thanks in advance Ebby Untitled.cxp
  15. I would like to send a character on a Micro830 using ASCII. I wish to send the character to a pc by using Real term or terra term on PC. Can somebody please let me know how can I configure the ladder diagram, I tried various commands including THE AWA, AWT and also the MSG_modbus however I can initiate the communication. I think that I am missing something cause I don't have a reference ladder diagram. Thanks 
  16. CP1E RS232 Setup

    Hi everyone, I am fairly new here, I have a CP1E-N40DR-A And i need to send a string of data to a printer over rs232 from the built in port on the PLC, I have had a look online and canot find any information on what I need to do. all the tutorials are for CJ2 cpus ect and the instructions that I would normally use on a CJ2 dont work on CP1E PLC's. Any help or light shed would be great,  Thanks in advance
  17. ok i have a rotary encoder to a HSC on my tm221, im converting that to ascii and outputting the value to a lascar HMI over rs232. example of value sent: 1234     value received: 2143 there don't seem to be any options to set the LSB or MSB , any ideas?? Dan
  18. Hi dear I want control micromaster440 siemens with cp1l omron via rs485 Is there any one help me?
  19. GE PLC PCM

    The topic is based on "How to configure a PCM module in GE PLC". One new query in PCM. To configure this PCM Module some procedure is to be followed in CMD prompt. Initially once ''READY'' line displayed. Query to this topic is if ''READY'' line repeats below persistently in CMD prompt, then solution is ______???? 
  20. Hi, I've recently bought a generic RS232/TTY cable for Siemens S5 PLC. I also bought a RS232 -> USB converter to connect the cable to my laptop. My problem is that when I connect from S5 to Laptop and run PG2000, I cannot load anything from the PLC as the program gets stuck. I think nothing is being read from the converter. Please help.   Here is my setup: S5 Siemens PLC  http://i.imgur.com/kk3X7OU.jpg?1   RS232/TTY CABLE FOR S5 PLC  http://i.imgur.com/SbkD2g9.jpg?1   RS232 TO USB CONVERTER  http://i.imgur.com/Sy3C7hP.jpg?1   Thanks,
  21. G.INPUT

    I'm working on a project that reads an RF - TAG via RS232. It uses the G.INPUT command. I need some help to see if I understand clearly how it works. Now it reads a maximum of 16 digits but in the future i want to pass it to 32 bits. The command line is |G.INPUT    U5    D6500    D6800    M7922| If I understood correctly I load in D6500 either 1 or 2 to tell it which channel to read from. It stores the 16 digits in words starting from D6800 and goes on till D6815 if I am correct. My questions are: - did I understand correctly how to use the command and is there anything else i need to take care of while using it? - do I need to do additional settings to it in order to read 32 digits or does it automatically read (if the RF reader is compatible with 32 digits)? Thank you, Andrei
  22. CJ1W SCU21

    Hi:      I have a question on SCU21,  i have a RS232 connection from SCU21 connected to a external device. how to I program CX programmer to detect connection error when the cable is removed from the remove SCU?   Thanks
  23. CP1L and PID or PIDAT

    Hello.     I have a CP1L CPU but can not modulate the output of the PID block. I wonder if the CP1L has support for PID and PIDAT block.   Thanks
  24. GOODDAY EVERYONE, PLS I'M HAVING PROBLEM WITH MY ALLEN BRADLEY PV 600 USING ONLY RS232 AND ETHERNET CABLE ONLY I DON'T KNOW HOW TO GET TO THE FILE MANAGER IN OTHER TO ACCESS THE APPLICATION ON IT. PLS HELP ME OUT
  25. Encoder input CP1L PRV2

    Hi, I am planning to use an encoder on a CP1L to read on the RPM of a spinning wheel. For this, I can use high-speed counter 0, and the PRV2 instruction. My problem is that I also need the rotation direction. I was wondering if anybody had a tip for this? Thanks