beautypg.com

4 read_parameter – Siemens CP 243-2 User Manual

Page 84

background image

Command Interface

5-16

SIMATIC NET CP 243-2 AS-i Master

C79000-G8976-C142/02

5.2.4

Read_Parameter

Purpose

This call returns the current parameter value (actual parameter) of a slave.

This value must not be confused with the parameter echo that is supplied by the
AS-i slave as a reply to the write_parameter job.

Structure of the Job Data in the Send Buffer

Bank

Byte

Meaning

2

0

Command number: 03

H

2

1

AS-i slave address

Structure of the Job Data in the Receive Buffer

Bank

Byte

Meaning

Bit 7

Bit 4

Bit 3

Bit 0

2

0

Echo of the command number: 03

H

2

1

Command status

2

2

irrelevant

Parameter