Download DFE32B PROFINET IO
Transcript
7 I 0 Configuration via PROFIdrive Data Set 47 Structure of the PROFINET parameter channel Example for writing a parameter via MOVILINK® The following tables show the sequence of the WRITE and READ services for non-volatile writing of the value 12345 to IPOSplus® variable H0 (parameter index 11000) as an example. The MOVILINK® service Write Parameter volatile is used for this purpose. Send „WRITE parameter volatile“ request Service WRITE. request Description API 0 Fixed setting = 0 Slot_Number 0 Random, (is not evaluated) Subslot_Number 1 Fixed setting = 1 Index 47 Index of the data set for the parameter request; constant index 47 Length 16 16 byte user data for order buffer The following table shows the WRITE.request user data for MOVILINK® "Write parameters volatile. Byte Box Value Description 0x01 Individual reference number for the parameter setting order is reflected in the parameter response Request ID 0x40 SEW MOVILINK® service 0x00 Axis number; 0 = single axis 3 No. of parameters 0x01 1 parameter 4 Attributes 0x30 MOVILINK® service “WRITE parameter volatile” 5 No. of elements 0x00 0 = access to direct value, no subelement 6, 7 Parameter Number 0x2AF8 Parameter index 11000 = ’IPOS variable H0’ 8, 9 Subindex 0x0000 Subindex 0 10 Format 0x43 Double word 11 No. of values 0x01 Change 1 parameter value 12, 13 Value High word 0x0000 Higher-order part of the parameter value 14, 15 Value Low word 0x0BB8 Lower-order part of the parameter value 0 1 2 After sending this WRITE.request, the WRITE.response is received. If there was no status conflict in processing the parameter channel, a positive WRITE.response occurs. Otherwise, the status error is located in Error_code_1. Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected] 72 Manual – DFE32B PROFINET IO Fieldbus Interface