Rockwell Automation Hands-On Seminar Series - PowerPoint PPT Presentation

1 / 23
About This Presentation
Title:

Rockwell Automation Hands-On Seminar Series

Description:

Seminar Series Advanced Instructions Math Instructions - ADD Math Instructions - ADD Math Instructions - ADD Math Instructions - SUBTRACT Math Instructions - MULTIPLY ... – PowerPoint PPT presentation

Number of Views:83
Avg rating:3.0/5.0
Slides: 24
Provided by: Jeffr238
Category:

less

Transcript and Presenter's Notes

Title: Rockwell Automation Hands-On Seminar Series


1
Rockwell Automation Hands-On Seminar Series
2
SLC 500 BASIC LADDER INSTRUCTIONS
3
Advanced Instructions
Data Movement Move Copy Clear
Comparison Greater Than Less Than Equal Not
Equal Greater Than or Equal Less Than or Equal
Math Add Subract Multiply Divide
4
Math Instructions - ADD
Source A Source B Dest
N70 10 N71 5 N72 15
10 5 15
5
Math Instructions - ADD
Source A Source B Dest
N70 1 N71 5 N71 6
1 5 6
Application Running Total
6
Math Instructions - ADD
Source A Source B Dest
N70 1 N71 5 N71 6
1 5 6
Application Running Total
NOTE This instruction executes every scan that
the rung is true, therefore use a One-Shot OSR.
7
Math Instructions - SUBTRACT
Source A - Source B Dest
N70 10 N71 5 N72 5
10 - 5 5
8
Math Instructions - MULTIPLY
Source A x Source B Dest
N70 10 N71 5 N72 50
10 x 5 50
9
Math Instructions - DIVIDE
Source A Source B Dest
N70 10 N71 5 N72 2
10 5 2

S13 0 remainder S14 2 unrounded quotient
Math Register
10
Math Instructions - DIVIDE
Source A Source B Dest
N70 29 N71 10 N72 3
29 10 2.9

S13 9 remainder S14 2 unrounded quotient
Math Register
11
Comparison Instructions gt
IF Source A gt Source B THEN TRUE ELSE FALSE
29 gt 10 TRUE therefore Output is Energized
N70 29 N71 10
12
Comparison Instructions lt
IF Source A lt Source B THEN TRUE ELSE FALSE
29 lt 10 FALSE therefore Output is de-Energized
N70 29 N71 10
13
Comparison Instructions
IF Source A Source B THEN TRUE ELSE FALSE
29 10 FALSE therefore Output is de-Energized
N70 29 N71 10
14
Comparison Instructions ¹
IF Source A ¹ Source B THEN TRUE ELSE FALSE
29 ¹ 10 TRUE therefore Output is Energized
N70 29 N71 10
15
Comparison Instructions ³
IF Source A ³ Source B THEN TRUE ELSE FALSE
29 ³ 10 TRUE therefore Output is Energized
N70 29 N71 10
16
Comparison Instructions
IF Source A Source B THEN TRUE ELSE FALSE
29 10 FALSE therefore Output is de-Energized
N70 29 N71 10
17
Data Movement - Move
Source Dest
N70 50 N71 50
18
Data Movement - Copy
Source Dest

N70 10 N71 20 N72 30 N73 40 N74 N75 10
N76 20 N77 30 N78 40

19
Data Movement - Clear
Zero Dest
N70 50 N71 0
20
Advanced Instructions
ANY QUESTIONS???
Comparison Greater Than Less Than Equal Not
Equal Greater Than or Equal Less Than or Equal
Data Movement Move Copy Clear
Math Add Subract Multiply Divide
21
Timer Addressing and Parameters
Preset T40.PRE How long the timer should time
for. Accumulated T40.ACC How long the timer has
timed for already. Done T40/DN Set to 1 when
accumulated value gt preset value. Timer
Timing T40/TT Set to 1 when accumulated value
lt preset value. Enable T40/EN Set to 1 when
the rung containing the timer is true.
22
Timers
The Timers done bit turns the motor off after
a 10 second time delay.
Stop
Start
Motor
Timer Done
T40/DN
I1/1
O3/0
I1/0
/

( )
/

TON
(EN)

TIMER ON DELAY Timer T40 Time
Base 1.0 Preset
10 Accum 0
(DN)
23
Timers
The Timers timing bit turns the motor on for
only 10 seconds.
Write a Comment
User Comments (0)
About PowerShow.com