Search the Community

Showing results for tags 'rs232'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 22 results

  1. Newbie Screwed up AB 5/04

    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 !!
  2. 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.  
  3. 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.
  4. 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,
  5. 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
  6. 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 
  7. 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
  8. 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
  9. 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 ______???? 
  10. 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,
  11. 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
  12. 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
  13. 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
  14. I am trying to communicate with Omron PLC CP1E-N40DR-A over USB-to-RS232 cable, using a Java program. Following is my basic code— public void startComm() { PrintStream os; 
try {
 CommPortIdentifier portId = CommPortIdentifier.getPortIdentifier("COM4"); SerialPort serialPort = (SerialPort) portId.open("MyApp", 2000); serialPort.setSerialPortParams(9600, SerialPort.DATABITS_7, SerialPort.STOPBITS_2, SerialPort.PARITY_EVEN);
 os = new PrintStream(serialPort.getOutputStream(), true);

 os.print("@00WD0620007050*");
 os.print("\r");
 } catch (IOException e) {
 e.printStackTrace();
 } catch (PortInUseException e) { e.printStackTrace(); } finally {
 if (os != null) os.close(); } } This code produces no effect on the DM area. In this code I am trying write “0070” at location “0620”. The connector and its driver are alright because CX-Programmer is working fine using the same cable. Any pointers for this would certainly help me. Thanks
  15. 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
  16. 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.
  17. 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
  18. 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
  19. 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.
  20. 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....
  21. Connect OMRON CJ1H to GSM modem

    Hello guys, actually I am new to this Omron PLC. but i have small project to transmit a command to the GSM modem via the RS232 port so it can trigger the modem to send text msg. Can you show me the steps/guide/sample program to accomplish this program coding? I already read some topic in this forum regarding to this PLC RS232 port but still cant get the ideas when to create the ladder program. PLC Type : CJ1H (CPU65H) - RS232 port First input to trigger the GSM send text msg: AT+CMGS="+YOUR HP NUMBER" Second input to trigger GSM send text msg: YOUR TEXT MSG CONTAINS (Ctrl+z to send) Many Thanks, AlexB
  22. I have the following situation; I have a distribution network connecting about 400 RTUs, using 101 protocol to connect to their PDH MUX, which data slot is transported using SDH STM-1/4, to the Primary Substations. Then the primary substations connect to the LDC building using STM-16. At the Control Centre Building where the Front End is located, there is a STM-16 node with some PDH ports, but definetly not 400, so how can I extract this 101 asyncronous data channels to connect them to the SCADA Front End? Note that conversion to 104 is not allowed by the client. Thanks in advance!