Lecture 7 Flashcards
1
Q
PLC
A
Programmable Controllers - device for industrial sequential operation management such as assembly, packing etc.
2
Q
PLC Basic Symbols
A
3
Q
Transmission Gates
A
- X and C=0 — 0
- X and C=1 — X
- X or C=0 — X
- X or C=1 — 1
- X ExOR C=0 — X
- X ExOR C=1 — NOT X
4
Q
Compliment of a number
A
- compliment of 123 = 1000 - 123 = 877
- compliment of 2411 = 10,000 - 2411 = 7589
- To subtract a number, add the compliment and remove the first digit
5
Q
Two’s Compliment
A
- Inverse digits and add 1
- eg. twos compliment of 1010 = 0101 +1 = 0110
6
Q
Size of register and size of compliment number
A
- size of register determines compliment length
- eg. 4 bit: compliment of 0110 = 1010
- eg. 8 bit: compliment of 0110 = 1111 1010
7
Q
Flags
A
- Status Register
- Z = result zero (1), result not zero (0)
- N = result negative (1), result not negative (0)
- C = Carry Generated (1), carry not generated (0)
- V = Overflow (1), no overflow (0)
- Carry = if result is too large to fit in the same number of binary numbers as original numbers (work out using decimal and convert back!)
- Overflow = If the sign bit of the both operands are the same and the sign bit of the result is different
8
Q
Two forms of encoding digital info
A
NRZ and NRZI
9
Q
NRZ
A
- No return to zero.
- simplist
- difficult to keep clock when sending out long strings of 0 or 1
10
Q
NRZI
A
- No return to zero inverted
- Transmission rule:
- If data bit =1, change level
- If data bit = 0, dont change
- Advantage: ensures 1 is transmitted safely
11
Q
Successive Approxiations - Converting Analogue to digital
A
- Analogue input applied to computer
- clock used to generate binary numbers
- D to A converter translated numbers to analogue voltage and sends to computer
- If Vclock > Vin, gate closes and binary number stops increasing
12
Q
Latching
A
A circuit, which one energise,maintains that state untl another input is recieved
13
Q
Machine Leel
A
Digital code to translate assembly langage to binary
14
Q
Assembly Language
A
Primitive language that an operater uses
15
Q
Types of RAM
A
- SRAM, once the input is given, the content will remain until changed by a subsequent valid input.
- The data storage device in the DRAM bit cell is a capacitor. When a logic 1 is written to the bit cell, it charges up the capacitor until the voltage across it is also a logic 1. As the charge in the bit cell tends to drop, the memory is continuously refreshed for keeping its contents. This gives it its name of dynamic RAM.