Rockwell Automation 22-SCM-232 Serial Converter Module User Manual

Page 88

Advertising
background image

H-4

ControlLogix/CompactLogix Example Ladder Program

Figure H.1 Example ControlLogix Ladder Logic Program (Continued)

13

DriveReadData[0].1

DriveStatusActive

14

DriveReadData[0].3

DriveStatusForward

15

DriveReadData[0].7

DriveStatusFaulted

16

DriveReadData[0].8

DriveStatusAtReference

17

Move
Source DriveReadData[3]
543
Dest

Feedback

543

MOV

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.

18

PerformParameterWrite

EN
DN
ER

Type - PLC5 Typed Write
Message Control

ParameterWRMessage ...

MSG

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.

Unlatch the PerformParameterWrite request to indicate the message has completed. Operates one time per request.

19

ParameterWRMessage.DN

ParameterWRMessage.ER

U

PerformParameterWrite

Unlatch the PerformParameterWrite request to indicate the message has completed. Operates one time per request.

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

20

PerformParameterRead

EN
DN
ER

Type - PLC5 Typed Read
Message Control

ParameterRDMessage ...

MSG

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

Unlatch the PerformParameterRead request to indicate the message has completed. Operates one time per request.

21

ParameterRDMessage.DN

ParameterRDMessage.ER

U

PerformParameterRead

Unlatch the PerformParameterRead request to indicate the message has completed. Operates one time per request.

22

Powerup_1shot

(End)

Advertising