beautypg.com

Copy file (cop) and fill file (fll) instructions, Preface, Updates to arithmetic status bits – Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual

Page 158

background image

Preface

MicroLogix 1000 Programmable Controllers User Manual

9–10

Updates to Arithmetic Status Bits

The arithmetic status bits are found in Word 0, bits 0–3 in the controller status file.
After an instruction is executed, the arithmetic status bits in the status file are
updated:

With this Bit:

The Controller:

S:0/0

Carry (C)

always resets.

S:0/1

Overflow (V)

sets if more than one bit in the source is set; otherwise reset.
The math overflow bit (S:5/0) is not set.

S:0/2

Zero (Z)

sets if destination value is zero.

S:0/3

Sign (S)

always resets.

Copy File (COP) and Fill File (FLL) Instructions

The destination file type determines the number of words that an instruction
transfers. For example, if the destination file type is a counter and the source file
type is an integer, three integer words are transferred for each element in the
counter-type file.

After a COP or FLL instruction is executed, index register S:24 is cleared to zero.

False

2731+5.06/word

True

7

COP

26.86+3.62/word

7

FLL

Execution Times (

µ

sec) when:

COP

COPY FILE
Source
Dest
Length

FLL

FILL FILE
Source
Dest
Length