Class CompModeD2Fo
Version 1.0
Modified 05-DEC-2005 11:35:29.77
Code PlcTemplate
 Plc function object to CompModeD2.


 Connect the function object to an object of class CompModeD2.

See also



RtBody attributes pwr_sClass_CompModeD2Fo
Boolean ExtControl eco Input to control Auto/Man mode when the configuration attribute OpExtAndIntMan
is set. If ExtControl is 1, mode is set to auto, and if ExtControl is 0, mode
is set to Man.
Boolean ExtIncr ein Input to control the increment order output in Auto mode.
Boolean ExtDecr ede Input to control the decrement order output in Auto mode.
Boolean LocalMode loc Input to set Local mode.
Normally connected to a switch on a local panel.
Boolean LocalIncr lin Input to control the increment order output in local mode.
Normally connected to a button on a local panel.
Boolean LocalDecr lde Input to control the decrement order output in local mode.
Normally connected to a button on a local panel.
Boolean Ready rdy Input that will interlock the order output if not true.
Furthermore the mode is forced to Man, if not OpNoAutoToMan is configured.
Boolean FeedbackIncr fbi Input for increment feedback from the unit, normally contactor feedback.
The Incr indicator in the object graph is green when feedback i received.
Boolean FeedbackDecr fbd Input for decrement feedback from the unit, normally contactor feedback.
The Decr indicator in the object graph is green when feedback i received.
Boolean LimitSwitchIncr sin Input for increment limit switch.
When the limit switch is reached, OrderIncr is reset.
Boolean LimitSwitchDecr sde Input for decrement limit switch.
When the limit switch is reached, OrderDecr is reset.
Boolean ForceMan fm Input to force switch to manual mode.
Can not be used when the mode is controlled externally, i.e. when
OpExtOnly or OpExtAndIntMan is configured.
AttrRef PlcConnect   The main object connected to this function object.
Boolean OrderIncr oin The increment order output.
Boolean OrderDecr ode The decrement order output.
Boolean AutoMode aut Mode output. True when mode is Auto, false when mode is Man.
Boolean Error err Output is set when limit switch timeout occurs, i.e. the
OrderTimeLimit is reached.
If local mode is used and the inputs LocalDecr and LocalIncr are activated,
the error output should be used reset local order request to prevent unwanted
restarts.

DevBody attributes 
pwrs:Class-$PlcNode PlcNode  


GraphPlcNode
object_type 11
parameters[0] 12
parameters[1] 1
parameters[2] 4
parameters[3] 0
subwindows 1
subwindow_class[0] pwrb:Class-WindowPlc
graphmethod 0 (standard, individual attributes)
graphindex 0
default_mask[0] 2047
default_mask[1] 15
segname_annotation 1
compmethod 58
compindex 0
tracemethod 0
traceindex 0
connectmethod 10
executeordermethod 2
objname CompModeD2Fo
graphname CompModeD2Fo


Template Object


Attributes detail


ExtControl Input
Class Input
Type Boolean
Flags Noinvert
GraphName eco
Body RtBody
 Input to control Auto/Man mode when the configuration attribute OpExtAndIntMan
 is set. If ExtControl is 1, mode is set to auto, and if ExtControl is 0, mode
 is set to Man.

ExtIncr Input
Class Input
Type Boolean
Flags Noinvert
GraphName ein
Body RtBody
 Input to control the increment order output in Auto mode.

ExtDecr Input
Class Input
Type Boolean
Flags Noinvert
GraphName ede
Body RtBody
 Input to control the decrement order output in Auto mode.

LocalMode Input
Class Input
Type Boolean
Flags Noinvert
GraphName loc
Body RtBody
 Input to set Local mode.
 Normally connected to a switch on a local panel.

LocalIncr Input
Class Input
Type Boolean
Flags Noinvert
GraphName lin
Body RtBody
 Input to control the increment order output in local mode.
 Normally connected to a button on a local panel.

LocalDecr Input
Class Input
Type Boolean
Flags Noinvert
GraphName lde
Body RtBody
 Input to control the decrement order output in local mode.
 Normally connected to a button on a local panel.

Ready Input
Class Input
Type Boolean
Flags Noinvert
GraphName rdy
Body RtBody
 Input that will interlock the order output if not true.
 Furthermore the mode is forced to Man, if not OpNoAutoToMan is configured.

FeedbackIncr Input
Class Input
Type Boolean
Flags Noinvert
GraphName fbi
Body RtBody
 Input for increment feedback from the unit, normally contactor feedback.
 The Incr indicator in the object graph is green when feedback i received.

FeedbackDecr Input
Class Input
Type Boolean
Flags Noinvert
GraphName fbd
Body RtBody
 Input for decrement feedback from the unit, normally contactor feedback.
 The Decr indicator in the object graph is green when feedback i received.

LimitSwitchIncr Input
Class Input
Type Boolean
Flags Noinvert
GraphName sin
Body RtBody
 Input for increment limit switch.
 When the limit switch is reached, OrderIncr is reset.

LimitSwitchDecr Input
Class Input
Type Boolean
Flags Noinvert
GraphName sde
Body RtBody
 Input for decrement limit switch.
 When the limit switch is reached, OrderDecr is reset.

ForceMan Input
Class Input
Type Boolean
Flags Noinvert
GraphName fm
Body RtBody
 Input to force switch to manual mode.
 Can not be used when the mode is controlled externally, i.e. when
 OpExtOnly or OpExtAndIntMan is configured.

PlcConnect Intern
Class Intern
Type AttrRef
Flags
Body RtBody
 The main object connected to this object.
 This attribute is set when the function object is connected from
 the plc editor by the connect function.

OrderIncr Output
Class Output
Type Boolean
Flags ReduTransfer|Noedit|Noinvert
GraphName oin
Body RtBody
 The increment order output.

OrderDecr Output
Class Output
Type Boolean
Flags ReduTransfer|Noedit|Noinvert
GraphName ode
Body RtBody
 The decrement order output.

AutoMode Output
Class Output
Type Boolean
Flags ReduTransfer|Noedit|Noinvert
GraphName aut
Body RtBody
 Mode output. True when mode is Auto, false when mode is Man.

Error Output
Class Output
Type Boolean
Flags ReduTransfer|Noedit
GraphName err
Body RtBody
 Output is set when limit switch timeout occurs, i.e. the
 OrderTimeLimit is reached.
 If local mode is used and the inputs LocalDecr and LocalIncr are activated,
 the error output should be used reset local order request to prevent unwanted
 restarts.

PlcNode Buffer
Class Buffer
Type pwrs:Class-$PlcNode
Flags
Body DevBody