Rockwell Automation 1769-L23E-QB1B_L23E-QBFC1B_L23-QBFC1B CompactLogix Packaged Controllers Quick Start and User Manual User Manual

Page 175

Advertising
background image

Publication IASIMP-QS010B-EN-P - October 2009

175

Network Communication Chapter 2

Read and Write ASCII Characters

Create and Modify Strings of ASCII Characters

Convert Data to or from ASCII Characters

Instruction Code

Description

ABL

Determine when the buffer contains termination characters

ACB

Count the characters in the buffer

ACL

Clear the buffer

Clear out ASCII Serial Port instructions that are currently executing or
are in the queue

AHL

Obtain the status of the serial port control lines

Turn on or off the DTR signal

Turn on or off the RTS signal

ARD

Read a fixed number of characters

ARL

Read a varying number of characters, up to and including the first set of
termination characters

AWA

Send characters and automatically append one or two additional
characters to mark the end of the data

AWT

Send characters

Instruction Code

Description

CONCAT

Add characters to the end of a string

DELETE

Delete characters from a string

FIND

Determine the starting character of a substring

INSERT

Insert characters into a string

MID

Extract characters from a string

Instruction Code

Description

STOD

Convert the ASCII representation of an integer value to a SINT, INT,
DINT, or REAL value

STOR

Convert the ASCII representation of a floating-point value to a REAL
value

DTOS

Convert a SINT, INT, DINT, or REAL value to a string of ASCII characters

RTOS

Convert a REAL value to a string of ASCII characters

UPPER

Convert the letters in a string of ASCII characters to upper case

LOWER

Convert the letters in a string of ASCII characters to lower case

Advertising