// READ SLOT PARAMETER COMMANDS
read_param_1 (read_M15_P0_ANY, M15_P0_ANY) 
read_param_1 (read_M15_P1_ANY, M15_P1_ANY) 
read_param_1 (read_M15_P2_PROFIBUS, M15_P2_PROFIBUS) 
read_param_1 (read_M15_P3_PROFIBUS, M15_P3_PROFIBUS) 
read_param_1 (read_M15_P4_PROFIBUS, M15_P4_PROFIBUS) 
read_param_1 (read_M15_P5_PROFIBUS, M15_P5_PROFIBUS) 
read_param_1 (read_M15_P6_PROFIBUS, M15_P6_PROFIBUS) 
read_param_1 (read_M15_P7_PROFIBUS, M15_P7_PROFIBUS) 
read_param_1 (read_M15_P8_PROFIBUS, M15_P8_PROFIBUS) 
read_param_1 (read_M15_P9_PROFIBUS, M15_P9_PROFIBUS) 
read_param_1 (read_M15_P10_PROFIBUS, M15_P10_PROFIBUS) 
read_param_1 (read_M15_P11_PROFIBUS, M15_P11_PROFIBUS) 
read_param_1 (read_M15_P12_PROFIBUS, M15_P12_PROFIBUS) 
read_param_1 (read_M15_P13_PROFIBUS, M15_P13_PROFIBUS) 
read_param_1 (read_M15_P14_PROFIBUS, M15_P14_PROFIBUS) 
read_param_1 (read_M15_P15_PROFIBUS, M15_P15_PROFIBUS) 
read_param_1 (read_M15_P16_PROFIBUS, M15_P16_PROFIBUS) 
read_param_1 (read_M15_P17_PROFIBUS, M15_P17_PROFIBUS) 
read_param_1 (read_M15_P18_PROFIBUS, M15_P18_PROFIBUS) 
read_param_1 (read_M15_P19_PROFIBUS, M15_P19_PROFIBUS) 
read_param_1 (read_M15_P20_PROFIBUS, M15_P20_PROFIBUS) 
read_param_1 (read_M15_P21_PROFIBUS, M15_P21_PROFIBUS) 
read_param_1 (read_M15_P22_PROFIBUS, M15_P22_PROFIBUS) 
read_param_1 (read_M15_P23_PROFIBUS, M15_P23_PROFIBUS) 
read_param_1 (read_M15_P24_PROFIBUS, M15_P24_PROFIBUS) 
read_param_1 (read_M15_P25_PROFIBUS, M15_P25_PROFIBUS) 
read_param_1 (read_M15_P26_PROFIBUS, M15_P26_PROFIBUS) 
read_param_1 (read_M15_P27_PROFIBUS, M15_P27_PROFIBUS) 
read_param_1 (read_M15_P28_PROFIBUS, M15_P28_PROFIBUS) 
read_param_1 (read_M15_P29_PROFIBUS, M15_P29_PROFIBUS) 
read_param_1 (read_M15_P30_PROFIBUS, M15_P30_PROFIBUS) 
read_param_1 (read_M15_P31_PROFIBUS, M15_P31_PROFIBUS) 
read_param_1 (read_M15_P32_PROFIBUS, M15_P32_PROFIBUS) 
read_param_1 (read_M15_P33_PROFIBUS, M15_P33_PROFIBUS) 
read_param_1 (read_M15_P34_PROFIBUS, M15_P34_PROFIBUS) 
read_param_1 (read_M15_P35_PROFIBUS, M15_P35_PROFIBUS) 
read_param_1 (read_M15_P38_PROFIBUS, M15_P38_PROFIBUS) 
read_param_1 (read_M15_P39_PROFIBUS, M15_P39_PROFIBUS) 
read_param_1 (read_M15_P40_PROFIBUS, M15_P40_PROFIBUS) 
read_param_1 (read_M15_P41_PROFIBUS, M15_P41_PROFIBUS) 
read_param_1 (read_M15_P49_PROFIBUS, M15_P49_PROFIBUS) 
read_param_1 (read_M15_P50_ANY, M15_P50_ANY) 
read_param_1 (read_M15_P51_PROFIBUS, M15_P51_PROFIBUS) 


// WRITE SLOT PARAMETER COMMANDS
write_param_1 (write_M15_P0_ANY, 0x2C, 0xEC, WORD, M15_P0_ANY) 
write_param_1 (write_M15_P1_ANY, 0x2C, 0xED, WORD, M15_P1_ANY) 
write_param_1 (write_M15_P2_PROFIBUS, 0x2C, 0xEE, WORD, M15_P2_PROFIBUS) 
write_param_1 (write_M15_P3_PROFIBUS, 0x2C, 0xEF, WORD, M15_P3_PROFIBUS) 
write_param_1 (write_M15_P4_PROFIBUS, 0x2C, 0xF0, WORD, M15_P4_PROFIBUS) 
write_param_1 (write_M15_P5_PROFIBUS, 0x2C, 0xF1, WORD, M15_P5_PROFIBUS) 
write_param_1 (write_M15_P6_PROFIBUS, 0x2C, 0xF2, WORD, M15_P6_PROFIBUS) 
write_param_1 (write_M15_P7_PROFIBUS, 0x2C, 0xF3, WORD, M15_P7_PROFIBUS) 
write_param_1 (write_M15_P8_PROFIBUS, 0x2C, 0xF4, WORD, M15_P8_PROFIBUS) 
write_param_1 (write_M15_P9_PROFIBUS, 0x2C, 0xF5, WORD, M15_P9_PROFIBUS) 
write_param_1 (write_M15_P10_PROFIBUS, 0x2C, 0xF6, WORD, M15_P10_PROFIBUS) 
write_param_1 (write_M15_P11_PROFIBUS, 0x2C, 0xF7, WORD, M15_P11_PROFIBUS) 
write_param_1 (write_M15_P12_PROFIBUS, 0x2C, 0xF8, WORD, M15_P12_PROFIBUS) 
write_param_1 (write_M15_P13_PROFIBUS, 0x2C, 0xF9, WORD, M15_P13_PROFIBUS) 
write_param_1 (write_M15_P14_PROFIBUS, 0x2C, 0xFA, WORD, M15_P14_PROFIBUS) 
write_param_1 (write_M15_P15_PROFIBUS, 0x2C, 0xFB, WORD, M15_P15_PROFIBUS) 
write_param_1 (write_M15_P16_PROFIBUS, 0x2C, 0xFC, WORD, M15_P16_PROFIBUS) 
write_param_1 (write_M15_P17_PROFIBUS, 0x2C, 0xFD, WORD, M15_P17_PROFIBUS) 
write_param_1 (write_M15_P18_PROFIBUS, 0x2C, 0xFE, WORD, M15_P18_PROFIBUS) 
write_param_1 (write_M15_P19_PROFIBUS, 0x2C, 0xFF, WORD, M15_P19_PROFIBUS) 
write_param_1 (write_M15_P20_PROFIBUS, 0x2D, 0x00, WORD, M15_P20_PROFIBUS) 
write_param_1 (write_M15_P21_PROFIBUS, 0x2D, 0x01, WORD, M15_P21_PROFIBUS) 
write_param_1 (write_M15_P22_PROFIBUS, 0x2D, 0x02, WORD, M15_P22_PROFIBUS) 
write_param_1 (write_M15_P23_PROFIBUS, 0x2D, 0x03, WORD, M15_P23_PROFIBUS) 
write_param_1 (write_M15_P24_PROFIBUS, 0x2D, 0x04, WORD, M15_P24_PROFIBUS) 
write_param_1 (write_M15_P25_PROFIBUS, 0x2D, 0x05, WORD, M15_P25_PROFIBUS) 
write_param_1 (write_M15_P26_PROFIBUS, 0x2D, 0x06, WORD, M15_P26_PROFIBUS) 
write_param_1 (write_M15_P27_PROFIBUS, 0x2D, 0x07, WORD, M15_P27_PROFIBUS) 
write_param_1 (write_M15_P28_PROFIBUS, 0x2D, 0x08, WORD, M15_P28_PROFIBUS) 
write_param_1 (write_M15_P29_PROFIBUS, 0x2D, 0x09, WORD, M15_P29_PROFIBUS) 
write_param_1 (write_M15_P30_PROFIBUS, 0x2D, 0x0A, WORD, M15_P30_PROFIBUS) 
write_param_1 (write_M15_P31_PROFIBUS, 0x2D, 0x0B, WORD, M15_P31_PROFIBUS) 
write_param_1 (write_M15_P32_PROFIBUS, 0x2D, 0x0C, WORD, M15_P32_PROFIBUS) 
write_param_1 (write_M15_P33_PROFIBUS, 0x2D, 0x0D, WORD, M15_P33_PROFIBUS) 
write_param_1 (write_M15_P34_PROFIBUS, 0x2D, 0x0E, WORD, M15_P34_PROFIBUS) 
write_param_1 (write_M15_P35_PROFIBUS, 0x2D, 0x0F, DWORD, M15_P35_PROFIBUS) 
write_param_1 (write_M15_P38_PROFIBUS, 0x2D, 0x12, WORD, M15_P38_PROFIBUS) 
write_param_1 (write_M15_P39_PROFIBUS, 0x2D, 0x13, WORD, M15_P39_PROFIBUS) 
write_param_1 (write_M15_P40_PROFIBUS, 0x2D, 0x14, WORD, M15_P40_PROFIBUS) 
write_param_1 (write_M15_P41_PROFIBUS, 0x2D, 0x15, WORD, M15_P41_PROFIBUS) 
write_param_1 (write_M15_P49_PROFIBUS, 0x2D, 0x1D, WORD, M15_P49_PROFIBUS) 
write_param_1 (write_M15_P50_ANY, 0x2D, 0x1E, WORD, M15_P50_ANY) 
write_param_1 (write_M15_P51_PROFIBUS, 0x2D, 0x1F, WORD, M15_P51_PROFIBUS) 

