Chapter 5 Flashcards
two different ways of memory structures for ladder logic
- rack based system (address)
- tag based system
tag
user friendly name for a memory location, no fixed address
first pass bit/status bit
first bit that makes once when go into run mode and then it turns off
memory space can be divided into two types of files
- program files: part of processor memory that stores user ladder logic
- data files: store info needed to carry out user program
program files
- system functions (0): contains system related info
- reserved (1): reserved by processor
- main ladder (2): ladder logic
- subroutine ladder (3-255): created by user
data files
- output (0): output terminals
- input (1): input terminals
- status (2): controller operation info
- bit (3): internal relay logic storage
- timer (4): timer info
- counter (5): counter info
- control (6): stores length, pointer position, and status bit for special instructions
- integer (7): whole numbers
- float (8): fractional data
scans
scans from left to right (horizontal)
logical continuity
for a output to make or become true, there must be a continuous path of true conditional instructions
length of scan depends on:
- speed of processor module
- length of ladder program
- type of instructions executed
- actual ladder true/false conditions
plc programming language types
- textural language (instruction list, structured text)
- graphical language (ladder diagram, functional block diagram, sequential function chart)
scan process
- read input module
- solve ladder program
- transfer to output module
three fundamental symbols for ladder logic
- examine if closed (N.O. contact)
- examine if open (N.C. contact)
- output energize (relay coil)
limitations to ladder logic
- can not have a branch within another branch
- no vertical contacts
- there must be logic continuity from left to right only
file for storage and addressing of internal output bits
B3