Example – Rockwell Automation 1760-DNET Pico DeviceNet Communications Module User Manual User Manual

Page 86

Advertising
background image

Publication 1760-UM003A-EN-P - September 2005

7-6 Pico GFX Control Commands

Example

The real-time clock of the Pico GFX is to be set to Friday 23.05.2003,
14:36.

Table 6.73 Switching Rule Bit Array

Data 5

Data 4

Data 3

Data 2

Bit

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2 1 0

Rule_1

Day

Rule_2

Day

Month

Time of time change

Difference

0:

on

0:

Su

0:

month

0 to 30

0 to 11

Hour: 0 to 23

Minute: 0 to 59

0:

0:30h

1:

on the first

1:

Mo

1:

after

1:

1:00h

2:

on the second

2:

Tu

2:

before

2:

1:30h

3:

on the third

3:

We

3:

2:00h

4:

on the fourth

4:

Thu

4:

2:30h

5:

on the last

5:

Fr

5:

3:00h

6:

Sa

Table 6.74

Byte

Meaning

Value (hex), sent by

Master

Slave

Master

Slave

Attribute ID: Write

B3

0

Response: Write
successful

C1

0

1

Len

05

05

1

2

Index

00

00

2

3

Data 1 (hex)

0E

00

3

4 Data

2

(minute)

24

00

4 5

Data

3

(day)

17

00

5

6

Data 4 (month)

05

00

6

7

Data 5 (year)

03

00

TIP

All values must be transferred as hexadecimal values.

Advertising