F_CX81xx_ADDRESS
This function reads the position of the address selection switch of the CXxxxx. One possible application is that you can activate different program parts in the PLC depending on the switch position.
This function reads the position of the DIP switch of the CXxxxx. One possible application is that you can activate different program parts in the PLC depending on the switch position.
VAR_INPUT
VAR_INPUT
iCX_Typ : INT; (* Use product code without ‘CX’ e.g.: CX8180 -> 8180 *)
END_VAR
VAR_OUTPUT
F_CX80xx_ADDRESS : INT;
F_CX80xx_ADDRESS : -1, non-implemented CX, address of the switch
Requirements
Development environment | Target platform | Hardware | PLC libraries to include |
---|---|---|---|
TwinCAT v3.1 Build 4022.30 | ARM | CXxxxx | Tc2_SystemCX |