Search the Community

Showing results for tags 'ascii conversion'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 67 results

  1. 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
  2. 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
  3. 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
  4. 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    
  5. 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.    
  6. 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
  7. 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
  8. I'm in the process of converting an old Siemens S5 project (with no comments!) to ControlLogix. My first question is in the S5 there is the odd instruction with a '#' in it: - -] [ - - - - (#) - - - - ] [ - - - - -(F00.1) In old logix the # means a file, what does it mean in Siemens speak?   My next question, I have the rockwell document for structured text and also for converting S5 to logx, is there any other resource that would help me understand Siemens structured text?   As I chip away at the project I'll be posting more questions. Thanks in advance for your help.
  9. 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?
  10. 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
  11. 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
  12. Hi all, Looking to convert older .rss ladder file into newer RSLogix 5000 compatible format. My problem is - I don't have 500 series software (or a computer to run it on) to start the conversion. Any help/suggestions appreciated
  13. 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.
  14. 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.
  15. 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
  16. Version 3.11.5.0

    2922 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  
  17. 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