Download Profibus-DP manual
Transcript
Seidel VII.11 Sample telegrams 09/02 Writing a parameter Parameter v_max is used as an example to show how control parameters are transmitted from the master to the SERVOSTAR. Parameter number: Parameter value: 1265 350000 µm/s 100 1111 0001 0100 0011 1010 1111 0000 0000 0000 0000 Byte 1 2 3 4 5 6 7 8 0011 0100 1111 0001 0000 0000 0000 0000 0000 0000 0000 0101 01010111 0011 0000 PKE IND PWE Note: after an error has occurred in parameter transmission (AK = 7), a “Zero telegram” should be transmitted, i.e. the first 8 bytes of the transmit telegram from the PLC should be kept at 0, until the SERVOSTAR 400/600 has responded with a zero telegram. VII.12 Read actual values Cyclical actual value request This PKW task switches on the reading of an actual value. The actual value will now be transmitted with each cyclical telegram – until a new PKW task is presented. Telegram layout: PKE/AK PKE/PNU IND PWE Request 1 Parameter number of the actual values (1400..1413) 0= read no significance PROFIBUS for SERVOSTAR 400/600 Response 2 as transmitted 0 actual value 53