Aex - String Extract - Allen-Bradley MicroLogix 1100 Instruction Set Reference Manual

Hide thumbs Also See for MicroLogix 1100:
Table of Contents

Advertisement

efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive

AEX - String Extract

AEX
AEX
String Extract
Source
ST10:0
Index
1
Number
5
Dest
ST10:3
AEX Instruction Valid Addressing Modes and File Types
For definitions of the terms used in this table see Using the Instruction Descriptions on page 82.
Parameter
Source
Index
Number
Destination
(1) The Control data file is the only valid file type for the Control Element.
Instruction Type: output
Execution Time for the AEX Instruction
Controller
MicroLogix 1100
The AEX instruction creates a new string by taking a portion of an existing
string and storing it in a new string.
Entering Parameters
Enter the following parameters when programming this instruction:
• Source is the existing string. The Source value is not affected by this
instruction.
• Index is the starting position (from 1 to 82) of the string you want
to extract. (An index of 1 indicates the left-most character of the
string.)
• Number is the number of characters (from 1 to 82) you want to
extract, starting at the indexed position. If the Index plus the
Number is greater than the total characters in the source string, the
Destination string will be the characters from the Index to the end of
the Source string.
• Destination is the string element (ST) where you want the
extracted string stored.
Addressing Modes and File Types can be used as shown below:
(1)
Data Files
When Instruction Is:
True
51.9 μs + 0.11 μs/character 0.87 μs
Function Files
Publication 1763-RM001C-EN-P - October 2009
ASCII Instructions
327
False
Address
Address Level
Mode

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1763-l16bbb1763-l16awa1763-l16bwa1763-l16dwd

Table of Contents