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

Page 81

Advertising
background image

PLC-5 Example Ladder Program

G-5

The data table used by the example ladder program is explained below:

Figure G.2 PLC-5 Ladder Example Data Table Values

The following screens (

Figure G.3

to

Figure G.6

) provide details of the

MSG instructions used in the ladder example:

N7:
Address

Name

Example
Value
(decimal)

Example Value Description

0

Constant “0”

0

Fixed to “0” and used to clear
read data on the first scan of
the ladder program

10

Logic Status

1807

See Logic Status bit
descriptions (Appendix I)

11

Drive Error Code

0

No errors

12

Commanded Frequency

350

35.0 Hz

13

Output Frequency (feedback)

350

35.0 Hz

14

Output Current

1

0.01 A

15

DC Bus Voltage

3228

322.8 V

16

Output Voltage

1397

139.7 V

20

Logic Command

18

See Logic Command bit
descriptions (Appendix I)

21

Reference

350

35.0 Hz

30

Pr. 39 - [Accel Time 1] Write Value 44

4.4 Seconds

31

Pr. 39 - [Accel Time 1] Read Value 44

4.4 Seconds

Advertising