EasyManua.ls Logo

BONFIGLIOLI Vectron ACTIVE CUBE - Example: Reading of Index Parameters

BONFIGLIOLI Vectron ACTIVE CUBE
138 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
8.1.6.2 Example: Reading of index parameters
In order to read an index parameter, you will have to set the indexing parameter to
the relevant index first, then you can read the parameter.
Reading of Parameter 1202 Target position/distance (type long), in Index 1 with
parameter value 123000.
123000 = 0x0001 E078
First step: Set index parameter
Order from master:
AK
= 2 (Order code = write int/uint parameter value)
PNU
= 1201 (=0x4B1)
IND
= 0
PWEh
= 0x0000
PWEI
= 0x0022 (=34)
PKW range
Designation
PKE
IND
PWE-high
PWE-low
Contents
Parameter
code
Index
Parameter
value high
word
Parameter
value low
word
High
Byte
Low
Byte
High
Byte
Low
Byte
High
Byte
Low
Byte
High
Byte
Low
Byte
0x24
0xB1
0
0
0x00
0x00
0x00
0x22
Byte no.
0
1
2
3
4
5
6
7
Response from slave:
AK
= 1 (response code = transmit int/uint parameter value)
PNU
= 1201 (=0x4B1)
IND
= 0
PWEh
= 0x0000
PWEI
= 0x0022 (=34)
PKW range
Designation
PKE
IND
PWE-high
PWE-low
Contents
Parameter
code
Index
Parameter
value
high word
Parameter
value
low word
High
Byte
Low
Byte
High
Byte
Low
Byte
High
Byte
Low
Byte
High
Byte
Low
Byte
0x14
0xB1
0
0
0x00
0x00
0x00
0x22
Byte no.
0
1
2
3
4
5
6
7
Second step: Read value of target position
Order from master:
AK
= 1 (order code = read long parameter value)
PNU
= 1202 (=0x4B2)
IND
= 0
PWEh
= 0x0000
PWEI
= 0x0000
10/13 CM-PROFINET 39

Table of Contents

Other manuals for BONFIGLIOLI Vectron ACTIVE CUBE

Related product manuals