Search the Community

Showing results for tags 'rs232'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 33 results

  1. 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,
  2. 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
  3. 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!
  4. 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!
  5.  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  
  6. 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

    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....
  8. 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
  9. 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.
  10. 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
  11. 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
  12. 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
  13. 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 !!
  14. 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.  
  15. 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.
  16. 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
  17. 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 
  18. 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
  19. 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
  20. 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 ______???? 
  21. 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   RS232/TTY CABLE FOR S5 PLC   RS232 TO USB CONVERTER   Thanks,
  22. 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
  23. 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
  25. 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)"MyApp", 2000); serialPort.setSerialPortParams(9600, SerialPort.DATABITS_7, SerialPort.STOPBITS_2, SerialPort.PARITY_EVEN);
 os = new PrintStream(serialPort.getOutputStream(), true);

 } catch (IOException e) {
 } 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