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.

374 ASCII InstructionsExample[I:110[If input slot 1, bit 10 is set, write 40 characters fromST37:20 to the display device.AWTASCII WRITEChannelSourceControlString LengthCharacters SentError0ST37:20R6:234000<strong>EN</strong>DNERIn this example, when the rung goes from false-to-true, the controlelement Enable (<strong>EN</strong>) bit is set. When the instruction is placed in the ASCIIqueue, the Queue bit (EU) is set. The Running bit (RN) is set when theinstruction is executing. The DN bit is set on completion of theinstruction.Forty characters from string ST37:40 are sent through channel 0. TheDone bit (DN) is set and a value of 40 is present in the POS word of theASCII control data file.When an error is detected, the error code is written to the Error Code Byteand the Error Bit (ER) is set. See ASCII Instruction Error Codes on page390 for a list of the error codes and recommended action to take.TIPFor information on the timing of this instruction, see the timing diagram onpage 389.ABL - Test Buffer for Line Instruction Type: outputABL ABLAscii Test For LineChannel 0Control R6:0Characters 1

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

Saved successfully!

Ooh no, something went wrong!