Appendix

Symbols

Ladder Programs

Semi-graphic formFull graphic form
A horizontal link along which power can flowu00-01-9780128029299u00-02-9780128029299
Interconnection of horizontal and vertical power flowsu00-03-9780128029299u00-04-9780128029299
Left-hand power connection of a ladder rungu00-05-9780128029299u00-06-9780128029299
Right-hand power connection of a ladder rungu00-07-9780128029299u00-08-9780128029299
Normally open contactu00-09-9780128029299u00-10-9780128029299
Normally closed contactu00-11-9780128029299u00-12-9780128029299
Positive transition-sensing contact, power flow occurs when associated variable changes from 0 to 1.u00-13-9780128029299u00-14-9780128029299
Negative tranistion-sensing contact, power flow occurs when assoaciated variable changes from 1 to 0u00-15-9780128029299u00-16-9780128029299
Output coil: if the power flow to it is on then the coil state is onu00-17-9780128029299u00-18-9780128029299
Set coilu00-19-9780128029299u00-20-9780128029299
Reset coilu00-21-9780128029299u00-22-9780128029299
Retentive memory coil, the state of the associated variable is retained on PLC power failu00-23-9780128029299u00-24-9780128029299

t0010_at0010_b

Function Blocks

Semi-graphic formFull graphic form
Horizontal and vertical linesu00-25-9780128029299u00-26-9780128029299
Interconnection of horizontal and vertical signal flowsu00-27-9780128029299u00-28-9780128029299
Crossing horizontal and vertical signal flowu00-29-9780128029299u00-30-9780128029299
Blocks with connectionsu00-31-9780128029299u00-32-9780128029299
Connectorsu00-33-9780128029299u00-34-9780128029299

t0015

Commonly Encountered Blocks

BOOL is a Boolean signal, INT is an integer, REAL is a floating point number, ANY is any form of signal
Up-counter counts the number of rising edges at input CU. PV defines the maximum value of the counter. Each new rising edge at CU increments CV by 1. Output Q occurs after set count. R is the reset.u00-35-9780128029299
Down-counter counts down the number of rising edges at input CU. PV defines the starting value of the counter. Each new rising edge at CU decrements CV by 1. Output Q occurs when count reaches zero.u00-36-9780128029299
Up-down counter. It can be used to count up on one input and down on the other.u00-37-9780128029299
On-delay timer. When input IN goes true, the elapsed time at about ET starts to increase and when it reaches the set time, specified by input PT, the output Q goes true.u00-38-9780128029299
Off-delay timer. When input IN goes true, the output Q follows and remains true for the set time after which the input Q goes false.u00-39-9780128029299
Pulse timer. When input IN goes true, output Q follows and remains true for the pulse duration specified by input PT.u00-40-9780128029299

t0020

Logic Gates

AND gateu00-41-9780128029299u00-42-9780128029299
OR gateu00-43-9780128029299u00-44-9780128029299
NOT gateu00-45-9780128029299u00-46-9780128029299
NAND gateu00-47-9780128029299u00-48-9780128029299
NOR Gateu00-49-9780128029299u00-50-9780128029299
XOR Gateu00-51-9780128029299u00-52-9780128029299

t0025

Sequential Function Charts

Start step. This defines the step which will be activated when the PLC is cold-started.u00-53-9780128029299
Transition condition. Every transition must have a condition. One that always occurs should be shown with the condition TRUE.u00-54-9780128029299
Step in a programu00-55-9780128029299
Every step can have an associated action. An action describes the behavior that occurs when the step is activated. Each action can have a qualifier: N indicates the action is executed while the step is active. If no qualifier is indicated it is taken to be N.u00-56-9780128029299
Selective branchingu00-57-9780128029299
Parallel branching when the transition occursu00-58-9780128029299
Convergence when both transitions occuru00-59-9780128029299
Simultaneous convergenceu00-60-9780128029299

t0030

Instruction List (IEC 61131-3 Symbols)

LD Start a rung with an open contact

LDN Start a rung with a closed contact

ST An output

S Set true

R Reset false

AND Boolean AND

ANDN Boolean NAND

OR Boolean OR

ORN Boolean NOR

XOR Boolean XOR

NOT Boolean NOT

ADD Addition

SUB Subtraction

MUL Multiplication

DIV Division

Structured Text

X:= Y Y represents an expression that produces a new value for the variable X.

Operators

(…) Parenthesized (bracketed) expression

Function(…) List of parameters of a function

** Raising to a power

−, NOT Negation, Boolean NOT

*, /, MOD Multiplication, division, modulus operation

+, − Addition, subtraction

<, >, <=, >= Less than, greater than, less than or equal to, greater than or equal to

=, <> Equality, inequality

AND, & Boolean AND

XOR Boolean XOR

OR Boolean OR

Conditional and Iteration Statements

IF … THEN … ELSE is used when selected statements are to be executed when certain conditions occur.

The FOR … DO iteration statement allows a set of statements to be repeated, depending on the value of the iteration integer variable.

The WHILE … DO iteration statement allows one or more statements to be executed while a particular Boolean expression remains true.

The REPEAT … UNTIL iteration statement allows one or more statements to be executed and repeated while a particular Boolean expression remains true.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.60.63