CODESYS Development System
运算可能导致未声明的值被分配给枚举组件。更好的编程风格是使用 SWITCH / CASE 用于处理组件值的语句。 枚举
MC_DigitalCamSwitch [...] _BLOCK MC_DigitalCamSwitch [...] output bits to switch
SMC3_CAN_CMZ_SD_PrepareModeSwitch [...] _BLOCK SMC3_CAN_CMZ_SD_PrepareModeSwitch [...] this case, the
SMC3_CAN_CMZ_SD_PrepareModeSwitch [...] _BLOCK SMC3_CAN_CMZ_SD_PrepareModeSwitch [...] this case, the
SMC3_CAN_KEB_SD_PrepareModeSwitch [...] _BLOCK SMC3_CAN_KEB_SD_PrepareModeSwitch [...] this case, the
SMC3_CAN_KEB_SD_PrepareModeSwitch [...] _BLOCK SMC3_CAN_KEB_SD_PrepareModeSwitch [...] this case, the
element RotarySwitch [...] switch element Image [...] switcher element DipSwitch
(in such a case [...] adaptation effort in case [...] : Here in case of
case that several [...] ” statement before using an [...] ” statement of the assigned
4 Define the use of case [...] variable No SA0074 CASE statement Yes See: SA