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.

ASCII Instructions 379The ACN instruction combines two ASCII strings. The second string isappended to the first and the result stored in the destination.Entering ParametersEnter the following parameters when programming this instruction:• Source A is the first string in the concatenation procedure.• Source B is the second string in the concatenation procedure.• Destination is where the result of Source A and B is stored.Addressing Modes and File Types can be used as shown below:ACN Instruction Valid Addressing Modes and File TypesFor definitions of the terms used in this table see Using the Instruction Descriptions on page 92.ParameterOISBT, C, RNData Files (1)FSTLFunction FilesMG, PDRI/RIXPLSRTCHSCPTOX, PWMXSTIEIIBHIMMILCDAddressModeAddress LevelCS - CommsIOS - I/ODLS - Data LogImmediateDirectIndirectBitWordLong WordElementSource A • • •Source B • • •Destination • • •(1) The Control data file is the only valid file type for the Control Element.Instruction OperationThis instruction executes on a false-to-true rung transition. Source B isappended to Source A and the result is put in the Destination. Only thefirst 82 characters (0…81) are written to the destination. If the stringlength of Source A, Source B, or Destination is greater than 82, the ASCIIString Manipulation Error bit S:5/15 is set and the Invalid String LengthError (1F39H) is written to the Major Error Fault Code word (S:6).AEX - String ExtractAEX AEXString ExtractSource ST10:0Index 1Number 5Dest ST10:3Instruction Type: outputExecution Time for the AEX InstructionControllerWhen Instruction Is:TrueFalse<strong>MicroLogix</strong> <strong>1400</strong> 10.0290 µs 0.1850 µsPublication <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!