Search the Community

Showing results for tags 'built-in rs232'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 77 results

  1.  Hello    I need to sent data between PLC CP1L-M30 and  Hyberterminal with serial port (RS232C port 1) ,but there isn't data show up . something is wrong? Could you advise me? my ladder as below  
  2. HI, I HAVE FX5UCPU connected to other devices through built in RS485 port , i have gone through ADPRW instruction .To configure Slave devices like other third party controller , is there any special instruction required. i need few sample programs for modbus data transfer. 
  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. 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
  6. 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
  7. 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
  8. 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 !!
  9. 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.  
  10. 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.
  11. 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
  12. 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 
  13. 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
  14. 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
  15. 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 ______???? 
  16. 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,
  17. 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
  18. 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
  19. 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
  20. Hi All I am new here without much experience of plcs. I have a PV 550 with DH485 coms port that I want to replace another PV550 with rs232 that communicated with an SLC 5/04. Is there some way to connect the two with a cable or protocol connector? Alternatively can you connect through the printer port on a PV600? CHeers   Azza
  21. FATEK Serial communication

    Hello everyone, I am completely new with Fatek PLC. Can somebody help me (example, tutorial, explanation) with a serial communication between Fatek and PC. I am using FBs series.
  22. I have a Micrologix 1400 and one PC which sends 102 Characters in RS-232. I need to read all characters with Micrologix 1400, Is there any way to read all characters? I know the limit of ARL and ARD instruction is 82 characters. I do not know if two ARD instructions could read all characters. Do you have any experienced like that? Could you help me? Thank you in advance
  23. Hi, there, I'm totally new to OMRON PLC, right now I'm using CP1H PLC have two CP1W-CIF01 on it 1st CP1W-CIF01 set as 115200, 7,2,E, Host Link, station 0 connected to Pro-Face HMI 2nd CP1W-CIF01 also set as 115200, 7,2,E, Host Link, station 1, I want to use this COM to talk to my PC that I can run vb.net program to monitor the bit and set the bit value. can you guild me how to start this project? thank you very much! Chen
  24. Sending Ascii from PLC

    I have an omron cp1le plc and a sato s84ex printer I need to learn how to send print jobs to it. I know I can use the Serial card option and send the code to the printer over RS232. I am using the NiceLabel software and printing to file which extracts the SBL code. That is where I am stuck. What part of the code do I use and where do I put it in the CX-Programmer. And what instructions should I be learning to send Ascii to the printer. I am very new at all this and just want a few hinters and direction. Thanks.
  25. Hello Everyone, I want to have a serial communication using Siemens S7-1200 with CM 1241 (RS-232) and communicate with my Arduino. Here is the setup of the communication. I have 2 temperature sensor and one Led connected to my Arduino, and on the PLC side I have S7-1200 from Siemens and CM-1241. Arduino and my PLC are connected just by using Tx and Rx pin no handshake is done. I am sending the temperature data from both the sensor to the PLC. on the PLC side i decide when to turn on the Led connected to my arduino depending on the different temperature values. I have assigning a ID to both the sensors before sending out the data. This is how the transmitted data from Arduino looks like $AOPT_TEMP1_20_TEMP2_21 . So far its good, I am receiving serial data on my PLC using RCV_PTP (received data are placed on the buffer) and sending data using SEND_PTP. I have also implement a filter on the PLC which will only accepts the serial data starting with '$AOPT_'. Now, I want to receive the temperature value from two temperature sensor TEMP1 & TEMP2 and then control the Led. For instance if (TEMP1>TEMP2 ) then turn ON the Led else turn OFF. I am able to receive the data on the PLC from Arduino but now I don't know how to proceed with comparing the received information. How do i extract the only required data from the received buffer? Any suggestions will be highly appreciated. Thanks in advance....