Rockwell Automation MD65 EtherNet/IP Communication Module User Manual

Page 53

Advertising
background image

Using I/O Messaging

6-7

Figure 6.5 – Sample ControlLogix Ladder Logic Program for I/O Messaging

(Continued)

This rung displays the Feedback word from the

. Note that it is set in Hz and not in engineering units.

6

Move

Source MD65_Demo:I.Data[3]

500

Dest

Feedback

500

MOV

MD65

Feedback

This rung displays the Feedback word from the MD65.

.

For example, "300" equates to 30.0 Hz (the decimal point is always implied).

Logic Command bit control rungs are provided for display purposes only. The MD65_Demo: 0.Data[0].x bits could be used

directly elsewhere in the ladder program.

7

Stop_Command

MD65 Demo

Logic Command

STOP

MD65_Demo:O.Data[0].0

Logic Command bit control rungs are provided for display purposes only. The

directly elsewhere in the ladder program.

8

Start_Command

MD65 Demo

Logic Command

START

MD65_Demo:O.Data[0].1

9

ClearFault_Command

MD65 Demo

Logic Command

CLEAR FAULTS

MD65_Demo:O.Data[0].3

10

Forward_Command

MD65 Demo

Logic Command

FORWARD

MD65_Demo:O.Data[0].4

11

/

Forward_Command

MD65 Demo

Logic Command

REVERSE

MD65_Demo:O.Data[0].5

This rung provides the Reference word to

12

Move

Source

Reference

500

Dest MD65_Demo:O.Data[1]

500

MOV

MD65 Demo

Reference

This rung provides the Reference word to the MD65. Note that it is set in Hz and not in engineering units.

Advertising