Compound Commands

<< Click to Display Table of Contents >>

Navigation:  Valve Firmware > Interface > RS232/485 >

Compound Commands

Previous pageReturn to chapter overviewNext page

This function allows to GET and/or SET several values with one command.

Note: This commands are available since firmware version July 2021.

 

Service

Code

Description

29

GET the values of all parameters in the compound array

28

SET the values of all parameters in the compound array

30

SET and GET combined.

All parameters until the first empty entry (ID = 0) are set.

All parameters after the first empty entry (ID = 0) are get.

 

Group

Parameter

ID [hex]

Data Type

Access

NV

Description

Parameter

Compound 1

A10A0100

UINT32[20]

RW

NV

Compound of Parameter IDs

Compound 2

A10A0200

UINT32[20]

RW

NV

Compound 3

A10A0300

UINT32[20]

RW

NV

Compound 4

A10A0400

UINT32[20]

RW

NV

 

 

Example:

Build Compound 1 (A10A0100) to get the values of several parameters:

Index

Parameter

ID [hex]

Commands to set the compound members

00

Access Mode

0F0B0000

p:01A10A0100000F0B0000

01

Control Mode

0F020000

p:01A10A0100010F020000

02

Actual Position

10010000

p:01A10A01000210010000

03

Position State

00100000

p:01A10A01000310100000

04

Actual Pressure

07010000

p:01A10A01000407010000

05

Target Pressure

07020000

p:01A10A01000507020000

06

Target Pressure Used

07030000

p:01A10A01000607030000

07

Warning Bitmap

0F300100

p:01A10A0100070F300100

08

not used

0

p:01A10A0100080

..

..

..

..

Note: All not used indexes must be set to 0

 

Execution:


Send

Receive

Get

p:29A10A010000

p:0029A10A0100000;2;45.0;0;1.45;30.0;30.0;0

 

Build Compound 2 (A10A0200) to set the several parameters:

Index

Parameter

ID [hex]

Commands to set the compound members

00

Access Mode

0F0B0000

p:01A10A0200000F0B0000

01

Control Mode

0F020000

p:01A10A0200010F020000

02

Target Position

11020000

p:01A10A02000211020000

03

Target Pressure

07020000

p:01A10A02000307020000

08

not used

0

p:01A10A0200080

..

..

..

..

Note: All not used indexes must be set to 0

 

Execution:


Send

Receive

Set

p:28A10A0200000;2;45;30

p:0028A10A0200000;2;45;30

Get

p:29A10A020000

p:0029A10A0200000;2;45.0;30.0