Counter relays: c1 – c16 – Rockwell Automation 1760-DNET Pico DeviceNet Communications Module User Manual User Manual

Page 67

Advertising
background image

Publication 1760-UM003A-EN-P - September 2005

Application Examples for Pico 6-23

Example:

Data 1 (Byte 4) = 0xA3, Data 2 (Byte 5) = 0x03

l Resulting 16-bit value = 03A3

hex

Meaning: HY, OS, F2, F1 are assigned a constant; I1, I2 are assigned to
a variable such as I7, I8 C2...etc., appears in the Parameter menu;

The output of the analog value comparator is active for as long as the
comparison (I1

x F1) + OS = (I2 x F2) + HY is fulfilled.

Counter relays: C1 – C16

Table 6.42 Index 01 – Control byte

FB output Data 3

Bit

7

6

5

4

3

2

1

0

Q1

(1)

(1) Status 1 if comparison condition is fulfilled.

Table 6.43 Telegram Structure

Byte

Meaning

Value (hex), sent by

Master

Slave

Master

Slave

Attribute ID

Read

89

Write

8D

0

Response:

Read successful

C2

Write successful

C1

Command rejected

C0

(2)

(2) Possible causespage 6-34

0

1

Type

8F

8F

1

2

Instance

(1)

(1) Pico provides 16 counters C1 to C16 for use as required. These can be addressed using the instance (0 – F).

00 – 0F

00 – 0F

2

3

Index

Table 6.44

Table 6.44

3 – 6

4 – 7

Data 1 – 4

depending on
index,Table 6.45

depending on
index,Table 6.45

Advertising