EasyManuals Logo

Allen-Bradley Logix5000 Reference Manual

Allen-Bradley Logix5000
708 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #613 background imageLoading...
Page #613 background image
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 613
ASCII String Instructions (CONCAT, DELETE, FIND, INSERT, MID) Chapter 18
Execution:
Example: ASCII information from a terminal contains a header character. After the controller reads
the data (term_read.EM is set) the DELETE instruction removes the header character.
Relay Ladder
Structured Text
IF term_read.EM THEN
DELETE(term_input,1,1,term_text);
term_read.EM := 0;
END_IF;
Condition Relay Ladder Action Structured Text Action
Prescan The rung-condition-out is set to false. No action taken
Rung-condition-in is false The rung-condition-out is set to false. N/A
Rung-condition-in is true The instruction executes.
The rung-condition-out is set to true.
N/A
EnableIn is set N/A EnableIn is always set.
The instruction executes.
Instruction execution The instruction deletes the specified characters.
Postscan The rung-condition-out is set to false. No action taken.
term_read.EM
String Delete
Source term_input
'$0655'
Qty 1
Start 1
Dest term_text
'55'
DELETE

Table of Contents

Other manuals for Allen-Bradley Logix5000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Logix5000 and is the answer not in the manual?

Allen-Bradley Logix5000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelLogix5000
CategoryController
LanguageEnglish

Related product manuals