6 sample slc ladder logic program – Rockwell Automation RECOMM-PBUS PROFIBUS Communications Module User Manual

Page 58

Advertising
background image

6-6

PROFIBUS Communications Module

Example:

Power Up Marker (242) = 88.4541 hours
MSW = 13

decimal

= 1101

binary

= 2

19

+ 2

18

+ 2

16

= 851968

LSW = 32573
851968 + 32573 = 884541

6.6

Sample SLC Ladder Logic Program

The PROFIBUS sample program uses an SLC processor with an
SST PROFIBUS scanner (SST-PFB-SLC) in the first slot of the rack
and will work with SP600 drives.

Function of the Sample Program

The program is written for two drives on the network and
demonstrates the use of the following:

Logic Command / Reference

Logic Status / Feedback

Datalinks

Parameter Access (covered in chapter 7)

Module Settings

The Node Address switch settings on the PROFIBUS modules are
set to:

“1” for Station 1

“2” for Station 2

Advertising