User manual

IEC61131 User and Reference Manual
April 22, 2008
349
setpmode
Set controller power mode
Description
The setpmode function provides control over the power consumption of the controller. The
LAN port and USB host port can be individually disabled to conserve power. The controller
processor can also run at reduced speed to conserve power.
The state of the LAN input enables or disables the LAN port. The power input selects the
power mode for the controller.
Note: This function block is used by the SCADAPack 330, SCADAPack 350 and
SCADASense 4203 controller only.
set
LAN
power
setpmode
Q
USBHo
Arguments
Inputs
Type
Description
set
Boolean
Sets the power mode settings for the
controller when TRUE. Set this input to
FALSE once the power mode settings have
been set.
LAN
Boolean
LAN Operating State
FALSE = LAN Disabled
TRUE = LAN Enabled
power
Integer
Controller Power Mode
0 = Reduced Power Mode
1 = Normal Power Mode
USBHo
Boolean
FALSE = USB host port disabled
TRUE = USB host port enabled
Outputs
Type
Description
Q
Boolean
TRUE if set input is TRUE and inputs are valid.
FALSE in all other cases.
Notes
Refer to the SCADAPack 350 Hardware Manual for further details on power consumption
during various power modes. Please see the sleep function to place the SCADAPack 350 in
sleep mode.
See Also
getpmode, sleep