361 Publication 1766-RM001A-EN-P - October 2008
Chapter
21
ASCII Instructions
This chapter contains general information about the ASCII instructions
and explains how they function in your control program. This chapter is
arranged into the following sections:
General Information
• Instruction Types and Operation on page 362
• Protocol Overview on page 363
• String (ST) Data File on page 364
• Control Data File on page 365
ASCII Instructions
The ASCII instructions are arranged so that the Write instructions precede
the Read instructions.
Instruction Function Page
ACL - ASCII Clear Buffer Clear the receive and/or transmit buffers. 367
AIC - Integer to String Convert an integer value to a string. 368
AWA - ASCII Write with
Append
Write a string with user-configured characters
appended.
369
AWT - ASCII Write Write a string. 372
ABL - Test Buffer for Line Determine the number of characters in the buffer, up
to and including the end-of-line character.
374
ACB - Number of Characters
in Buffer
Determine the total number of characters in the
buffer.
375
ACI - String to Integer Convert a string to an integer value. 376
ACN - String Concatenate Link two strings into one. 378
AEX - String Extract Extract a portion of a string to create a new string. 379
AHL - ASCII Handshake Lines Set or reset modem handshake lines. 381
ARD - ASCII Read Characters Read characters from the input buffer and place
them into a string.
383
ARL - ASCII Read Line Read one line of characters from the input buffer
and place them into a string.
384
ASC - String Search Search a string. 386
ASR - ASCII String Compare Compare two strings. 387
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive