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.

92 Programming Instructions OverviewUsing the InstructionDescriptionsThroughout this manual, each instruction (or group of similar instructions)has a table similar to the one shown below. This table providesinformation for all sub-elements (or components) of an instruction orgroup of instructions. This table identifies the type of compatible addressthat can be used for each sub-element of an instruction or group ofinstructions in a data file or function file. The definitions of the terms usedin these tables are listed below this example table.Valid Addressing Modes and File Types - Example TableParameterOISBT, C, RNData FilesFSTLFunction FilesAddressMode (1)AddressLevelMG, PDRI/RIXPLSASCIIRTCHSCPTOX, PWMXSTIEIIBHIMMILCDCS - CommsIOS - I/ODLS - Data LogImmediateDirectIndirectBitWordLong WordElementSource A • • • • • • • • • • • • • • • • • • • • • • • • • • •Source B • • • • • • • • • • • • • • • • • • • • • • • • • • •Destination • • • • • • • • • • • • • • • • • • • •(1) See Important note about indirect addressing.IMPORTANTYou cannot use indirect addressing with: S, MG, PD, RTC, HSC, PTOX,PWMX, STI, EII, BHI, MMI, CS, IOS, and DLS files.The terms used within the table are defined as follows:• Parameter - The parameter is the information you supply to theinstruction. It can be an address, a value, or an instruction-specificparameter such as a timebase.• Data Files - See Data Files on page 45.• Function Files - See Function Files on page 55.• CS - See Communications Status File on page 63.• IOS - See Input/Output Status File on page 89.• DLS - See Data Log Status File on page 526.• Address Mode - See Addressing Modes on page 93.• Addressing Level - Address levels describe the granularity at whichan instruction allows an operand to be used. For example, relaytype instructions (XIC, XIO, etc.) must be programmed to the bitlevel, timer instructions (TON, TOF, etc.) must be programmed tothe element level (timers have 3 words per element) and mathinstructions (ADD, SUB, etc.) must be programmed to the word orlong word level.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!