30 • vacon nx interfaceTel.+358-(0)201-21 Tel. +358 (0)201 2121 • Fax +358 (0)201 212 20577.8 Anyparameter serviceSDO protocol can be used to read any parameter or actual value and write any parameter from drive.These parameters are read from drive with it’s ID number specified in user manual. There are threeindex in object dictionary as follow for anyparameter service.Index Description Size Type Hi 16b Low 16b2000 AnyparameterReadID U16 RW - Read ID2001 AnyparameterReadValueU32 RO Status Value2002 AnyparameterWrite U32 RW ID Write ValueReading anyparameterWriting new value to index 2000 will trigger read event, while read is in process index 2001 is zero.Read event will return value to index 2001. If read is succes status will get value of ID and Value isvalue of ID. If read fails Status will get value 0xFFFF (dec 65535).Writing anyparameterWhen new ID and value is written to index 2002 a write event will be triggered. Index 2002 value willremain as long as writing is processed (normal sdo/pdo operation during this time). If write is succesindex 2002 ID and value will be cleared and new write is possible. If write fails ID will clamp to 0xFFFFand value zero.Figure 7-1. Reading Any ParameterFigure 7-2. Writing Any ParameterWrite ID with SDO protocol0x0066Index 2000Index 2001Read value with SDO protocol0xFFFF 0x0000 = FailID Value = OK0x000 0x0000 = In process16bit16bi 16bit.. 100ms delay for read event.0x0066 0x0032Status ValueWrite ID and value with SDOprotocolIndex 2002Index 2002Read write event status0x0000 0x0000 = OK,0xFFFF 0x0000 = Fail0x0066 0x003c = In Process16bi 16bit.. 100ms delay for write event.0x0000 0x0000Status16bi 16bit0x0066 0x003CID ValueRead ID