43
09/08 AWB2724-1614en
Appendix
Programming for example
An application example for the control configuration from
figure 18.
PROGRAM PLC_PRG
VAR
byEC4E_DigitalInputs AT %IB10 : USINT;
byEC4E_DigitalOutputs AT %QB1 : USINT;
byEC4E_StatusMainModule AT %IB11 : USINT;
byEC4E_StatusDigitalExtension AT %IB12 : USINT;
byEC4E_StatusAnalogueExtension AT %IB13 : USINT;
END_VAR
(*6 digital inputs of EC4E*)
byEC4E_DigitalInputs.0;
byEC4E_DigitalInputs.1;
byEC4E_DigitalInputs.2;
byEC4E_DigitalInputs.3;
byEC4E_DigitalInputs.4;
byEC4E_DigitalInputs.5;
(*4 digital outputs of EC4E*)
byEC4E_DigitalOutputs.0;
byEC4E_DigitalOutputs.1;
byEC4E_DigitalOutputs.2;
byEC4E_DigitalOutputs.3;
(*2 bits: status main module*)
byEC4E_StatusMainModule.0;
byEC4E_StatusMainModule.1;
Содержание EC4E-221-6D4T1
Страница 16: ...12 09 08 AWB2724 1614en...
Страница 27: ...Expansion 23 09 08 AWB2724 1614en Figure 13 Fitting 1 and 2 and removing 3 and 4 am expansion unit 1 3 4 2...
Страница 28: ...24 09 08 AWB2724 1614en...
Страница 44: ...40 09 08 AWB2724 1614en...