Rockwell-automation Logix5000 Controllers ASCII Strings Programming Ma Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Équipement Rockwell-automation Logix5000 Controllers ASCII Strings Programming Ma. Rockwell Automation Logix5000 Controllers ASCII Strings Programming Manual User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer

Résumé du contenu

Page 1 - Programming Manual

Programming Manual Logix5000 Controllers ASCII Strings Catalog Numbers 1756-L1, 1756-L55, 1756-L61, 1756-L62, 1756-L63, 1769-L31, 1769-L32C, 1769-L

Page 2 - Important user information

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

Page 3 - Summary of changes

Communicating with an ASCII device Chapter 1 3. On the Mode menu, choose User and type the configuration settings for the serial

Page 4

Chapter 1 Communicating with an ASCII device To configure the user protocol, use these steps. 1. In the Controller Properties dialo

Page 5 - Table of contents

Communicating with an ASCII device Chapter 1 • If the ASCII device is configured for XON/XOFF flow control, select the XON/XOFF c

Page 6

Chapter 1 Communicating with an ASCII device 1. In the Controller Organizer, right-click Strings and choose New String Type. 2. I

Page 7 - Additional resources

Communicating with an ASCII device Chapter 1 In the following example, the device sends a variable number of characters, such as

Page 8

Chapter 1 Communicating with an ASCII device Example: When the temperature reaches the low limit (temp_low is on), the AWT instructi

Page 9 - Introduction

Communicating with an ASCII device Chapter 1 To enter the ASCII characters, use these steps. Important: This String Browser window

Page 11

Chapter 2 Processing ASCII characters You can process ASCII characters to do many things, including: • Interpret a bar code and take action based on

Page 12 - Configure the User Protocol

Important user information Read this document and the documents listed in the additional resources section about installation, configuration, and ope

Page 13 - Create string data types

Chapter 2 Processing ASCII characters For example, in a sorting operation, an array of a user-defined data type creates a table tha

Page 14 - Read characters from the

Processing ASCII characters Chapter 2 Create the PRODUCT_INFO Data Type To create a Product_Info user-defined date type in the Con

Page 15 - Send characters to the

Chapter 2 Processing ASCII characters • The sort_table_search tag controls the FSC instruction. • Although the previous instructio

Page 16

Processing ASCII characters Chapter 2 Enter the Product IDs and Lane Numbers In the sort_table array, enter the ASCII characters t

Page 17 - Enter ASCII characters

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

Page 18

Processing ASCII characters Chapter 2 You can extract and convert a value from an ASCII message that contains multiple values. A m

Page 19 - Processing ASCII characters

Chapter 2 Processing ASCII characters • The source is the same string tag as for the FIND instruction. • The quantity values tells

Page 20 - Look up a Bar Code

Processing ASCII characters Chapter 2 Rockwell Automation Publication 1756-PM013D-EN-P - October 2014 27

Page 22 - Reject bad characters

Appendix A ASCII character codes Character Dec Hex Character Dec Hex Character Dec Hex Character Dec Hex [ctrl-@] NUL 0 $0 SPACE 32

Page 23 - Check the Bar Code

Summary of changes This manual contains new and updated information. Changes to this manual are documented in the following table. Change Topic Upd

Page 25 - Decode an ASCII message

A ASCII configure serial port 12 configure user protocol 13 enter characters 19 manipulate characters 21 organize data 15 read character

Page 26 - Build a string

Rockwell Automation support Rockwell Automation provides technical information on the web to assist you in using its products. At http://www.rockwell

Page 28

Table of contents Studio 5000 environment ... 7 Additional resource

Page 30

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

Page 31

Preface Resource Description Product Certifications webpage, available at http://ab.rockwellautomation.com Provides declarations of conformity, ce

Page 32 - Rockwell Automation support

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

Commentaires sur ces manuels

Pas de commentaire