PROFINET communication with encoTRive
TR-Electronic GmbH 2008, All Rights Reserved Printed in the Federal Republic of Germany
Page 158 of 252 TR - EMO - BA - DGB - 0019 - 08 06/06/2019
5.3.1 Examples of access to parameters via PKW channel
5.3.1.1 Read command P947[0]
The control wants to read the first element of parameter 947 "Faults":
● PKE Command identifier: 7 (Request parameter value array word) + parameter
number: 947 (0x3B3)
● IND Index = 0
● PWE Parameter value = 0
PKW command from the control:
PKW response from encoTRive:
Result:
encoTRive responds positively and returns the value 700 (0x2BC) = tracking error.
5.3.1.2 Write command P100 with value 1000000
The control wants to write parameter 100 "Actual value of position" with value
1000 000:
PKE Command identifier = 3 (Change parameter value (double word)) +
parameter number = 100 (0x64)
IND Index = 0
PWE Parameter value = 1000000 (0xF4240)
PKW command:
PKW response:
Result:
encoTRive responds negatively via PKE 0x7xxx => Order cannot be executed and
PWE 0x0001 => Value cannot be changed.