F-4 slc example ladder program – Rockwell Automation 22-SCM-232 Serial Converter Module User Manual

Page 72

Advertising
background image

F-4

SLC Example Ladder Program

Figure F.1 Example SLC Ladder Logic Program (Continued)

Starts the message cycle over again.

0010

N9:40

13

N9:40

12

U

N9:40

15

Write Parameter 39 - [Accel Time 1]. Uses N150:x addressing, where 'x' equals the parameter number.

Note: A parameter write causes an EEPROM write cycle on the drive. Do not develop a ladder program
that will perform frequent writes.

0011

B3:1

0

Write
Pr. 39
Request

OSR

B3:1

1

EN

DN

ER

MSG

Read/Write Message
Type

Peer-To-Peer

Read/Write

Write

Target Device

PLC5

Local/Remote

Local

Control Block

N9:60

Control Block Length

14

Setup Screen

MSG

Read Parameter 39 - [Accel Time 1]. Uses N150:x addressing, where 'x' equals the parameter number.

0012

B3:1

2

Read
Pr. 39
Request

OSR

B3:1

3

EN

DN

ER

MSG

Read/Write Message
Type

Peer-To-Peer

Read/Write

Read

Target Device

PLC5

Local/Remote

Local

Control Block

N9:80

Control Block Length

14

Setup Screen

MSG

0013

END

Advertising