Hi Martin,
If its Step 7,i can give you a copy of a DB mapped Status word from one of our machines to get you started, but i believe you can customise the status word via drivetop software. I dont have any PDF's for this unit only a course manual.
Our unit communicates via Profibus DP and is mapped from the pheripheral area to DB:
DATA_BLOCK "Drive"
TITLE =
VERSION : 0.1
STRUCT
Controlword : STRUCT
Positioning_block_sel : BYTE ; //Positioning block selection
Drive_enable : BOOL ;
Drive_stop : BOOL ;
Reserve01 : BOOL ;
Start_positioning_block : BOOL ;
Reserve02 : BOOL ;
Fault_reset : BOOL ;
Reserve03 : BOOL ;
Reserve04 : BOOL ;
END_STRUCT ;
Torque_force_limit : WORD ;
Statusword : STRUCT
Quit_positioning_block : BYTE ;
Active_operation_mode : BOOL ;
Reserve01 : BOOL ;
In_reference : BOOL ;
moving : BOOL ;
In_position : BOOL ;
fault : BOOL ;
ready : BOOL ;
Drive_ready : BOOL ;
END_STRUCT ;
END_STRUCT ;
BEGIN
Controlword.Positioning_block_sel := B#16#0;
Controlword.Drive_enable := FALSE;
Controlword.Drive_stop := FALSE;
Controlword.Reserve01 := FALSE;
Controlword.Start_positioning_block := FALSE;
Controlword.Reserve02 := FALSE;
Controlword.Fault_reset := FALSE;
Controlword.Reserve03 := FALSE;
Controlword.Reserve04 := FALSE;
Torque_force_limit := W#16#0;
Statusword.Quit_positioning_block := B#16#0;
Statusword.Active_operation_mode := FALSE;
Statusword.Reserve01 := FALSE;
Statusword.In_reference := FALSE;
Statusword.moving := FALSE;
Statusword.In_position := FALSE;
Statusword.fault := FALSE;
Statusword.ready := FALSE;
Statusword.Drive_ready := FALSE;
END_DATA_BLOCK
Hope this is some help to you