Presentation is loading. Please wait.

Presentation is loading. Please wait.

PLC Setup. Lab Setup Power Supply SLC 5/03 CPU DC input card Relay output card Our lab setup consists of 8 stations each having an IBM-PC compatible computer,

Similar presentations


Presentation on theme: "PLC Setup. Lab Setup Power Supply SLC 5/03 CPU DC input card Relay output card Our lab setup consists of 8 stations each having an IBM-PC compatible computer,"— Presentation transcript:

1 PLC Setup

2 Lab Setup Power Supply SLC 5/03 CPU DC input card Relay output card Our lab setup consists of 8 stations each having an IBM-PC compatible computer, 24VDC power supply and the following PLC hardware

3 Power Supply PLCs typically include a power supply module in the rack. The power supply only supplies backplane power. This will power the internal electronics of the module. External devices, such as sensors, relays, solenoids must have a different external power source.

4 CPU front Channel 0 connects to IBM-PC serial port Channel 1 (when used), connects to the data highway LED will flash when data is being transferred to/from PLC

5 CPU SLC 5/03 Processor 8K memory version 3.02 of firmware In the Allen-Bradley SLC 500 PLC family there are a number of different processors. Each processor will support a core set of instructions and features. However, every processor is different in terms of the advanced instructions that it will support, amount of memory available and speed. Going from least to most powerful the family starts with the SLC 500 (non-modular), 5/01, 5/02, 5/03, 5/04 and 5/05. We have the

6

7 DC input card 16 point Uses “sinking” to activate Each input is activated by bringing the terminal to ground

8

9 External connections The PLC power supply doesn't / cannot supply power for the I/O 24 VDC external supply for the module Serial cable to PC, COM 1

10 Connecting outputs

11 Inductive/Capacitive proximity Photoelectric Shaft encoders Relays & Solenoids Mechanical counters PLC I/O devices

12 Work by using a tuned circuit Insert RLC diagram here The circuit is De-tuned by bringing an object near it Inductive/Capacitive proximity

13 Works by sending and receiving a stream of light pulses If the stream is interrupted, the sensor activates Typically operate in the infra-red region Often have both sink and source outputs Photoelectric

14 Mechanical counters Pretty much tamper proof Slow, 20-50 mSec per increment Retain display when power is lost/off

15 PLC Scan

16 All inputs are read at the beginning of the scan Inputs that change before the next scan are not detected Inputs

17 Description

18 In the SLC CPUs the placement of rungs within the program does matter Logic solved

19 Communications with the PC Remote I/O racks Device Net Remote I/O

20 Updating timers, counters Updating “forces” Diagnostics Watchdog timer –Checks to make sure a scan doesn’t take too long Housekeeping In small programs housekeeping time may account for 90%+ of the scan time.

21 At the end of the scan, the information from the output table is copied to the physical outputs Outputs

22 DH 485

23 Network communication There are two major protocols for network communication. Token passing and CSMA/CD. Imagine a classroom full of people who would all like to participate in a group discussion. With token passing, someone (maybe the instructor) would start, he/she would be able to talk until they were done. They would then pass the token (in this example the token could be a microphone), to the next person who could then speak. This process continues until everyone has had a chance to talk. If someone has nothing to say, they pass the token on. This approach is also called “Round Robin”.

24 Token passing

25 CSMA/CD Instead of using tokens to control who has the right to communicate we could apply the following rules: 1. If no one is speaking, then anyone who wants to can speak. 2. If someone is speaking, then wait 3. If two or more people start to speak at the same time, everyone stops, pauses a random amount of time and try again. CSMA/CD stands for Carrier sense (is anyone speaking), multiple access (many people can use the system) with collision detect (if two people start to speak at the same time, I.e. you hear garbled speech, stop). Ethernet uses this protocol.


Download ppt "PLC Setup. Lab Setup Power Supply SLC 5/03 CPU DC input card Relay output card Our lab setup consists of 8 stations each having an IBM-PC compatible computer,"

Similar presentations


Ads by Google