Rockwell Automation Logix5000 Controllers ASCII Strings Programming Manual User Manual

Page 5

Advertising
background image

Table of contents

Studio 5000 environment .....................................................................................

7

Additional resources ...............................................................................................

7

Chapter 1

Introduction ............................................................................................................

9

Connect the ASCII device ..................................................................................

10

Configure the Serial Port ....................................................................................

10

Configure the User Protocol ..............................................................................

12

Create string data types .......................................................................................

13

Read characters from the device .........................................................................

14

Send characters to the device ..............................................................................

15

Enter ASCII characters .......................................................................................

17

Chapter 2

Introduction ..........................................................................................................

19

Extract a part of a Bar Code ................................................................................

19

Look up a Bar Code ..............................................................................................

20

Create the PRODUCT_INFO Data Type..............................................

21

Search for the characters ...............................................................................

21

Identify the Lane Number ...........................................................................

22

Reject bad characters .....................................................................................

22

Enter the Product IDs and Lane Numbers ...............................................

23

Check the Bar Code characters ..........................................................................

23

Convert a value .....................................................................................................

24

Decode an ASCII message ..................................................................................

25

Build a string ..........................................................................................................

26

Appendix A

ASCII charter codes .............................................................................................

29

Preface

Communicating with an ASCII

device

Processing ASCII characters

ASCII character codes

Index

Rockwell Automation Publication 1756-PM013D-EN-P - October 2014

5

Advertising