Programming Manual Logix5000 Controllers ASCII Strings Catalog Numbers 1756-L1, 1756-L55, 1756-L61, 1756-L62, 1756-L63, 1769-L31, 1769-L32C, 1769-L
Chapter 1 Communicating with an ASCII device To connect to the ASCII device, use these steps. 1. On the serial port of the ASCII de
Communicating with an ASCII device Chapter 1 3. On the Mode menu, choose User and type the configuration settings for the serial
Chapter 1 Communicating with an ASCII device To configure the user protocol, use these steps. 1. In the Controller Properties dialo
Communicating with an ASCII device Chapter 1 • If the ASCII device is configured for XON/XOFF flow control, select the XON/XOFF c
Chapter 1 Communicating with an ASCII device 1. In the Controller Organizer, right-click Strings and choose New String Type. 2. I
Communicating with an ASCII device Chapter 1 In the following example, the device sends a variable number of characters, such as
Chapter 1 Communicating with an ASCII device Example: When the temperature reaches the low limit (temp_low is on), the AWT instructi
Communicating with an ASCII device Chapter 1 To enter the ASCII characters, use these steps. Important: This String Browser window
Chapter 2 Processing ASCII characters You can process ASCII characters to do many things, including: • Interpret a bar code and take action based on
Important user information Read this document and the documents listed in the additional resources section about installation, configuration, and ope
Chapter 2 Processing ASCII characters For example, in a sorting operation, an array of a user-defined data type creates a table tha
Processing ASCII characters Chapter 2 Create the PRODUCT_INFO Data Type To create a Product_Info user-defined date type in the Con
Chapter 2 Processing ASCII characters • The sort_table_search tag controls the FSC instruction. • Although the previous instructio
Processing ASCII characters Chapter 2 Enter the Product IDs and Lane Numbers In the sort_table array, enter the ASCII characters t
Chapter 2 Processing ASCII characters Example: When bag_flt_and_dest is equal to gate[1], xfer[1] turns on. This routes the bag to the require
Processing ASCII characters Chapter 2 You can extract and convert a value from an ASCII message that contains multiple values. A m
Chapter 2 Processing ASCII characters • The source is the same string tag as for the FIND instruction. • The quantity values tells
Processing ASCII characters Chapter 2 Rockwell Automation Publication 1756-PM013D-EN-P - October 2014 27
Appendix A ASCII character codes Character Dec Hex Character Dec Hex Character Dec Hex Character Dec Hex [ctrl-@] NUL 0 $0 SPACE 32
Summary of changes This manual contains new and updated information. Changes to this manual are documented in the following table. Change Topic Upd
A ASCII configure serial port 12 configure user protocol 13 enter characters 19 manipulate characters 21 organize data 15 read character
Rockwell Automation support Rockwell Automation provides technical information on the web to assist you in using its products. At http://www.rockwell
Table of contents Studio 5000 environment ... 7 Additional resource
Preface This manual shows how to manipulate ASCII strings in Logix5000 controllers. This manual is one of a set of related manuals that show common p
Preface Resource Description Product Certifications webpage, available at http://ab.rockwellautomation.com Provides declarations of conformity, ce
Chapter 1 Communicating with an ASCII device You can exchange ASCII data with a device through the serial port of the controller. For example, you ca
Commenti su questo manuale