; This demonstrates the PKWLen parameter ; ; Siemens drives exchange cyclic I/O drive data as PZD or process data. ; The drives may also use a mechanism called PKW to exchange parameters ; and status with Siemens drives. ; The PKW mechanism reserves 4 integer words at the start of Profibus DP data ; outputs and inputs, before the PZD data to send parameterization commands ; and receive parameterization status. ; ; The annex does not currently support the PKW mechanism but it does provide ; the keyword PKWLen to specify an offset for the Profibus mapping which is ; PZD data. BaudRate 12m ; Node ILen OLen DeviceID PbSlave 5 24 24 0x08a5 Name "TestTarget" PKWLen 4 ; PKW Header Int Len (0 or 4), PZD DataOffset: 0 PKW, 4 PZD IpAddr 10.10.0.198 RPI 10 AssemIns 6 O_T_ConnPt 2 T_O_ConnPt 1 Inputs 16 ; Bytes: 'Seq'2 + 'StsHdr'4 + 'Payload'2 (1 int) PbsInt[0] <- Int[0] EndInputs Outputs 16 ; Bytes: 'Seq'2 + 'Run/IdleHdr'4 + 'Payload'2 (1 int) PbsInt[0] -> Int[0] EndOutputs EndPbSlave