Reading and writing local analog output qa1, Reading and writing local analog output, Read/write image data – Eaton Electrical PROFIBUS-DP EZ204-DP User Manual

Page 113

Advertising
background image

Read/write image data

For more information visit: www.EatonElectrical.com

MN05013001E

109

Reading and writing local analog output QA1
The commands provided can be used to access the local

analog output of the EZ800 or EZD basic unit. When writing to

the analog output, however, the value will only be output

externally if the device concerned is in Run mode and the

image concerned has not been overwritten by actual program.

J

Section “Read/write image data” on Page 99.

Example

The analog output is to output a value of approx. 5 V.
500 = 01F4

hex

Byte 5 – Data 1 (LowByte) : F4

hex

Byte 6 – Data 2 (HighByte): 01

hex

Byte

Meaning

Value (hex), sent by

Master

Slave

0

Toggle byte

J

page 94

1

Command

Read

91

Write

B1

Response

Read successful

C2

Write successful

C1

Command

rejected

C0

2

Len

02

02

3

Type

05

05

4

Index

00

00

5 – 6

Data 1 – 2

Read operation

00

See example

For write

operation

See example

00

7 – 8

Data 3 – 4

00

00

Advertising