13.07.2015 Views

1766-RM001A-EN-P MicroLogix 1400 Programmable Controllers ...

1766-RM001A-EN-P MicroLogix 1400 Programmable Controllers ...

1766-RM001A-EN-P MicroLogix 1400 Programmable Controllers ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 21ASCII InstructionsThis chapter contains general information about the ASCII instructionsand explains how they function in your control program. This chapter isarranged 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 365ASCII InstructionsThe ASCII instructions are arranged so that the Write instructions precedethe Read instructions.Instruction Function PageACL - ASCII Clear Buffer Clear the receive and/or transmit buffers. 367AIC - Integer to String Convert an integer value to a string. 368AWA - ASCII Write withAppendWrite a string with user-configured charactersappended.AWT - ASCII Write Write a string. 372ABL - Test Buffer for Line Determine the number of characters in the buffer, up 374to and including the end-of-line character.ACB - Number of Charactersin BufferDetermine the total number of characters in thebuffer.ACI - String to Integer Convert a string to an integer value. 376ACN - String Concatenate Link two strings into one. 378AEX - String Extract Extract a portion of a string to create a new string. 379AHL - ASCII Handshake Lines Set or reset modem handshake lines. 381ARD - ASCII Read Characters Read characters from the input buffer and place 383them into a string.ARL - ASCII Read Line Read one line of characters from the input buffer 384and place them into a string.ASC - String Search Search a string. 386ASR - ASCII String Compare Compare two strings. 387369375361 Publication <strong>1766</strong>-<strong>RM001A</strong>-<strong>EN</strong>-P - October 2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!