#include "global.h" void OutputPinConfig(void); void InputPinConfig(void); byte_bits_t io_inputs_M_old[(INPUT_NUMBER + 7) >> 3]; //IO输入配置 void InputPinConfig(void) { unsigned short ch; memcpy(io_inputs_M_old,&middle_coils[(384 + 7) >> 3],(INPUT_NUMBER+7)>>3); for(ch=0; ch>3); for(ch=START_ADDR_OUTPUT; ch