beautypg.com

Local analog output: qa1 – Rockwell Automation 1760-DNET Pico DeviceNet Communications Module User Manual User Manual

Page 96

background image

Publication 1760-UM003A-EN-P - September 2005

7-16 Pico GFX Control Commands

Local analog output: QA1

The commands provided can be used to access the local analog
output of the Pico GFX or GFX basic unit. When writing to the analog
output (only possible from Pico GFX, device version 04) the value will
only be output if the respective device is in RUN mode and if the
respective image is not written by the actual program,
a section “Read/write image data”on page 7.

Example:
The analog output should output a value of approx. 5 V.

500 = 01F4

hex

Byte 4 – Data 1 (LowByte) : F4

hex

Byte 5 – Data 2 (HighByte): 01

hex

Table 6.91

Byte

Meaning

Value (hex), sent by

Master

Slave

Master

Slave

Attribute ID

Read

91

Write

(1)

(1) Writing is only possible from Pico GFX, version 0.4, see page 7-2.

B1

0

Answer

Read successful

C2

Write successful

C1

Command rejected

C0

0

1

Len

02

02

1

2

Type

05

05

2

3

Index

00

00

3 – 4

4 – 5

Data 1 – 2

Read operation

00

see example
below

Write operation

see example
below

00

5 – 6

6 – 7

Data 3 – 4

00

00