F_CXNaviSwitchUSB

F_CXNaviSwitchUSB 1:

The function F_CXNaviSwitchUSB converts the value of the CX2100 navigation switch or an EL6090 into an enum value of type E_CX2100_NaviSwitch.

FUNCTION F_CXNaviSwitchUSB: E_CX2100_NaviSwitch

VAR_INPUT
    icx2100_IN : USINT;
END_VAR

icx2100_IN: Value of the CX2100 input 'IN‘

Requirements when using the CX2100

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1

CX (WES7/Win10: TC RT x86/x64, WEC6/7: TC RT x86, TC/BSD: TC RT x64)

Tc2_SystemCX

Requirements when using the EL6090

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1

PC or CX (WES7/Win10: TC RT x86/x64, WEC6/7: TC RT x86, WEC7: TC CE7 ARMV7, TC/BSD: TC RT x64, TC OS Arm®T2)

Tc2_SystemCX