SetOpMode()

Defines the current OpMode of the temperature control.
- OpMode None (0)
- Temperature control does not accept commands
- OpMode Simple (1)
- Zones can be enabled and disabled via TmpCtrlHmi.Group[].Enable
- OpMode Standard (2)
- Zones are controlled via TempCtrlHmi.Groups[].OpModeActive
- Zones support standby via TempCtrlHmi.Groups[].OpModeStandby
Syntax:
METHOD SetOpMode : HRESULT
VAR_INPUT
OpMode: INT;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
OpMode | INT | Selection parameters: 0 – None, 1 – Simple, 2 - Standard |
Outputs
Name | Type | Description |
---|---|---|
SetOpMode | HRESULT | Return value with feedback on the success of the execution |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.35 | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v3.12.5.0) |