• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/55

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

55 Cards in this Set

  • Front
  • Back

Word level math instructions are utilized to perform arithmetic functions. Basic word level math instructions include: (4)


(4)

-Add (ADD) -Subtract (SUB) -Multiply (MUL) -Divide (DIV)

Other word level math instructions include: (4)

Compute (CPT)


Square Root (SQR)


Negate (NEG)


Scale (SCL)

Evaluates an expression, and then stores the value in a specified destination. This instruction takes more processing power/scan time than those previously discussed.

Compute (CPT)

Changes the sign of the source and stores the value in a specified destination.

Negate (NEG)

Calculates the square root of the source and stores the value in a specified destination.

Square Root (SQR)

The scale instruction is used to enlarge or reduce very small or very large numbers by the rate value.

Scale (SCL)

File level arithmetic functions are taken care of using the ____ instruction.

FAL

One type of numerical I/O interface are the multibit digital devices, which ___________. These types of devices are primarily suited for BCD inputs and outputs.

allow groups of digital inputs to be read as a whole unit.

In some circumstances, where numerical I/O interfaces are not available, the following instructions are used to convert between decimal and BCD values.

Convert to BCD (TOD)


Convert from BCD (FRD)

These instructions are used to enable/disable blocks of program logic, or move the program scan from one location to another.

program control instructions.

____ instruction functions in a similar fashion to electromechanical master control relays. The intent of the master control relay is to disable a relay control circuit as long as the relay has not been energized.

Master Control Reset


Master Control Reset

MCR instruction is typically used to replace an electromechanical MCR relay.


True or False

False


MCR instruction is not typically used to replace an electromechanical MCR relay.

Also note that the MCR instruction is ____ addressed

Not

All rungs that exist between the two ___ instructions are part of a fenced zone, with the conditional ___ being the start fence, and the unconditional ___ being the end fence.

MCR, MCR, MCR

When the conditional MCR does not have logic continuity, the following occurs to the rungs within the fenced zone. (2)

-All nonretentive outputs are de-energized, regardless of the state of their input conditions. -All retentive outputs will remain in their last state.

Assuming that the Input A switch is opened, the associated XIC instruction used as a condition for the first MCR instruction will go false. When the MCR instruction loses logic continuity, the following occurs.

Output A (nonretentive) is in the de-energized state. Output B (retentive) is in the energized state.

The following guidelines should be observed when working with the MCR instructions:


-Multiple fenced zones can be setup. However, never overlap two zones. Overlapping zones, or jumping to a rung within a MCR zone can cause unexpected operation, and could be potentially damaging. -It is generally advisable to avoid using latch/unlatch instructions within an MCR zone. Because these outputs will remain in their last state, and may remain energized when they are not intended to do so. -Timer and counter operation will cease when an MCR zone is de- energized. TOF instructions will begin timing when in a false MCR zone. Use caution.

The ____ instruction is used to bypass portions of the ladder program. Sections of the program that are jumped will not be evaluated/executed during the current scan.

Jump (JMP)

The JMP instruction is always paired with a ____ instruction that serves as a target. Both are addressed (within the SLC-500 family of AB controllers) to Q2:0 through Q2:255.

label (LBL)

The following guidelines/notes should be followed when working with the JMP instruction.


-Jumping backwards is possible. However, it should be done with caution. If it is done excessively, scan time can become extended, which may trigger the PLC’s internal watchdog timer. This will cause the PLC to enter a faulted state. -Although the way the JMP instruction handles inputs is similar to the MCR instruction, it differs with outputs. The MCR leaves only retentive outputs in their last state. The JMP instruction leave all outputs in their last state. -Avoid jumping into MCR zones. Jumping into a de-energized MCR zone will actually cause the portion of the program between the LBL instruction and the second MCR instruction to be executed without consideration of the first conditional MCR.

____ are short programs that are used by the main program to perform a specific function. ____ are stored in program files numbered LAD 3 through LAD 255.

Subroutines, Subroutines

There are three instructions associated with subroutines:


Jump to Subroutine (JSR)


Subroutine (SBR)


Return (RET)

The first input condition entered in the subroutine. It serves to identify the file as a subroutine. It is always true, and is actually optional, though recommended.

Subroutine (SBR):

An output instruction that causes the scan to jump to a specified subroutine file (U3 through U255) when input conditions are true.

Jump to Subroutine (JSR):

An output instruction that causes the scan to return to the main program. It can be a conditional, or unconditional output depending on the desired operation of the subroutine.

Return (RET):

The more subroutines added, the longer/shorter the scan time necessary to execute them all. In other words, time spent in subroutines is time not spent in the main program.

Longer

Similar to the immediate input (IIN) instruction , the ____ instruction is used to exit the program scan prior to the I/O scan. This allows for a critical/time-sensitive output to be updated in the output image table.

immediate output (ION)

Despite the many safegaurds inherent to many of today’s PLCs, ____ fail safe provisions and disconnecting means CANNOT be replaced.

hard-wired

In addition, a hard-wired MCR is provided for manual control of the controller power supply. These devices should never be bypassed. Doing so introduces

significant personnel and equipment risk.

In addition to relay control safety provisions, some PLCs are considered safety class PLCs. This PLCs feature ____, ____ and ____ for the purpose of built in redundancy. These components are continuously monitored by the PLC watchdog circuit to detect failures.Additionally, built-in I/O testing functionality exists to monitor I/O operations.

additional processors, FLASH, RAM memory

Data manipulation instructions fall into two broad categories:

data transfer instructions, and data compare instructions.

Data manipulation instructions operate on either a ____, or a ____. Bit level operation is not typical of these instructions.

word/register level, or a file/table level

At its simplest, data transfer instructions involve

moving information from one spot in memory, to another spot specified by the instruction.

The ____ instruction is used to transfer the data from one word/register to a new, specified location.

Move (MOV)

Similar to the moveinstruction, is the ____ instruction. The key difference between the two instructions, is that the move with mask instruction allows the user to determine which portions of data are passed to the destination file.

Move with Mask (MVM)

The ____ instruction is similar to the move instruction. It differs in that it can be used to move data within a single word.

bit distribute (BTD)

Keep in mind, if the length of the data being moved, and the destination bit exceed the 16-bit size of the word, the data will

NOT wrap, and will be lost.

Some data transfer instructions, such as the ____, ____ and ____ instructions are used to move groups of words (or files) from place to place, or to perform file arithmetic.These data transfers can involve moving the data of one word into a group of words, from file to file, or the data from a file to a single word.

FAL, COP, and FLL

The ____ instruction is used to duplicate the data in file, to a different file specified by the user program.

Copy (COP)

The ____ instruction can be used when working with a word-to-file data transfer.

Fill (FIL)

The ____ instruction is more complex than the previous to file-level data transfer instructions. The ____ can be used not only to move information from location to location, but can also be used to perform calculations from the data stored within the file.

File Arithmetic and Logic (FAL), FAL instruction

Data Compare instructions are used to ___________________________________


They do not move, or change the data stored in the specified words. They are utilized as input instructions, and will be in a true state based on the logic of the individual instruction.

compare the numerical data stored in specified words.

Equal:

Compares two words, or one word to a preset value. The instruction is true if A = B.

Not Equal:

Compares two words, or one word to a preset value. The instruction is true if A != B.

Greater Than:

Compares two words, or one word to a preset value. The instruction is true if A > B.

Less Than:

Compares two words, or one word to a preset value. The instruction is true if A < B.

Greater Than or Equal:

Compares two words, or one word to a preset value. The instruction is true if A >= B.

Less Than or Equal:

Compares two words, or one word to a preset value. The instruction is true if A <= B.

Inner Limit:

Compares a test value to an upper and lower limit. If the test value is between upper and lower limit, the instruction is true.

Outer Limit:

Compares a test value to an upper and lower limit. If the test value is outside the two limits, the instruction is true.

Data compare instructions can be used to drastically reduce the number of ____ utilized in a circuit.

timers

The term ____ control refers to a process in which feedback is utilized to control a monitored system parameter. These parameters include pressure, flow, temperature, level, or speed.

closed-loop

____ control is the simplest form of closed-loop control, and compares the input value to a system set-point.

Set-point

____ control although it is generally inexpensive, it is also inaccurate due to the fact that the controlled variable will often over- or undershoot the set-point. Even with dead band the system may still cycle in an undesirable fashion.

On/Off

___ control produces outputs based on the magnitude, duration and rate of change of system error. Simply put: Proportional = Past Error Integral = Current Error Derivative = Future Error

PID