operational rule for programming programmable logic controllers

15
Operational Rule for Programming Programmable Logic Controllers

Upload: bernadette-conley

Post on 14-Dec-2015

238 views

Category:

Documents


2 download

TRANSCRIPT

Operational Rule for Programming

Programmable Logic Controllers

Your comfort level with your responses to the following 3 question assessment tool should indicate if the presentation that follows will increase you knowledge base on the topic outlined by the questions in this tool.

Pre-presentation Self Assessment Activity

1. Wire a N.O. active low TSL and a N.C. active low PSL to an input module of a PLC. Wire an active high motor starter circuit to the output module of the same PLC and then, using ladder (logic) language, program the PLC so that the motor will run only when both limit sensors are in alarm. Include the program, the wiring diagram, and the I/O map as documentation.

3.

Pre-presentation Self Assessment Activity

Wire a N.C. active high TSL and a N.O. active high PSL to an input module of a PLC. Wire an active high motor starter circuit to the output module of the same PLC and then, using ladder (logic) language, program the PLC so that the motor will not run when both limit sensors are in alarm. Include the program, the wiring diagram, and the I/O map as documentation.

Wire a N.C. active high TSL and a N.O. active high PSL to an input module of a PLC. Wire an active high motor starter circuit to the output module of the same PLC and then, using ladder (logic) language, program the PLC so that the motor will run when both limit sensors are in alarm. Include the program, the wiring diagram, and the I/O map as documentation.

2.

I 0,7

Module #

O 0,0

Module type

O 0,7

Terminal #

Input module # 1 terminal connector # 0

I 0,0

Module type

26-761

26-762

26-763

26-767

26-769

26-764

26-768

26-766

Output module # 0 terminal connector # 7

Output module # 0

I/O module structure

O 0,0

O 0,7

I 1,0

I 1,7

TSL

N.C.

24 V

PSL

N.0.

24 V

24 V input module

48 V output module

Motor starter 1

440 V

I/O Wiring

Input/Output Wiring

Wiring field devices to I/O module structure

O-0,0

O-0,7

I-1,0

I-0,7

N.C.

24 V

PSL

N.0.

24 V

24 V input module

48 V output module

Motor starter1

440 V

I/O Wiring

42-301

42-302

42-303

42-307

42-309

42-304

42-308

42-306

83-541

83-542

83-543

83-547

83-549

83-544

83-548

83-546

I-0,0

I-0,7

48 V input module

26-761

26-762

26-763

26-767

26-769

26-764

26-768

26-766

Task:The motor is to run when both limit sensors are in alarm.TSL Note

: Both sensors are active low

Harness Connection

Field Device

I/O Address

42-301TSL I-1,0

42-302PSL I-1,1

MS 1(Motor starter)

83-542 O-0,4

I/O Map

Documenting wiring to I/O module

O-0,0

O-0,7

I-1,0

I-0,7

N.C.

24 V

PSL

N.0.

24 V

24 V input module

Motor starter1

440 V

I/O Wiring

Harness Connection

Field Device

I/O Address

42-301

42-302

42-303

42-307

42-309

42-304

42-308

42-306

83-541

83-542

83-543

83-547

83-549

83-544

83-548

83-546

42-301TSL I-1,0

42-302PSL I-1,1

MS 1(Motor starter)

83-542 O-0,4

I-0,0

I-0,7

48 V input module

26-761

26-762

26-763

26-767

26-769

26-764

26-768

26-766

Ladder (logic) Program

I/O Map

TSL

I-1,0I-1,1 O-0,4

PSL

(b) Program executed by the PLC

Task:The motor is to run when both limit sensors are in alarm.TSL

(a) Actual PLC program written for the task

I-1,0I-1,1 O-0,4

Example of a single rung ladder program

PSLTSL

Note: Both sensors are active

low

PLC operating rules:

(b) When the rung is contiguous, the output address goes active.

(a) The PLC changes your program symbol when the input address is at logic “1”

PLC project documentation set

48 V output module

O-0,0

O-0,7

I-1,0

I-0,7

N.C.

24 V

N.O.

24 V

24 V input module

Motor starter1

440 V

I/O Wiring

Harness Connection

Field Device

I/O Address

42-301

42-302

42-303

42-307

42-309

42-304

42-308

42-306

83-541

83-542

83-543

83-547

83-549

83-544

83-548

83-546

42-301TSL I-1,0

42-302PSL I-1,1

MS 1(Motor starter)

83-542 O-0,1

I-0,0

I-0,7

48 V input module

26-761

26-762

26-763

26-767

26-769

26-764

26-768

26-766

I/O Map

TSL

Task:The motor is to run when both limit sensors are in alarm.Note

: Both sensors are now active high

TSL

I-1,0I-1,1 O-0,5

PSL

(b) Program executed by the PLC

Ladder (logic) Program (a) Actual PLC program written for the task

I-1,0I-1,1 O-0,5

Example of a single rung ladder program

PSLTSL

PLC operating rules:

(b) When the rung is contiguous, the output address goes active.

(a) The PLC changes your program symbol when the input address is at logic “1”

PLC project documentation set

48 V output module

PSL

Pre-presentation Self Assessment Activity

Ladder (logic) Program

Actual PLC program written for the task

I-1,0I-1,1 O-0,4

PSLTSL

O-0,0

O-0,7

I-1,0

I-0,7

N.C.

24 V

PSL

N.0.

24 V

24 V input module

48 V output module

Motor starter1

440 V

I/O Wiring

42-301

42-302

42-303

42-307

42-309

42-304

42-308

42-306

83-541

83-542

83-543

83-547

83-549

83-544

83-548

83-546

I-0,0

I-0,7

48 V input module

26-761

26-762

26-763

26-767

26-769

26-764

26-768

26-766

TSLHarness Connection

Field Device

I/O Address

42-301TSL I-1,0

42-302PSL I-1,1

MS 1(Motor starter)

83-542 O-0,4

I/O Map

Wire a N.O. active low TSL and a N.C. active low PSL to an input module of a PLC. Wire an active high motor starter circuit to the output module of the same PLC and then, using ladder (logic) language, program the PLC so that the motor will run only when both limit sensors are in alarm. Include the program, the wiring diagram, and the I/O map as documentation.

1.

Harness Connection

Field Device

I/O Address

42-301TSL I-1,0

42-302PSL I-1,1

MS 1(Motor starter)

83-542 O-0,4

I/O Map

O-0,0

O-0,7

I-1,0

I-0,7

N.O.

24 V

PSL

N.C.

24 V

24 V input module

48 V output module

Motor starter1

440 V

I/O Wiring

42-301

42-302

42-303

42-307

42-309

42-304

42-308

42-306

83-541

83-542

83-543

83-547

83-549

83-544

83-548

83-546

I-0,0

I-0,7

48 V input module

26-761

26-762

26-763

26-767

26-769

26-764

26-768

26-766

TSL

Ladder (logic) Program

Actual PLC program written for the task

I-1,0I-1,1 O-0,4

PSLTSL

2.

Pre-presentation Self Assessment ActivityWire a N.C. active high TSL and a N.O. active high PSL to an input module of a PLC. Wire an active high motor starter circuit to the output module of the same PLC and then, using ladder (logic) language, program the PLC so that the motor will run when both limit sensors are in alarm. Include the program, the wiring diagram, and the I/O map as documentation.

O-0,0

O-0,7

I-1,0

I-0,7

N.O.

24 V

PSL

N.C.

24 V

24 V input module

48 V output module

Motor starter 1

440 VI/O Wiring

42-301

42-302

42-303

42-307

42-308

42-306

83-541

83-542

83-543

83-547

83-544

83-548

83-546

I-0,0

I- 0,7

48 V input module

26-761

26-762

26-763

26-767

26-768

26-766

TSLLadder (logic) Program

Actual PLC program written for the task

I-1,0I-1,1 O-0,4

PSLTSL

O-0,0

O-0,7

I- 1,0

I- 0,7

N.C.

24 V

PSL

N.0.

24 V

24 V input module

48 V output module

Motor starter 1

440 VI/O Wiring

42-301

42-302

42-303

42-307

42-309

42-308

42-306

83-541

83-542

83-543

83-547

83-549

83-544

83-548

83-546

I- 0,0

I- 0,7

48 V input module

26-761

26-762

26-763

26-767

26-768

26-766

TSL

Take home observation

Ladder (logic) Program

Actual PLC program written for the task

I-1,0I-1,1 O-0,4

PSLTSL

Motor should run when both sensors in alarm

Motor should run when both sensors in alarm

It does not matter if there are N.O. or N.C. contacts but it does matter if the sensor is active low or active high.

Both sensors are active low

Both sensors are active high

O-0,0

O-0,7

I-1,0

I-0,7

N.O.

24 V

PSL

N.C.

24 V

24 V input module

48 V output module

Motor starter 1

440 VI/O Wiring

42-301

42-302

42-303

42-307

42-308

42-306

83-541

83-542

83-543

83-547

83-544

83-548

83-546

I-0,0

I- 0,7

48 V input module

26-761

26-762

26-763

26-767

26-768

26-766

TSL

Motor should not run when both sensors in alarm

Both sensors are active high

3.

Pre-presentation Self Assessment ActivityWire a N.C. active high TSL and a N.O. active high PSL to an input module of a PLC. Wire an active high motor starter circuit to the output module of the same PLC and then, using ladder (logic) language, program the PLC so that the motor will not run when both limit sensors are in alarm. Include the program, the wiring diagram, and the I/O map as documentation.

Actual PLC program written for the task

Ladder (logic) Program

I-1,0

O-0,4

PSL

I-1,1

TSL

O-0,0

O-0,7

I-1,0

I-0,7

N.O.

24 V

PSL

N.C.

24 V

24 V input module

48 V output module

Motor starter 1

440 VI/O Wiring

42-301

42-302

42-303

42-307

42-308

42-306

83-541

83-542

83-543

83-547

83-544

83-548

83-546

I-0,0

I- 0,7

48 V input module

26-761

26-762

26-763

26-767

26-768

26-766

TSL

Ladder (logic) Program

Actual PLC program written for the task

I-1,0I-1,1 O-0,4

PSLTSL

Take home observation

Motor should run when both sensors in alarm

In both situations both sensors are active high

O-0,0

O-0,7

I-1,0

I-0,7

N.O.

24 V

PSL

N.C.

24 V

24 V input module

48 V output module

Motor starter 1

440 VI/O Wiring

42-301

42-302

42-303

42-307

42-308

42-306

83-541

83-542

83-543

83-547

83-544

83-548

83-546

I-0,0

I- 0,7

48 V input module

26-761

26-762

26-763

26-767

26-768

26-766

TSL

Actual PLC program written for the task

Motor should not run when both sensors in alarmLadder (logic) Program

I-1,0

O-0,4

PSL

I-1,1

TSL

Motor will not run if the TSL OR the PSL is passive.

Motor will run if the TSL OR the PSL is active.

End of Presentation