[$group] 元件库-执行器.$pname$ [$min_need_ver] 1.23 [$name] duoji_ctrl_set [$shared_func_In_main_c] [$cs] inset_$rnd_varname_pre$=[($_xgm$datjiaodu),type=num]; if(inset_$rnd_varname_pre$<=0){ inset_$rnd_varname_pre$=0; } if(inset_$rnd_varname_pre$>=90){ inset_$rnd_varname_pre$=90; } pul_width_10us_$rnd_varname_pre$= (u8)( (((float)inset_$rnd_varname_pre$-45.00)/90.00)*100.00 + 150.00)/2;//中位45度时 约为1.5ms(150*10us=1.5ms),0度时约为1ms(100*10us=1.0ms),90度时约为2.0ms (200*10us=2ms) pwn_t2_$rnd_varname_pre$=200 - 2*(u8)(pul_width_10us_$rnd_varname_pre$/10 );//2000*10us=20ms, [$toolbox_block_code] [$last_ver_update_time] 2022/12/10 0:07:26 [$code_area_type] codes,exe_per_1ms,init_code [$blocks_type] line [$replace_map] $_xgm$dev_no_to_use = $field$dev_no_to_use,mytype|num, ptype|TIMES $_xgm$datjiaodu = $value$datjiaodu,mytype|num, ptype|TIMES