Class BaseMotorIncrDecrAggr
Version 1.0
Modified 05-DEC-2005 10:08:32.94
 Motor aggregate with circuitbreaker, forward/reverse contactors and/or
 safetyswitch.

 The object handles several modes and configurations. The controlled
 unit can be handled locally or remotely.

 - Local mode    The unit is controlled from a local panel close to the drive.

 - Remote mode   The unit is controlled from the control system, either by
                 the operator from the object graph, or by PLC program.

 The local mode has higher prioriy than the remote.

 The mode handling also contains an extern and intern mode.

 - Intern mode   The unit is handled by the built-in Auto/Man function,
                 basically from the Auto/Man buttons in the object graph.

 - Extern mode   The built-in Auto/Man function is not used. Auto/Man is
                 handled from the plc program and other graphs.

 Which of these modes that are present depends on the configuration.

 Modes that can be configured

 - Intern          Auto/Manual mode is controlled from buttons in the
                   object graph. This is the default configuration.
 - Extern          Auto/Manual mode is controlled from the PLC program.
                   The Auto/Man buttons are removed from the object graph
                   but the Start/Stop buttons are still present.
                   Set attribute OpIntOnly to 1.
 - Extern only     Auto/Manual mode is controlled from the PLC program.
                   No Auto/Man or Start/Stop  buttons are present in the
                   object graph. Set attribute OpExtOnly to 1.
 - Intern only     Only manual mode is present, and the Auto/Man buttons
                   are removed. Set OpIntOnly to 1.
 - Local           When the local panel is activated, and the Start/Stop
                   buttons of the local panel is used. To disable this
                   mode, set OpNoLocal to 1.

 The buttons for increment and decrement in the object graph can be configure to show
 Incr/Decr, Up/Down, Forw/Back or Open/Close.

Graphical Symbol
 The graphical symbol for this object is BaseComponent/MotorIncrDecrAggr.
 Default dynamics:
 - the motor symbol is filled with the original color when the motor is
   on.
 - colored gray when the motor is off.
 - colored red when an error occurs.
 - colored yellow when a warning occurs.
 - indicating the current mode:
   M:  Manual mode.
   L: Local mode, mode is set to auto when local is left.
   LM: Local mode, mode is set to manual when local is left.
   No indication: auto mode.

 Default action:
 - the methods menu is opened with MB3.

Object Graph

 Indicators:
 - the Ready indicator is green when the motor is started.
 - the Interlock indicator is red when the motor is interlocked, and
   the object symbol is colored yellow.
 - the Incr/Decr indicators are green when the drive is active.
 - the Limit switch indicators shows the status of the limit switches.
 - the Local mode indicator is yellow when local mode is active, and the
   Start/Stop buttons are dimmed.
 - the Extern indicator is visible when the Auto/Man selection isn't
   made from the object graph, but from the plc function object.
 - the object symbol and motor indicator is colored green when the motor
   is started.
 - the Contactor Incr/Decr indicator is green when the contactor is energized.
 - the SafetySwitch indicator is green when the safetyswith is on, and
   yellow when off.
 - other indicators are normally green and colored red at fault condition.

 The field Starts shows the number of times the motor is started, and Run
 the run time of the motor.

 From the Auto/Man pushbuttons the mode is switched, and the Incr/Decr/Stop
 buttons are used to control the motor in manual mode.

 - the Incr/Decr buttons have toggle function.
 - in Auto mode, the Incr/Decr and Stop buttons are dimmed.


Example
 The figure shows a configuration where the Auto/Man mode is controlled by
 the ExtControl input of the function object. Auto mode is set when the
 input i high and the contactor order output is controlled by the input
 ExtStart. To get this configuration, use CbCoSs and set Mode.OpExtAndIntMan
 to 1.

Configuration


 Component Configuration

 Configuration of button texts
 - IncrDecr    Button text Incr/Decr (default).
 - ForwBack    Button text Forw/Back.
 - UpDown      Button text Up/Down.
 - OpenClose   Button text Open/Close.

 Configuration of components
 - CbCoOrSs    Circuitbreaker, contactor, overloadrelay, safetyswitch.
 - CbCoSs      Circuitbreaker, contactor, safetyswitch.
 - CbCoOr      Circuitbreaker, contactor, overloadrelay.
 - CbCo        Circuitbreaker, contactor.
 - CoOrSs      Contactor, overloadrelay, safetyswitch.
 - CoOr        Contactor, overloadrelay.
 - CoSs        Contactor, safetyswitch.
 - Co          Contactor.
 - FuCoOrSs    Fuse, contactor, overloadrelay, safetyswitch.
 - FuCoOr      Fuse, contactor, overloadrelay.
 - FuCoSs      Fuse, contactor, safetyswitch.
 - FuCo        Fuse, contactor.

 The contactor and motor objects has also configuration alternatives.

 NoteThe contactor configuration with two pulsed order output can not be
 used.

 The motor can be configured with overtemperature switch or sensor, and
 the contactor with or without feedback, and with pulsed order signals.
 The configuraton with pulsed order signal can only be used when
 auto mode is disabled.

Signals
 Signals that should be connected to I/O channels.
 - CircuitBreaker.NotTripped     Di (optional)
 - OverloadRelay.Overload        Di (optional)
 - SafetySwitch.On               Di (optional)
 - ContactorIncr.Order           Do (optional)
 - ContactorDecr.Order           Do (optional)
 - ContactorIncr.Feedback        Di (optional)
 - ContactorDecr.Feedback        Di (optional)
 - Motor.TempSwitch.Switch        Di (optional)
 - Motor.TempSensor.Value        Ai (optional)

Mode
 The mode functions are found in the CompModeD2 object. See this object
 for more info.

 If the mode object is configured for extern control only, the Error output
 of the function object should be used to reset the start input to avoid
 unwanted restarts.


Plc coding
 For plc coding the function object BaseMotorIncrDecrAggrFo is used.
 Create a function object in the plc editor and connect it to the current
 object with the connect function.

Simulate
 For simulation of the fan, use the plc object BaseMotorIncrDecrAggrSim.

See also



RtBody attributes pwr_sClass_BaseMotorIncrDecrAggr
Aggregate Super   Super class.
BaseMotorIncrDecrAggrGCEnum GraphConfiguration   Enumeration for object graph configuration.
Handled by the ConfigureComponent method.
Boolean Ready   The Ready attribute indicates that the aggregate is ready to be
started, i.e. there are no interlockings or tripped breaker that
inhibits start.
Boolean ExtInterlock   Reflects the interlock input of the function object.
If ExtInterlock is high, the order output is reset, and the mode
is forced to Man. This force can be disabled by setting Mode.OpNoAutoToMan
to 1.
Boolean LocalMode   Shows if Local mode is active.
Local mode is normally set by a switch on a local panel, which is
connected to the LocalMode input of the function object.
Boolean IndWarning   Indication for warning.
Boolean IndError   Indication for error.
Boolean IndRunning   Indication for motor running. Increment or decrement order is active.
RunTimeCounter RunTimeCounter   Run time measurement.
BaseContactor ContactorIncr   Increment contactor object.
BaseContactor ContactorDecr   Decrement contactor object.
BaseCircuitBreaker CircuitBreaker   Circuit breaker object.
BaseSafetySwitch SafetySwitch   Safety switch object.
BaseOverloadRelay OverloadRelay   Overload relay object.
CompModeD2 Mode   Mode object.
Handles the Auto, Man and Local mode.
BaseMotor Motor   Motor object with overtemperature supervision.
Boolean SupDisabled   Supervision is disabled.
AttrRef PlcConnect   The plc function object connected to this object.
AttrRef SimConnect   The simulate plc function object connected to this object.


Template Object
ContactorIncr.Order.Description Energize contactor
ContactorIncr.DisableOffControl 1
ContactorIncr.Feedback.Description Contactor is energized
ContactorIncr.FbTimeLimit 1.000000e+00
ContactorIncr.Alarm.DetectOn 1
ContactorIncr.Alarm.DetectText Contactor feedback lost
ContactorIncr.Alarm.EventType 64
ContactorIncr.Alarm.EventPriority 67
ContactorIncr.Alarm.EventFlags 7
ContactorIncr.Alarm.MoreText
ContactorIncr.Alarm.Attribute BaseComponent:Class-BaseMotorIncrDecrAggr-Template.ContactorIncr
ContactorIncr.Alarm.CtrlPosition 1
ContactorIncr.Alarm.LockAttribute 1
ContactorDecr.Order.Description Energize contactor
ContactorDecr.DisableOffControl 1
ContactorDecr.Feedback.Description Contactor is energized
ContactorDecr.FbTimeLimit 1.000000e+00
ContactorDecr.Alarm.DetectOn 1
ContactorDecr.Alarm.DetectText Contactor feedback lost
ContactorDecr.Alarm.EventType 64
ContactorDecr.Alarm.EventPriority 67
ContactorDecr.Alarm.EventFlags 7
ContactorDecr.Alarm.MoreText
ContactorDecr.Alarm.Attribute BaseComponent:Class-BaseMotorIncrDecrAggr-Template.ContactorDecr
ContactorDecr.Alarm.CtrlPosition 1
ContactorDecr.Alarm.LockAttribute 1
CircuitBreaker.Alarm.DetectOn 1
CircuitBreaker.Alarm.DetectText Circuit breaker tripped
CircuitBreaker.Alarm.EventType 64
CircuitBreaker.Alarm.EventPriority 67
CircuitBreaker.Alarm.EventFlags 7
CircuitBreaker.Alarm.MoreText
CircuitBreaker.Alarm.Attribute BaseComponent:Class-BaseMotorIncrDecrAggr-Template.CircuitBreaker
CircuitBreaker.Alarm.CtrlPosition 1
CircuitBreaker.Alarm.LockAttribute 1
SafetySwitch.Super.Specification SafetySwitch
SafetySwitch.Alarm.DetectOn 1
SafetySwitch.Alarm.DetectText Safety switch is not on
SafetySwitch.Alarm.EventType 64
SafetySwitch.Alarm.EventPriority 67
SafetySwitch.Alarm.EventFlags 7
SafetySwitch.Alarm.MoreText
SafetySwitch.Alarm.Attribute BaseComponent:Class-BaseMotorIncrDecrAggr-Template.SafetySwitch
SafetySwitch.Alarm.CtrlPosition 1
SafetySwitch.Alarm.LockAttribute 1
OverloadRelay.Alarm.DetectOn 1
OverloadRelay.Alarm.DetectText Overload relay tripped
OverloadRelay.Alarm.EventType 64
OverloadRelay.Alarm.EventPriority 67
OverloadRelay.Alarm.EventFlags 7
OverloadRelay.Alarm.MoreText
OverloadRelay.Alarm.Attribute BaseComponent:Class-BaseMotorIncrDecrAggr-Template.OverloadRelay
OverloadRelay.Alarm.CtrlPosition 1
OverloadRelay.Alarm.LockAttribute 1
Mode.OrderTimeLimit 1.000000e+01
Mode.AlarmNotReadyM.DetectOn 1
Mode.AlarmNotReadyM.DetectText Check interlocks. Manual start is not allowed, not ready
Mode.AlarmNotReadyM.EventType 64
Mode.AlarmNotReadyM.EventPriority 66
Mode.AlarmNotReadyM.EventFlags 7
Mode.AlarmNotReadyM.MoreText
Mode.AlarmNotReadyM.Attribute BaseComponent:Class-BaseMotorIncrDecrAggr-Template
Mode.AlarmNotReadyM.CtrlPosition 1
Mode.AlarmNotReadyM.LockAttribute 1
Mode.AlarmNotReadyA.DetectOn 1
Mode.AlarmNotReadyA.DetectText Check interlocks. Automode is not allowed, not ready
Mode.AlarmNotReadyA.EventType 64
Mode.AlarmNotReadyA.EventPriority 66
Mode.AlarmNotReadyA.EventFlags 7
Mode.AlarmNotReadyA.MoreText
Mode.AlarmNotReadyA.Attribute BaseComponent:Class-BaseMotorIncrDecrAggr-Template
Mode.AlarmNotReadyA.CtrlPosition 1
Mode.AlarmNotReadyA.LockAttribute 1
Mode.Alarm1LocalMod.DetectOn 1
Mode.Alarm1LocalMod.DetectText Local mode is activated, remote control is not allowed
Mode.Alarm1LocalMod.EventType 64
Mode.Alarm1LocalMod.EventPriority 66
Mode.Alarm1LocalMod.EventFlags 7
Mode.Alarm1LocalMod.MoreText
Mode.Alarm1LocalMod.Attribute BaseComponent:Class-BaseMotorIncrDecrAggr-Template
Mode.Alarm1LocalMod.CtrlPosition 1
Mode.Alarm1LocalMod.LockAttribute 1
Mode.Alarm2LocalMod.DetectOn 1
Mode.Alarm2LocalMod.DetectText Local mode is activated
Mode.Alarm2LocalMod.EventType 64
Mode.Alarm2LocalMod.EventPriority 66
Mode.Alarm2LocalMod.EventFlags 7
Mode.Alarm2LocalMod.MoreText
Mode.Alarm2LocalMod.Attribute BaseComponent:Class-BaseMotorIncrDecrAggr-Template
Mode.Alarm2LocalMod.CtrlPosition 1
Mode.Alarm2LocalMod.LockAttribute 1
Mode.AlarmNotManOrd.DetectOn 1
Mode.AlarmNotManOrd.DetectText Automode active. Manual order is not allowed
Mode.AlarmNotManOrd.EventType 64
Mode.AlarmNotManOrd.EventPriority 66
Mode.AlarmNotManOrd.EventFlags 7
Mode.AlarmNotManOrd.MoreText
Mode.AlarmNotManOrd.Attribute BaseComponent:Class-BaseMotorIncrDecrAggr-Template
Mode.AlarmNotManOrd.CtrlPosition 1
Mode.AlarmNotManOrd.LockAttribute 1
Mode.AlarmOrderTimeOut.DetectOn 1
Mode.AlarmOrderTimeOut.DetectText Timeout, limit switch not reached
Mode.AlarmOrderTimeOut.EventType 64
Mode.AlarmOrderTimeOut.EventPriority 67
Mode.AlarmOrderTimeOut.EventFlags 7
Mode.AlarmOrderTimeOut.MoreText
Mode.AlarmOrderTimeOut.Attribute BaseComponent:Class-BaseMotorIncrDecrAggr-Template
Mode.AlarmOrderTimeOut.CtrlPosition 1
Mode.AlarmOrderTimeOut.LockAttribute 1
Motor.GraphConfiguration 2
Motor.DisableTempSwitch 1
Motor.TempSwitch.Super.DisableSwitch 1
Motor.TempSwitch.Super.Alarm.DetectOn 1
Motor.TempSwitch.Super.Alarm.DetectText High motor temperature
Motor.TempSwitch.Super.Alarm.EventType 64
Motor.TempSwitch.Super.Alarm.EventPriority 67
Motor.TempSwitch.Super.Alarm.EventFlags 7
Motor.TempSwitch.Super.Alarm.MoreText
Motor.TempSwitch.Super.Alarm.Attribute BaseComponent:Class-BaseMotorIncrDecrAggr-Template.Motor.TempSwitch
Motor.TempSwitch.Super.Alarm.CtrlPosition 1
Motor.TempSwitch.Super.Alarm.LockAttribute 1
Motor.DisableTempSensor 1
Motor.TempSensor.Super.DisableValue 1
Motor.TempSensor.Super.Value.Unit C
Motor.TempSensor.Super.Value.PresMaxLimit 1.500000e+02
Motor.TempSensor.Super.LimitHH.Alarm.DetectOn 1
Motor.TempSensor.Super.LimitHH.Alarm.DetectText High High motor temperature
Motor.TempSensor.Super.LimitHH.Alarm.EventType 64
Motor.TempSensor.Super.LimitHH.Alarm.EventPriority 67
Motor.TempSensor.Super.LimitHH.Alarm.EventFlags 7
Motor.TempSensor.Super.LimitHH.Alarm.MoreText
Motor.TempSensor.Super.LimitHH.Alarm.Attribute BaseComponent:Class-BaseMotorIncrDecrAggr-Template.Motor.TempSensor
Motor.TempSensor.Super.LimitHH.Alarm.CtrlPosition 1
Motor.TempSensor.Super.LimitHH.Alarm.LockAttribute 1
Motor.TempSensor.Super.LimitHH.Limit 1.300000e+02
Motor.TempSensor.Super.LimitHH.Hysteres 3.000000e+00
Motor.TempSensor.Super.LimitHH.TimeDelay 1.000000e+00
Motor.TempSensor.Super.LimitHH.Used 1
Motor.TempSensor.Super.LimitH.Alarm.DetectOn 1
Motor.TempSensor.Super.LimitH.Alarm.DetectText High motor temperature
Motor.TempSensor.Super.LimitH.Alarm.EventType 64
Motor.TempSensor.Super.LimitH.Alarm.EventPriority 66
Motor.TempSensor.Super.LimitH.Alarm.EventFlags 7
Motor.TempSensor.Super.LimitH.Alarm.MoreText
Motor.TempSensor.Super.LimitH.Alarm.Attribute BaseComponent:Class-BaseMotorIncrDecrAggr-Template.Motor.TempSensor
Motor.TempSensor.Super.LimitH.Alarm.CtrlPosition 1
Motor.TempSensor.Super.LimitH.Alarm.LockAttribute 1
Motor.TempSensor.Super.LimitH.Limit 1.150000e+02
Motor.TempSensor.Super.LimitH.Hysteres 3.000000e+00
Motor.TempSensor.Super.LimitH.TimeDelay 1.000000e+00
Motor.TempSensor.Super.LimitH.Used 1
Motor.TempSensor.Super.LimitL.Alarm.DetectText Temperature below Low limit
Motor.TempSensor.Super.LimitL.Alarm.EventType 64
Motor.TempSensor.Super.LimitL.Alarm.EventPriority 66
Motor.TempSensor.Super.LimitL.Alarm.EventFlags 7
Motor.TempSensor.Super.LimitL.Alarm.MoreText
Motor.TempSensor.Super.LimitL.Alarm.Attribute BaseComponent:Class-BaseMotorIncrDecrAggr-Template.Motor.TempSensor
Motor.TempSensor.Super.LimitL.Alarm.CtrlPosition 1
Motor.TempSensor.Super.LimitL.Alarm.LockAttribute 1
Motor.TempSensor.Super.LimitL.Limit 1.000000e+01
Motor.TempSensor.Super.LimitLL.Alarm.DetectText Temperature below LowLow limit
Motor.TempSensor.Super.LimitLL.Alarm.EventType 64
Motor.TempSensor.Super.LimitLL.Alarm.EventPriority 67
Motor.TempSensor.Super.LimitLL.Alarm.EventFlags 7
Motor.TempSensor.Super.LimitLL.Alarm.MoreText
Motor.TempSensor.Super.LimitLL.Alarm.Attribute BaseComponent:Class-BaseMotorIncrDecrAggr-Template.Motor.TempSensor
Motor.TempSensor.Super.LimitLL.Alarm.CtrlPosition 1
Motor.TempSensor.Super.LimitLL.Alarm.LockAttribute 1
Motor.TempSensor.Super.LimitLL.Limit 5.000000e+00
Motor.TempSensor.Super.Trend.Multiple 1
Motor.TempSensor.Super.Trend.DataName BaseComponent:Class-BaseMotorIncrDecrAggr-Template.Motor.TempSensor.Super.Value
Motor.TempSensor.Super.Trend.StorageTime 239
Motor.TempSensor.Super.Trend.BufferStatus[0] 1
Motor.TempSensor.Super.Trend.BufferStatus[1] 1
Motor.TempSensor.Super.Trend.NoOfBuffers 2
Motor.TempSensor.Super.Trend.NoOfBufElement 239
Motor.TempSensor.Super.DefTrend BaseComponent:Class-BaseMotorIncrDecrAggr-Template.Motor.TempSensor.Super.Trend


Attributes detail


Super Attribute
Class Attribute
Type Aggregate
Flags Class|Superclass
Body RtBody
 Super class.

GraphConfiguration Attribute
Class Attribute
Type BaseMotorIncrDecrAggrGCEnum
Flags
Body RtBody
 Enumeration for object graph configuration.
 Handled by the ConfigureComponent method.

Ready Attribute
Class Attribute
Type Boolean
Flags ReduTransfer|Noedit
Body RtBody
 The Ready attribute indicates that the aggregate is ready to be
 started, i.e. there are no interlockings or tripped breaker that
 inhibits start.

ExtInterlock Attribute
Class Attribute
Type Boolean
Flags ReduTransfer|Noedit
Body RtBody
 Reflects the interlock input of the function object.
 If ExtInterlock is high, the order output is reset, and the mode
 is forced to Man. This force can be disabled by setting Mode.OpNoAutoToMan
 to 1.

LocalMode Attribute
Class Attribute
Type Boolean
Flags ReduTransfer|Noedit
Body RtBody
 Shows if Local mode is active.
 Local mode is normally set by a switch on a local panel, which is
 connected to the LocalMode input of the function object.

IndWarning Attribute
Class Attribute
Type Boolean
Flags ReduTransfer|Noedit
Body RtBody
 Indication for warning.

IndError Attribute
Class Attribute
Type Boolean
Flags ReduTransfer|Noedit
Body RtBody
 Indication for error.

IndRunning Attribute
Class Attribute
Type Boolean
Flags ReduTransfer|Noedit
Body RtBody
 Indication for motor running. Increment or decrement order is active.

RunTimeCounter Attribute
Class Attribute
Type RunTimeCounter
Flags Class
Body RtBody
 Run time measurement.

ContactorIncr Attribute
Class Attribute
Type BaseContactor
Flags CastAttr|Class
Body RtBody
 Increment contactor object.

ContactorDecr Attribute
Class Attribute
Type BaseContactor
Flags CastAttr|Class
Body RtBody
 Decrement contactor object.

CircuitBreaker Attribute
Class Attribute
Type BaseCircuitBreaker
Flags CastAttr|Class|DisableAttr
Body RtBody
 Circuit breaker object.

SafetySwitch Attribute
Class Attribute
Type BaseSafetySwitch
Flags CastAttr|Class|DisableAttr
Body RtBody
 Safety switch object.

OverloadRelay Attribute
Class Attribute
Type BaseOverloadRelay
Flags CastAttr|Class|DisableAttr
Body RtBody
 Overload relay object.

Mode Attribute
Class Attribute
Type CompModeD2
Flags Class
Body RtBody
 Mode object.
 Handles the Auto, Man and Local mode.

Motor Attribute
Class Attribute
Type BaseMotor
Flags CastAttr|Class
Body RtBody
 Motor object with overtemperature supervision.

SupDisabled Attribute
Class Attribute
Type Boolean
Flags ReduTransfer
Body RtBody
 Supervision is disabled.
 Shows the input DisableSup in the plc Fo object.

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

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