&20081,&$7,216 ,QWHUQDWLRQDO(QJOLVK
MICROMASTER 420 Reference Manual
50 Issue A1
5HDGDSDUDPHWHUYDOXHIRUDQLQGH[HGSDUDPHWHU
To read the value of a parameter index you must define the index in bits 0 to 7 of
the 2nd PKW word (IND).
([DPSOH
Read parameter P2010, index 1 (2010 = 00A and Bit 15 of IND).
866→0,&520$67(5$
requests value of P2010 index 1.
0,&520$67(5→866$
the reply tells us this is a single word
with value 6 (hex).
1RWH
It would also be possible to use Task ID 6 here.
&KDQJLQJDSDUDPHWHUYDOXH>5$0RQO\@
To write to a parameter, you must know whether it has a single or double word
parameter value and use the Task ID 2 or 3 appropriately. To find this out, you can
first read the parameter value via USS. (The information is also available in the
Parameter List).
([DPSOH
Change the value of P1082 to 40.00
6WHS
Read value:
866→0,&520$67(5$
0,&520$67(5→866$
the Reply ID 2 shows us that this is a
double word so we will need to use
the Task ID 3 "change parameter
value (double word) [RAM only]".
6WHS
Change parameter value to 40.00 (= 4220 0000 (IEEE float value)).
866→0,&520$67(5$
0,&520$67(5→866$
this confirms the value has been
changed.
1RWHV
•
Had the message 243A 0000 4220 0000 been sent, the reply would be
743A 0000 0005 indicating an error number 5 = " incorrect data type".
•
P1082 (F
max) cannot be changed while the inverter is running. Had the
correct change telegram been sent while the inverter was running, the
reply would have been 743A 0000 0011, indicating error number 17 =
"drive converter status does not permit the set task at the moment".
•
If you want the changed value to be stored in the EEPROM, the Task ID
13 (=D hex) should be used.