' Script_1 ' Set Telegram to 999 Free Telegram W/BICO Parameters(922, 0) = 999 'PROFIBUS PZD telegram selection ' Configure Profibus SEND TELEGRAM ' r2050[0] PROFIBUS SEND Word 1 PZD BICO ' p2090 Parameters(840, 0) = "2090:0:63" 'BI: ON/OFF1 Parameters(844, 0) = "2090:1:63" 'BI: 1. OFF2 Parameters(848, 0) = "2090:2:63" 'BI: 1. OFF3 Parameters(852, 0) = "2090:3:63" 'BI: Enable operation Parameters(854, 0) = "2090:10:63" 'BI: Master ctrl by PLC Parameters(2103, 0) = "2090:7:63" 'BI: 1. Acknowledge faults Parameters(2568, 0) = "2090:15:63" 'BI: EPOS STOP cam activation Parameters(2582, 0) = "2090:14:63" 'BI: EPOS software limit switch activation Parameters(2589, 0) = "2090:8:63" 'BI: EPOS jogging 1 signal source Parameters(2590, 0) = "2090:9:63" 'BI: EPOS jogging 2 signal source Parameters(2591, 0) = "2090:12:63" 'BI: EPOS jogging incremental Parameters(2640, 0) = "2090:4:63" 'BI: EPOS intermediate stop (0 signal) Parameters(2641, 0) = "2090:5:63" 'BI: EPOS reject traversing task (0 signal) Parameters(1140, 0) = "2090:4:63" 'BI: Enables the ramp-function generator Parameters(1141, 0) = "2090:5:63" 'BI: Start ramp-function generator ' r2050[1] PROFIBUS SEND Word 2 PZD BICO ' p2091 Parameters(2510, 0) = "2091:4:63" 'BI: LR selecting measuring probe evaluation Parameters(2511, 0) = "2091:5:63" 'BI: LR measuring probe evaluation edge Parameters(2595, 0) = "2091:0:63" 'BI: EPOS referencing start Parameters(2596, 0) = "2091:1:63" 'BI: EPOS set reference point Parameters(2597, 0) = "2091:2:63" 'BI: EPOS referencing type selection Parameters(2604, 0) = "2091:3:63" 'BI: EPOS search for reference, start direction Parameters(2647, 0) = "2091:8:63" 'BI: EPOS direct setpoint input/MDI selection Parameters(2648, 0) = "2091:10:63" 'BI: EPOS direct setpoint input/MDI positioning type Parameters(2649, 0) = "2091:14:63" 'BI: EPOS direct setpoint input/MDI transfer type selection Parameters(2650, 0) = "2091:13:63" 'BI: EPOS direct setpoint input/MDI setpoint transfer edge Parameters(2651, 0) = "2091:11:63" 'BI: EPOS direct setpoint input/MDI direction selection, positive Parameters(2652, 0) = "2091:12:63" 'BI: EPOS direct setpoint input/MDI direction selection, negative Parameters(2653, 0) = "2091:9:63" 'BI: EPOS direct setpoint input/MDI setting-up selection ' r2050[2] PROFIBUS SEND Word 3 PZD BICO ' p2092 Parameters(2625, 0) = "2092:1:63" 'BI: EPOS block selection, bit 0 Parameters(2626, 0) = "2092:2:63" 'BI: EPOS block selection, bit 1 Parameters(2627, 0) = "2092:3:63" 'BI: EPOS block selection, bit 2 Parameters(2628, 0) = "2092:4:63" 'BI: EPOS block selection, bit 3 Parameters(2629, 0) = "2092:5:63" 'BI: EPOS block selection, bit 4 Parameters(2630, 0) = "2092:6:63" 'BI: EPOS block selection, bit 5 Parameters(2631, 0) = "2092:0:63" 'BI: EPOS activate traversing task (0 -> 1) ' r2050[6] PROFIBUS SEND Word 6 PZD WORD Parameters(2644, 0) = "2050:6:63" 'CI: EPOS direct setpoint input/MDI acceleration override Parameters(2645, 0) = "2050:7:63" 'CI: EPOS direct setpoint input/MDI deceleration override Parameters(2646, 0) = "2050:3:63" 'CI: EPOS velocity override ' r2060[4] PROFIBUS SEND Word 4 PZD DWORD Parameters(2642, 0) = "2060:4:63" 'CI: EPOS direct setpoint input/MDI position setpoint ' Configure Profibus Receive TELEGRAM ' p2080 Parameters(2080, 0) = "899:0:63" 'VECTOR_02 : r899.0 Ready to power up Parameters(2080, 1) = "899:1:63" 'VECTOR_02 : r899.1 Ready Parameters(2080, 2) = "899:2:63" 'VECTOR_02 : r899.2 Operation enabled Parameters(2080, 3) = "2139:3:63" 'VECTOR_02 : r2139.3 Fault present Parameters(2080, 4) = "899:4:63" 'VECTOR_02 : r899.4 No coasting active Parameters(2080, 5) = "899:5:63" 'VECTOR_02 : r899.5 No fast stop active Parameters(2080, 6) = "899:6:63" 'VECTOR_02 : r899.6 Power-on inhibit active Parameters(2080, 7) = "2139:7:63" 'VECTOR_02 : r2139.7 Alarm present Parameters(2080, 8) = "2199:0:63" 'PROFIBUS send status word 1, Bit 8 Parameters(2080, 9) = "899:9:63" 'PROFIBUS send status word 1, Bit 9 Parameters(2080, 10) = "2094:0:63" 'PROFIBUS send status word 1, Bit 10 Parameters(2080, 11) = "2094:1:63" 'PROFIBUS send status word 1, Bit 11 Parameters(2080, 12) = "2094:2:63" 'PROFIBUS send status word 1, Bit 12 Parameters(2080, 13) = "2094:3:63" 'PROFIBUS send status word 1, Bit 13 Parameters(2080, 14) = "2094:4:63" 'PROFIBUS send status word 1, Bit 14 Parameters(2080, 15) = "2684:1:63" 'PROFIBUS send status word 1, Bit 15 ' Parameters(2081, 0) = "2684:11:63" 'VECTOR_02 : r2684.11 Reference point set Parameters(2081, 1) = "2684:15:63" 'VECTOR_02 : r2684.15 Travel command active Parameters(2081, 2) = "2684:10:63" 'VECTOR_02 : r2684.10 Target position reached Parameters(2081, 3) = "2684:8:63" 'VECTOR_02 : r2684.8 Follow err in tol Parameters(2081, 4) = "2683:6:63" 'VECTOR_02 : r2683.6 Software limit switch minus reached Parameters(2081, 5) = "2683:7:63" 'VECTOR_02 : r2683.7 Software limit switch plus reached Parameters(2081, 6) = "2684:13:63" 'VECTOR_02 : r2684.13 STOP cam minus active Parameters(2081, 7) = "2684:14:63" 'VECTOR_02 : r2684.14 STOP cam plus active Parameters(2081, 8) = "2684:12:63" 'VECTOR_02 : r2684.12 Acknowledgment, traversing block activated Parameters(2081, 9) = "2683:2:63" 'VECTOR_02 : r2683.2 Setpoint available Parameters(2081, 10) = "2683:4:63" 'VECTOR_02 : r2683.4 Axis moves forwards Parameters(2081, 11) = "2683:5:63" 'VECTOR_02 : r2683.5 Axis moves backwards Parameters(2081, 12) = "2684:4:63" 'VECTOR_02 : r2684.4 Axis accelerating Parameters(2081, 13) = "2684:5:63" 'VECTOR_02 : r2684.5 Axis decelerating Parameters(2081, 14) = "2684:3:63" 'VECTOR_02 : r2684.3 Printing mark outside outer window Parameters(2081, 15) = "2683:1:63" 'VECTOR_02 : r2683.1 Velocity limiting active ' Parameters(2082, 0) = "2670:0:63" 'VECTOR_02 : r2670.0 Active traversing block, bit 0 Parameters(2082, 1) = "2670:1:63" 'PROFIBUS send free status word 3, Bit 1 Parameters(2082, 2) = "2670:2:63" 'PROFIBUS send free status word 3, Bit 2 Parameters(2082, 3) = "2670:3:63" 'PROFIBUS send free status word 3, Bit 3 Parameters(2082, 4) = "2670:4:63" 'PROFIBUS send free status word 3, Bit 4 Parameters(2082, 5) = "2670:5:63" 'VECTOR_02 : r2670.5 Active traversing block, bit 5 Parameters(2082, 6) = "2683:10:63" 'VECTOR_02 : r2683.10 Direct output 1 via traversing block Parameters(2082, 7) = "2683:11:63" 'VECTOR_02 : r2683.11 Direct output 2 via traversing block Parameters(2082, 8) = "2684:15:63" 'VECTOR_02 : r2684.15 Travel command active Parameters(2082, 9) = "2684:10:63" 'PROFIBUS send free status word 3, Bit 9 Parameters(2082, 10) = "2684:11:63" 'PROFIBUS send free status word 3, Bit 10 Parameters(2082, 11) = "2684:11:63" 'PROFIBUS send free status word 3, Bit 11 Parameters(2082, 12) = "2684:3:63" 'PROFIBUS send free status word 3, Bit 12 Parameters(2082, 13) = "2683:0:63" 'PROFIBUS send free status word 3, Bit 13 Parameters(2082, 14) = "2683:8:63" 'PROFIBUS send free status word 3, Bit 14 Parameters(2082, 15) = "2683:9:63" 'PROFIBUS send free status word 3, Bit 15 ' Parameters(2061, 0) = "0" 'PROFIBUS PZD send double word, PZD 1 + 2 Parameters(2061, 1) = "0" 'PROFIBUS PZD send double word, PZD 2 + 3 Parameters(2061, 2) = "0" 'PROFIBUS PZD send double word, PZD 3 + 4 Parameters(2061, 3) = "63:0:63" 'PROFIBUS PZD send double word, PZD 4 + 5 Parameters(2061, 4) = "0" 'PROFIBUS PZD send double word, PZD 5 + 6 Parameters(1142, 0) = "0" Parameters(2061, 5) = "2521:0:63" 'PROFIBUS PZD send double word, PZD 6 + 7 Parameters(2061, 6) = "0" 'PROFIBUS PZD send double word, PZD 7 + 8 Parameters(2061, 7) = "0" 'PROFIBUS PZD send double word, PZD 8 + 9 Parameters(2061, 8) = "0" 'PROFIBUS PZD send double word, PZD 9 +10 Parameters(2061, 9) = "0" 'PROFIBUS PZD send double word, PZD 10 + 11 Parameters(2061, 10) = "0" 'PROFIBUS PZD send double word, PZD 11 + 12 Parameters(2061, 11) = "0" 'PROFIBUS PZD send double word, PZD 12 + 13 Parameters(2061, 12) = "0" 'PROFIBUS PZD send double word, PZD 13 + 14 Parameters(2061, 13) = "0" 'PROFIBUS PZD send double word, PZD 14 + 15 Parameters(2061, 14) = "0" 'PROFIBUS PZD send double word, PZD 15 + 16 ' ' Parameters(2051, 0) = "2089:0:63" 'PROFIBUS PZD send word, PZD 1 Parameters(2051, 1) = "2089:1:63" 'PROFIBUS PZD send word, PZD 2 Parameters(2051, 2) = "2089:2:63" 'PROFIBUS PZD send word, PZD 3 Parameters(2051, 3) = "0" 'PROFIBUS PZD send word, PZD 4 Parameters(2051, 4) = "0" 'PROFIBUS PZD send word, PZD 5 Parameters(2051, 5) = "0" 'PROFIBUS PZD send word, PZD 6 Parameters(2051, 6) = "0" 'PROFIBUS PZD send word, PZD 7 Parameters(2051, 7) = "2132:0:63" 'PROFIBUS PZD send word, PZD 8 Parameters(2051, 8) = "2131:0:63" 'PROFIBUS PZD send word, PZD 9 Parameters(2051, 9) = "0" 'PROFIBUS PZD send word, PZD 10 Parameters(2051, 10) = "0" 'PROFIBUS PZD send word, PZD 11 Parameters(2051, 11) = "0" 'PROFIBUS PZD send word, PZD 12 Parameters(2051, 12) = "0" 'PROFIBUS PZD send word, PZD 13 Parameters(2051, 13) = "0" 'PROFIBUS PZD send word, PZD 14 Parameters(2051, 14) = "0" 'PROFIBUS PZD send word, PZD 15 Parameters(2051, 15) = "0" 'PROFIBUS PZD send word, PZD 16 Parameters(2051, 16) = "0" 'PROFIBUS PZD send word, PZD 17 ' 'Parameters(495, 0) = 3 'Equivalent zero mark, input terminal, Encoder 1 ' Parameters(2609, 0) = 1000000 'EPOS search for reference, max. distance ref. cam and zero mark ' Parameters(1800, 0) = 16.00 'Pulse frequency ' Parameters(2691, 0) = 100000 'CO: EPOS velocity fixed setpoint ' Parameters(2546, 0) = 10000000 'LR dynamic following error monitoring tolerance ' Parameters(2542, 0) = 2000 'LR standstill window ' Parameters(2538, 0) = 3.500 'LR proportional gain