1. Trang chủ
  2. » Kỹ Thuật - Công Nghệ

05 programming relay bit instructions Training PLC Allen Bradley

23 66 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 23
Dung lượng 214,86 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

• Explain the function and programming of the coil output energize, OTE, latch output latch, OTL and unlatch output unlatch, OTU instructions • Logic-type Instruction: • Explain the fun

Trang 2

• Explain the function and programming of the coil (output energize,

OTE), latch (output latch, OTL) and unlatch (output unlatch, OTU)

instructions

Logic-type Instruction:

• Explain the function of the AND instruction

• Explain the function of the NOT instruction

• Explain the function of the OR instruction

Trang 3

The input image file in the processor stores the status of input

sensors connected to input module terminals

The output image file controls the status of actuators wired to

output module terminals

I/O IMAGE FILES IN DATA STORAGE

If the Input Sensor Is: Then Its Corresponding Input Image Bit Is:

closed (on) on (1)

open (off) off (0)

If the Input Sensor Is: Then Its Corresponding Input Image Bit Is:

closed (on) on (1)

open (off) off (0)

Trang 4

RUNG LOGIC

As each conditioning instruction is executed, the addressed

bit is examined to see if it matches a certain condition (on or

off)

If a complete path of true conditions examined for are found,

the rung is set to true

The rung must contain a continuous path of true instruction

from the start of the rung to the output for the output to be

enabled

Trang 5

Power Rail

Trang 6

Ladder Logic can contain conditional input instruction

and output instructions An example of a rung of Ladder

Logic is shown in the following graphics

( )

] [ ] [ ] [

Conditional Input Instruction

Output Instruction

Trang 7

BIT INSTRUCTIONS

Use the bit(relay-type) instructions to monitor and control the

status of bits.

ONS XIO

XIC

OSR OSF

OTL OTU OTE -7

Trang 8

BIT INSTRUCTIONS TYPES

Trang 9

EXAMINE IF CLOSE (XIC)

The XIC instruction examines the data bit to see if it is set

Examine data bit

Trang 10

EXAMINE IF OPEN (XIO)

The XIC: examines the data bit to see if it is cleared.

Examine data bit

Trang 11

OUTPUT ENERGIZE (OTE)

When OTE is enabled, controller sets data bit When OTE is disabled,

controller clears data bit.

Rung Condition Data Bit

Trang 12

OUTPUT LATCH (OTL)

When enabled, OTE sets data bit Data bit remains sets until cleared,

typically by OTU When disabled, does not change status of data bit.

Rung Condition Data Bit

Trang 13

OUTPUT UNLATCH (OTU)

When enabled, OTU clears data bit When disabled, does not change

status of data bit.

Rung2 Condition

Data Bit (light_2)

Rung 1

Rung 2

Rung1 Condition

Trang 14

ONE SHOT (ONS)

When enabled and storage bit is cleared, ONS enables the reminder of

the rung When disabled or storage bit is set, ONS disables the reminder

of the rung.

Switch_1 Switch_0

Trang 15

ONE SHOT RISING (OSR)

When enabled and storage bit is cleared, OSR sets output bit When

enabled and storage bit is set or when disabled, OSR clears output bit

Storage Bit

Add Switch_1

Trang 16

ONE SHOT FALLING (OSF)

When disabled and the storage bit is set, the OSF instruction sets

the output bit When storage bit is cleared, or when enabled, the

OSF instruction clears the output bit.

Storage Bit Switch_0

Trang 17

BOOLEAN LOGIC PROGRAMMING

A PLC can do nothing without a (ladder logic) program in it

The process of converting control objectives into a ladder logic

program requires:

• details of the process operations

• structured thought

• solid basic logic understanding

Boolean algebra provides the tools needed to analyze and design

these systems

• Developed in the 1800’s by James Bool, an Irish mathematician

• Can model logical systems with equations which can then be simplified

and/or manipulated into new forms

• The variable for these equations can ONLY have a value of 0 for false, or

1 for true

• Adapt very well to ladder logic programming

Trang 18

BOOLEAN EQUATIONS

Consist of variables and operations and look very similar to

normal algebraic equations

Trang 19

The AND’s truth table

Normally open, N.O.

Trang 21

Fig N.O instruction

Fig Normally closed, N.C, instruction

Boolean equation

Ngày đăng: 15/05/2019, 20:44

TỪ KHÓA LIÊN QUAN