Search the Community

Showing results for tags 'ascii converstion'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 44 results

  1. 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
  2. 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 
  3. 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
  4. 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?
  5. 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
  6. ASCII Code 8 Byte In Twido

    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
  7. 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
  8. GX PLC RS232 Communication Code

    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    
  9. 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.    
  10. 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
  11. 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
  12. 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?
  13. Excel Add-in for Modbus/TCP Data Logging

    Version 3.11.2.0

    422 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
  14. 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
  15. 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.
  16. I am needing some help developing a string, and setting up communications that will be interpreted by a printer. I have thus developed my string, setup my com ports on my 1766 micrologix and setup com ports on my schmidt styliner scribing printer with win7e. Essentially this is plc to computer running software for a printer. the software has been setup to the best of my knowledge. My problem is creating a string that will be recognized as start/stop transmission at the printer. I have never done ascii so I am unfamiliar with how to get the two components talking. This is a simple application that only requires writing a string to the printer, but i have tried all that i can without any luck.
  17. How would I use "ASC-String Search", ACN-Put 2 strings together, ACI-Convert Integer to String" from rslogix500 and the micrologix series PLC -- with the Micro800 series and "Connected Component Workbench" ?? I'm trying to convert an Micrologix 1100 communication package to the micro800 series. I think it can be down if I can figure out how to convert ASC, ACN, ACI, into functions for the micro800 plc. Would appreciated any ideas/help you can offer. Thanks
  18. Version 3.11.5.0

    2921 downloads

    .NET class library for use in Visual Studio.NET to create HMI/SCADA apps that communicate with Modbus/TCP Server (Slave) devices via Ethernet.   For .NET Framework 2.0 - 4.8 projects. Does not require OPC or 3rd party drivers x86, x64, and Any CPU compatible Visual Studio.NET 2010, 2012, 2013, 2015, 2017, 2019, and 2022 compatible Most .NET targets are supported, including Web, Win Forms, WPF, console, and service apps Build Win Forms, console, and ASP.NET applications that run on Linux with Mono framework Extremely high performance - 5~10 mSec typical transaction time Optimizes multiple register configurations into minimal transactions Tag database can be configured via code or visual designer Abstract base classes allow you to write generic code that works with all drivers Synchronous and asynchronous read/write methods Data change notifications Provides common user interface across all driver classes No limit on number of devices or data points Multi-threaded for high data throughput Includes extensive help system Windows, Console, and Web Example applications with VB and C# source code included. Easily connect office systems to factory floor. Runtime-free for qualified applications  
  19. File Name: Modbus/TCP, RTU/ASCII Master Driver for .NET File Submitter: Automated Solutions File Submitted: 02 Mar 2011 File Category: Demo Software .NET Component for use in Visual Studio.NET to create HMI/SCADA apps that communicate with Modbus/TCP Server (Slave) devices via Ethernet. Does not require OPC or 3rd party drivers. x86, x64, and Any CPU compatible Visual Studio.NET 2005, 2008, 2010, 2012, and 2013 Compatible Most .NET targets are supported, including Web, Windows, console, and service apps. Extremely high performance - 5~10 mSec typical transaction time Optimizes multiple register configurations into minimal transactions Tag database can be configured via code or visual designer Abstract base classes allow you to write generic code that works with all drivers Synchronous and asynchronous read/write methods Data change notifications Provides common user interface across all driver classes No limit on number of devices or data points Multi-threaded for high data throughput Includes extensive help system Windows, Console, and Web Example applications with VB and C# source code included. Easily connect office systems to factory floor. Runtime-free for qualified applications Click here to download this file