Search the Community
Showing results for tags 'rs232 ascii'.
Found 108 results
-
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.
- 2 replies
-
- cp1e
- hostlink control
-
(and 5 more)
Tagged with:
-
Hi, New to the site, seeking help with an Inkjet Coder that the company I work for recently purchased. A customer is wanting us to have the printer message selection automated, because parts got out with the wrong print on them. We purchased a Linx 5900 and want to use the serial port on a slc 5/03 to send a command to select the message based on a selector switch's position. I've been pretty desperate trying to find help with this issue, because this is my first time messing with a printer. I've got the AWA instruction set up and it will send a string, but I'm not sure what to have in the string or if I have everything configured right. I've attached the program for you guys to look through, the AWA instructions are at the end of LAD 13. I'm using the serial port to make changes to the program then hooking it into the printer to try the changes out so its a bit frustrating, but I don't have a pc with windows xp sp2 so using the DH485 port is not an option. Any help will be greatly appreciated. CNTRPUSH_4_2017.RSS
-
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
-
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
-
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
- 2 replies
-
- sending string data
- serial comms
-
(and 2 more)
Tagged with:
-
I'm using a 1769-ASCII and need help with one part of it. I have no issues with sending data. The manufacturer shows the following as the process... My question is: how do I evaluate the XON\XOFF? The machine states "This communication protocol tells the status if it can receive any data or not to the host by sending "XON" (HEX 11H) or "XOFF" (HEX 13H) to the signal line." I never receive any data so I'm not sure what's wrong or if what I'm doing is correct. The attached file is same code downloaded from AB's website which is what I based my code off of. http://search.rockwellautomation.com/search?client=samplecode&oe=UTF-8&ie=UTF-8&output=xml_no_dtd&proxystylesheet=samplecode&site=sample_code&getfields=*&lang=en&hl=en&sort=date:D:L:d1&wc=200&wc_mc=1&ud=1&filter=0&q=ASCII 62119.exe
-
FactoryTalk View DINT to ASCII conversion
DennisP posted a topic in Allen Bradley / Rockwell Automation
Would someone please help me how to convert an integer to ascii? For example if the output tag is an ascii string, of 3 characters and my numeric input is integer. When user input a value of 5, I would like the input value to be convert and assign to output ascii string tag of "005". How do I set the conversion format in either tag assignment or tag expression? -
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
-
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 ______????
-
How to connect PG2000 to S5-95U using RS232/TTY + converter
applecruncher1 posted a topic in Siemens
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, -
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
-
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
-
Hey Guys!!!! I'm trying to use ASCII 8 bites in TWIDO PLC and on MOD BUS TCPIP it connected to WinCC , where I'm trying to read the ASCII in as a STRING char that to in 8bits. The problem I'm facing is that it is getting swapped like if I'm writing VA in PLC then on SCADA it is showing AV. In WinCC there is no setting for word swapping. Therefore Kindly help me for this in plc end
-
ASCII Code 8 Byte In Twido
varun_pandey posted a topic in Modicon / Telemecanique / Schneider Electric
Hey Guys!!!! I'm trying to use ASCII 8 bites in TWIDO PLC and on MOD BUS TCPIP it connected to WinCC , where I'm trying to read the ASCII in as a STRING char that to in 8bits. The problem I'm facing is that it is getting swapped like if I'm writing VA in PLC then on SCADA it is showing AV. In WinCC there is no setting for word swapping. Therefore Kindly help me for this in plc end -
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
-
I have been using Mitsubishi PLCs for the last 17 years and to be honest whenever I need to shift data I generally use an Arduino. But I have existing PLCs that each need to be connected to a PLC running Biometric Readers. The handshake between the PC in a box (running the biometric readers) and the PLC (running an access control turnstile) will be 8 bit ASCII code via RS232 connection. I am struggling to find any working examples of code to run an RS232 BD card on an FX3G PLC, I have set up an FTDI RS232 UART and I can see data coming in from an Arduino but I can't get the FX3g to send any data via RS232. I can't even get the PLC to communicate. Unfortunately the tech support offered here in the UK is awful. Any help would be appreciated. Regards Julian
-
Hello, I am using an NJ301 PLC with an NA series HMI. I am communicating to the PLC via FINS protocol using the DotNet FINS UDP application by Jay Anthony found under the downloads section. I am finding that when I write a string to an address, the bytes order are reversed. For example, I am writing the string 'Test' to variable 'FINS_String', which is a String data type at memory address D20. My FINS command is the following: 010282001400000254657374 0102: Write 82: Data Memory 001400: Address 20 0002: Write 2 words 54: T 65: e 73: s 74: t The value that appears on the HMI and in the watch window is 'eTts'. If I write 65547473 (eTts) as my command, it appears correctly as 'Test' on my HMI. I debugged the application and I see that the byte array is being sent in the correct order, so I'm not sure what the matter is. I can't imagine that to pass a string through FINS protocol the hex values need to be switched every time. Any help would be appreciated. Thank you for your time.
-
All, I have a 1769-L24ER-QBFC1B processor with a 1769-ASCII card that I am trying to get working on the bench. I have a standard serial cable hooked up from Channel 0 of the ASCII card to the COM1 port of my computer. All I'm trying to do at this point is a simple bare-bones hello world program with a terminal (termite or putty) so that I can verify my setup and understand how it works before I try to implement it on the plant floor. I have the card set up in alternating mode and am using the pre-canned program found starting on page 35 of the user manual(1769-um012) .This is my first time using the ASCII card I am familiar with the CompactLogix processors and the RSLogix Suite. Any insight you can give would be greatly appreciated. Thanks, Lucas
-
Connect PV 550 with DH485 to SLC 5/04 CPU with rs232
Azza posted a topic in Allen Bradley / Rockwell Automation
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- 2 replies
-
- connection
- dh485
-
(and 1 more)
Tagged with:
-
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.
-
Micrologix 1400 - Read more than 82 ASCII characteres
GATI_1976 posted a topic in Allen Bradley / Rockwell Automation
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 -
I need to know if there is an easy way to convert a hex value to ascii without going through all of the math. In the ContolLogix 5000 software, I can find how to do a string to decimal (STOD), but the problem is the initial value. For example, the hex value for ASCII 3 is 31, ASCII 4 is hex 32, etc... If I do a STOD to create a string from the value of hex 31, I get a string of: '31'. I need to send this value out to hyperterminal and read a 3, not 31. If it was only reading one source and did a simple subtract and mov commands for the values of 0 through 9, that would not be a problem. However, my problem is that I am continuously reading multiple valuses from several sources and I don't want to have to write the code for each character from each source. I could do and AOI or UDT, but isn't there a simple instruction in the logic?
-
Version 3.11.2.0
426 downloads
ASComm Excel Add-in is a simple to use, non-programmatic way to populate Excel 2007 - 2021 (version 16) spreadsheets with data from PLCs, instrumentation, and other process hardware. ASComm Excel Add-in uses built-in drivers for Modbus/TCP and Modbus RTU/ASCII communications. No OPC, DDE, external drivers, or programming required-
- modbus/tcp
- modbus rtu
-
(and 3 more)
Tagged with:
-
[Demo Software] - Excel Add-in for Modbus/TCP Data Logging
Automated Solutions posted a topic in Download Comments
View File Excel Add-in for Modbus/TCP Data Logging 3.6.8 ASComm Excel Add-in is a simple to use, non-programmatic way to populate Excel 2007 - 2016 spreadsheets with data from PLCs, instrumentation, and other process hardware. ASComm Excel Add-in uses built-in drivers for Modbus/TCP and Modbus RTU/ASCII communications. No OPC, DDE, external drivers, or programming required Submitter Automated Solutions Submitted 03/01/16 Category Demo Software-
- modbus/tcp
- modbus rtu
-
(and 3 more)
Tagged with:
-
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