Commit b58cc16f authored by claes's avatar claes

Integer fo's and IEC61131 objects

parent bdd4327d
......@@ -19,6 +19,7 @@ group PlcGrafcet pwrb_initstep.html
group PlcIO pwrb_apcollect.html
group PlcLogic pwrb_and.html
group PlcAnalog pwrb_aarithm.html
group PlcInteger pwrb_abs.html
group PlcControl pwrb_inc3p.html
group PlcDrive pwrb_drive.html
group PlcEdit pwrb_bodytext.html
......
! pwrb_c_abs.wb_load -- Defines the class Abs.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_macro_div.h
! @Group Plc,PlcArithm
! @Summary Absolute value of analog value.
! Abs calculates the absolute value of an analog value.
! @image orm_abs_fo.gif
!*/
Object Abs $ClassDef 382
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Abs"
EndBody
!/**
! Analog input.
!*/
Object In $Input 1
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! Absolute value of the input.
!*/
Object ActVal $Output 2
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 1
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 5
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "Abs"
Attr graphname = "Abs"
EndBody
EndObject
Object Template Abs
EndObject
EndObject
EndSObject
! pwrb_c_acos.wb_load -- Defines the class ACos.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_macro_div.h
! @Group Plc,PlcArithm
! @Summary Arc cosine function.
! ACos calculates the arc cosine of the input.
! @image orm_acos_fo.gif
! The input should be in the range -1 / FactorIn to 1 / FactorIn, otherwise
! the output is undefined.
! The result is in radians between -PI / 2 * FactorVal and PI / 2 * FactorVal.
!*/
Object ACos $ClassDef 385
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "ACos"
EndBody
!/**
! Input in radians. Should be in the range -1 / FactorIn to 1 / FactorIn.
!*/
Object in $Input 1
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "in"
EndBody
EndObject
!/**
! Factor multiplied with the input before calculating the arc cosine
! value.
!*/
Object FactorIn $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Factor multiplied with the calculated arc cosine value.
!*/
Object FactorVal $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Arc cosine of the input.
!*/
Object ActVal $Output 4
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 1
Attr parameters[1] = 2
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 5
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "ACos"
Attr graphname = "ACos"
EndBody
EndObject
Object Template ACos
Body RtBody
Attr FactorIn = 1
Attr FactorVal = 1
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_add.wb_load -- Defines the class Add.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcAnalog
! @Summary Analog addition
! Analog addition.
! @image orm_add_fo.gif
!
! Addition of up to 8 analog inputs.
!
!*/
Object Add $ClassDef 409
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Add"
EndBody
!/**
! Value of input signal 1, input signal 2, ..., input
! signal 8.
!*/
Object In1 $Input 1
Body SysBody
Attr PgmName = "In1"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In1"
EndBody
EndObject
Object In2 $Input 2
Body SysBody
Attr PgmName = "In2"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In2"
EndBody
EndObject
Object In3 $Input 3
Body SysBody
Attr PgmName = "In3"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In3"
EndBody
EndObject
Object In4 $Input 4
Body SysBody
Attr PgmName = "In4"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In4"
EndBody
EndObject
Object In5 $Input 5
Body SysBody
Attr PgmName = "In5"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In5"
EndBody
EndObject
Object In6 $Input 6
Body SysBody
Attr PgmName = "In6"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In6"
EndBody
EndObject
Object In7 $Input 7
Body SysBody
Attr PgmName = "In7"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In7"
EndBody
EndObject
Object In8 $Input 8
Body SysBody
Attr PgmName = "In8"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In8"
EndBody
EndObject
!/**
! The result of the addition.
!*/
Object ActVal $Output 9
Body SysBody
Attr PgmName = "ActVal"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 8
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "Add"
Attr graphname = "Add"
Attr debugpar = ""
EndBody
EndObject
Object Template Add
Body RtBody
EndBody
EndObject
EndObject
EndSObject
......@@ -196,6 +196,17 @@ SObject pwrb:Class
EndBody
EndObject
!/**
! @Summary A note of the current status of the object.
! A note of the current status of the object.
! Notes are used to exchange information between operators. It is handled
! by the Note method.
!*/
Object Note $Attribute 19
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! The internal filter function concerns only local
! Ai-signals.
! Specifies the selected filter. The possible types of
......@@ -231,7 +242,7 @@ SObject pwrb:Class
! Defines filter constants in selected function, see
! FilterType. The constants are specified in seconds.
! Only if FilterType = 1 and FilterAttribute[0] >
! ScanInterval CycleTimeBus (= the updating period of
! ScanInterval * CycleTimeBus (= the updating period of
! the signal) is filtering done.
!*/
Object FilterAttribute $Attribute 14
......
......@@ -195,6 +195,17 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$URL"
EndBody
EndObject
!/**
! @Summary A note of the current status of the object.
! A note of the current status of the object.
! Notes are used to exchange information between operators. It is handled
! by the Note method.
!*/
Object Note $Attribute 17
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
EndObject
Object Template Ao
EndObject
......
! pwrb_c_asin.wb_load -- Defines the class ASin.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_macro_div.h
! @Group Plc,PlcArithm
! @Summary Arc sine function.
! ASin calculates the arc sine of the input.
! The input should be in the range -1 / FactorIn to 1 / FactorIn, otherwise
! the output is undefined.
! The result is in radians between -PI / 2 * FactorVal and PI / 2 * FactorVal.
! @image orm_asin_fo.gif
!*/
Object ASin $ClassDef 384
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "ASin"
EndBody
!/**
! Analog input. Should be in the range -1 / FactorIn to 1 / FactorIn.
!*/
Object In $Input 1
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! Factor multiplied with the input before calculating the arc sine
! value.
!*/
Object FactorIn $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Factor multiplied with the calculated arc sine value.
!*/
Object FactorVal $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Arc Sine of the input.
!*/
Object ActVal $Output 4
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 1
Attr parameters[1] = 2
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 5
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "ASin"
Attr graphname = "ASin"
EndBody
EndObject
Object Template ASin
Body RtBody
Attr FactorIn = 1
Attr FactorVal = 1
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_atan.wb_load -- Defines the class ATan.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_macro_div.h
! @Group Plc,PlcArithm
! @Summary Arc tangent function.
! ATan calculates the arc tangent of the input.
! @image orm_atan_fo.gif
!*/
Object ATan $ClassDef 386
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "ATan"
EndBody
!/**
! Input.
!*/
Object in $Input 1
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "in"
EndBody
EndObject
!/**
! Factor multiplied with the input before calculating the arc tangent
! value.
!*/
Object FactorIn $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Factor multiplied with the calculated arc tangent value.
!*/
Object FactorVal $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Arc tangent of the input.
!*/
Object ActVal $Output 4
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 1
Attr parameters[1] = 2
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 5
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "ATan"
Attr graphname = "ATan"
EndBody
EndObject
Object Template ATan
Body RtBody
Attr FactorIn = 1
Attr FactorVal = 1
EndBody
EndObject
EndObject
EndSObject
......@@ -168,6 +168,17 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$URL"
EndBody
EndObject
!/**
! @Summary A note of the current status of the object.
! A note of the current status of the object.
! Notes are used to exchange information between operators. It is handled
! by the Note method.
!*/
Object Note $Attribute 15
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
EndObject
Object ConfiguratorPoson $Menu
Object Pointed $Menu
......
......@@ -10,14 +10,14 @@ SObject pwrb:Class
! @Version 1.0
! @Group ProjectConfiguration
! @Summary Configures a Qcom bus.
! The Bus object configures a qcom that nodes in the project will
! The Bus object configures a qcom bus that nodes in the project will
! communicate on.
!
! The object should be configured in the project volume as a top object,
! and have the NodeConfig object of the nodes in the bus as children.
!
! @b See also
! @classlink NodeConfig pwrb_nodeconfig.html
!
!*/
Object BusConfig $ClassDef 362
Body SysBody
......
! pwrb_c_bwand.wb_load -- Defines the class BwAnd.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcInteger
! @Summary Bitwise and.
! Bitwise and.
! @image orm_bwand_fo.gif
!*/
Object BwAnd $ClassDef 415
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "BwAnd"
EndBody
!/**
! Input 1.
!*/
Object In1 $Input 1
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Input 2.
!*/
Object In2 $Input 2
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! Bitwise and of In1 and In2.
!*/
Object Status $Output 3
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Sts"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "BwAnd"
Attr graphname = "BwAnd"
EndBody
EndObject
Object Template BwAnd
EndObject
EndObject
EndSObject
! pwrb_c_bwor.wb_load -- Defines the class BwOr.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcInteger
! @Summary Bitwise or.
! Bitwise or.
! @image orm_bwor_fo.gif
!*/
Object BwOr $ClassDef 416
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "BwOr"
EndBody
!/**
! Input 1.
!*/
Object In1 $Input 1
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Input 2.
!*/
Object In2 $Input 2
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! Bitwise or of In1 and In2.
!*/
Object Status $Output 3
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Sts"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "BwOr"
Attr graphname = "BwOr"
EndBody
EndObject
Object Template BwOr
EndObject
EndObject
EndSObject
......@@ -181,6 +181,17 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$URL"
EndBody
EndObject
!/**
! @Summary A note of the current status of the object.
! A note of the current status of the object.
! Notes are used to exchange information between operators. It is handled
! by the Note method.
!*/
Object Note $Attribute 17
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
EndObject
Object ConfiguratorPoson $Menu
Object Pointed $Menu
......
! pwrb_c_cos.wb_load -- Defines the class Cos.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_macro_div.h
! @Group Plc,PlcArithm
! @Summary Cosine function
! Sin calculates the cosine of the input, where the input is given
! in radians.
! @image orm_cos_fo.gif
! The output ActVal is calculated as
!
! ActVal = FactorVal * cos( FactorIn * In)
!
!*/
Object Cos $ClassDef 379
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Cos"
EndBody
!/**
! Input in radians.
!*/
Object in $Input 1
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "in"
EndBody
EndObject
!/**
! Factor multiplied with the input before calculating the cosine
! value. If the input value is in degrees, this value should be
! 180 / PI.
!*/
Object FactorIn $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Factor multiplied with the calculated cosine value.
!*/
Object FactorVal $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Output value (FactorVal * cos( FactorIn * In).
!*/
Object ActVal $Output 4
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 1
Attr parameters[1] = 2
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 5
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "Cos"
Attr graphname = "Cos"
EndBody
EndObject
Object Template Cos
Body RtBody
Attr FactorIn = 1
Attr FactorVal = 1
EndBody
EndObject
EndObject
EndSObject
......@@ -14,9 +14,10 @@ SObject pwrb:Class
! and aswell the action that should be taken when a delay occurs. Several
! objects with different action can be used for one plc thread.
!
! Delay is detected by both the thread to be monitored iself and rt_emon.
! If thread itself is hanging in execution delay could anyway be detected by
! rt_emon. This depends of course on at what priorities the processes are running.
! Delay is detected by every thread and rt_emon.
! If thread itself is hanging in execution, delay could anyway be detected by
! another thread or by rt_emon. This depends of course on at what priorities
! the processes are running.
!*/
Object CycleSup $ClassDef 281
Body SysBody
......
......@@ -174,6 +174,17 @@ SObject pwrb:Class
EndBody
EndObject
!/**
! @Summary A note of the current status of the object.
! A note of the current status of the object.
! Notes are used to exchange information between operators. It is handled
! by the Note method.
!*/
Object Note $Attribute 16
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! The internal filter function concerns only local
! Di-signals.
!
......
! pwrb_c_disksup.wb_load -- Defines the class DiskSup.
!
! PROVIEW/R
! Copyright (C) 1999 by Mandator AB.
!
! Supervision of a disk.
!
SObject pwrb:Class
!/**
! @Code rt_disksup.c
! @Group Supervision,NodeConfiguration
! @Summary Object used for supervision of a disk
! Object used for supervision of a disk. A maximum occupied size specified
! and aswell the action that should be taken when the size exceeds. Several
! objects with different action can be used for one disk.
!*/
Object DiskSup $ClassDef 417
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "DiskSup"
EndBody
!/**
! Optional description.
!*/
Object Description $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Maximum used space in percentages.
!*/
Object UsedMaxLimit $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Name of file system.
!*/
Object DiskName $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Scantime in seconds.
! This should be a multiple of the scantime of the SysMonConf object.
!*/
Object ScanTime $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Action to be taken if a delay occurs. 1 = Alarm, 2 = Command.
!*/
Object Action $Attribute 5
Body SysBody
Attr TypeRef = "pwrb:Type-DiskSupActionMask"
EndBody
EndObject
!/**
! Detect text. If alarm action is specified, this is the alarmtext.
!*/
Object DetectText $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! A shell command executed if command action is specified.
! Use this to purge files.
!*/
Object Command $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Current use in percentages.
!*/
Object CurrentUse $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
!/**
! The last time the limit was exceeded.
!*/
Object DetectTime $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Time"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Specifies the type of the message (=DetectText ) which
! will be sent at alarm state.
! ALARM -- 64 The message always requires an
! acknowledgement and sent to the alarm
!
! INFO -- 32 If the message requires acknowledgement is
! it sent to the info part of the alarm
! window and the event list, otherwise only
!*/
Object EventType $Attribute 10
Body SysBody
Attr TypeRef = "pwrb:Type-EventTypeEnum"
EndBody
EndObject
!/**
! Priorities concerning alarm messages.
!
! -- 67 A-alarm; highest priority. (=43Hex)
! -- 66 B-alarm (= 42Hex)
! -- 65 C-alarm (= 41Hex)
! -- 64 D-alarm ; lowest priority. (=40Hex)
!*/
Object EventPriority $Attribute 11
Body SysBody
Attr TypeRef = "pwrb:Type-EventPrioEnum"
EndBody
EndObject
!/**
! Current disk status.
! High limit exceeded is indicated with SMON__DISKHIGHLIMIT.
! Any get statistics failiure is indicated with errno.
!*/
Object Status $Attribute 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Status"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object Template DiskSup
Body RtBody
Attr UsedMaxLimit = 90
Attr ScanTime = 60
Attr Action = 1
Attr DetectText = "Disk usage limit exceeded"
Attr EventType = 64
Attr EventPriority = 67
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_idiv.wb_load -- Defines the class IDiv.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcAnalog
! @Summary Analog division
! Analog division.
! @image orm_div_fo.gif
!
! Analog division In1 / In2.
! The divisor In2 should not be 0.
!
!*/
Object Div $ClassDef 407
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Div"
EndBody
!/**
! Dividend.
!*/
Object In1 $Input 1
Body SysBody
Attr PgmName = "In1"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Divisor.
!*/
Object In2 $Input 2
Body SysBody
Attr PgmName = "In2"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! The resulting quotient.
!*/
Object ActVal $Output 3
Body SysBody
Attr PgmName = "ActVal"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 10
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "Div"
Attr graphname = "Div"
Attr debugpar = ""
EndBody
EndObject
Object Template Div
EndObject
EndObject
EndSObject
......@@ -158,6 +158,17 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$URL"
EndBody
EndObject
!/**
! @Summary A note of the current status of the object.
! A note of the current status of the object.
! Notes are used to exchange information between operators. It is handled
! by the Note method.
!*/
Object Note $Attribute 14
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
EndObject
Object Template Do
EndObject
......
......@@ -16,7 +16,7 @@ SObject pwrb:Class
! Convert digital value to string.
! @image orm_dtostr_fo.gif
!
! The DtoStr object converts the value of the integer input to
! The DtoStr object converts the value of the digital input to
! at string stored in ActVal.
!
! Note that an erroneous format specification may cause the
......@@ -34,7 +34,7 @@ SObject pwrb:Class
Attr StructName = "DtoStr"
EndBody
!/**
! Integer input that will be converted to string.
! Digital input that will be converted to string.
!*/
Object In $Input 1
Body SysBody
......
......@@ -140,6 +140,17 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$URL"
EndBody
EndObject
!/**
! @Summary A note of the current status of the object.
! A note of the current status of the object.
! Notes are used to exchange information between operators. It is handled
! by the Note method.
!*/
Object Note $Attribute 13
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
EndObject
Object ConfiguratorPoson $Menu
Object Pointed $Menu
......
! pwrb_c_equal.wb_load -- Defines the class Equal.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcInteger
! @Summary Check if two integer are equal.
! Equal compare two integer values and returnes true if they are equal.
! @image orm_equal_fo.gif
!*/
Object Equal $ClassDef 391
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Equal"
EndBody
!/**
! Integer input 1.
!*/
Object In1 $Input 1
Body SysBody
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOINVERT
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Integer input 2.
!*/
Object In2 $Input 2
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! True if the input values are equal.
!*/
Object Status $Output 3
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "sts"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 3
Attr traceindex = 1
Attr executeordermethod = 2
Attr objname = "Eq"
Attr graphname = "Eq"
Attr debugpar = "Status"
EndBody
EndObject
Object Template Equal
Body RtBody
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_even.wb_load -- Defines the class Even.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_macro_div.h
! @Group Plc,PlcInteger
! @Summary Check if a status or integer is even.
! Even return true if the input is even.
! @image orm_even_fo.gif
!*/
Object Even $ClassDef 389
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Even"
EndBody
!/**
! Integer or status input.
!*/
Object In $Input 1
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! True if the input is even.
!*/
Object Status $Output 2
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "Sts"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 1
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 5
Attr compindex = 0
Attr tracemethod = 3
Attr traceindex = 1
Attr executeordermethod = 2
Attr objname = "Even"
Attr graphname = "Even"
Attr debugpar = "Status"
EndBody
EndObject
Object Template Even
EndObject
EndObject
EndSObject
! pwrb_c_log.wb_load -- Defines the class Ln.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_macro_div.h
! @Group Plc,PlcArithm
! @Summary Natural exponential
! Exp calculates the natural exponential of the input.
! @image orm_exp_fo.gif
!*/
Object Exp $ClassDef 412
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Exp"
EndBody
!/**
! Input.
!*/
Object In $Input 1
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! Factor multiplied with the input before calculating the exponential
! value.
!*/
Object FactorIn $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Factor multiplied with the calculated exponential value.
!*/
Object FactorVal $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Output value.
!*/
Object ActVal $Output 4
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 1
Attr parameters[1] = 2
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 5
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "Exp"
Attr graphname = "Exp"
EndBody
EndObject
Object Template Exp
Body RtBody
Attr FactorIn = 1
Attr FactorVal = 1
EndBody
EndObject
EndObject
EndSObject
......@@ -11,11 +11,11 @@ SObject pwrb:Class
! @Group ProjectConfiguration
! @Summary Configures a proview node that belongs to another project.
! The FriendNodeConfig object configures a proview node that belong to
! another project, that is the owner a volume mounted by some node in
! another project, that is the owner of a volume mounted by some node in
! the current project.
!
! The FriendNodeConfig object is created in the project volume as a toplevel
! object in the node-hierachy.
! The FriendNodeConfig object is created in the project volume as a child to
! a BusConfig-object in the node-hierachy.
!
! @b See also
! @classlink NodeConfig pwrb_nodeconfig.html
......
! pwrb_c_greaterequal.wb_load -- Defines the class GreaterEqual.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcInteger
! @Summary Check if an integer value is greater than or equal another.
! GreaterEqual compares two integer values and returns true if the first
! is greater than or equal the second.
! @image orm_greaterequal_fo.gif
!*/
Object GreaterEqual $ClassDef 392
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "GreaterEqual"
EndBody
!/**
! Integer input 1.
!*/
Object In1 $Input 1
Body SysBody
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOINVERT
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Integer input 2.
!*/
Object In2 $Input 2
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! True if In1 is greater or equal In2.
!*/
Object Status $Output 3
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "sts"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 3
Attr traceindex = 1
Attr executeordermethod = 2
Attr objname = "Ge"
Attr graphname = "Ge"
Attr debugpar = "Status"
EndBody
EndObject
Object Template GreaterEqual
Body RtBody
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_greaterthan.wb_load -- Defines the class GreaterThan.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcInteger
! @Summary Check if an integer value is greater than another.
! GreaterThan compares two integer values and returns true if the first
! is greater than the second.
! @image orm_greaterthan_fo.gif
!*/
Object GreaterThan $ClassDef 393
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "GreaterThan"
EndBody
!/**
! Integer input 1.
!*/
Object In1 $Input 1
Body SysBody
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOINVERT
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Integer input 2.
!*/
Object In2 $Input 2
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! True if In is greater than In2.
!*/
Object Status $Output 3
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "sts"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 3
Attr traceindex = 1
Attr executeordermethod = 2
Attr objname = "Gt"
Attr graphname = "Gt"
Attr debugpar = "Status"
EndBody
EndObject
Object Template GreaterThan
Body RtBody
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_iabs.wb_load -- Defines the class IAbs.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_macro_div.h
! @Group Plc,PlcInteger
! @Summary Absolute value of integer value.
! IAbs calculates the absolute value of the input.
! @image orm_iabs_fo.gif
!*/
Object IAbs $ClassDef 387
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "IAbs"
EndBody
!/**
! Input.
!*/
Object In $Input 1
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! Absolute value of the input.
!*/
Object ActVal $Output 2
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 1
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 5
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "IAbs"
Attr graphname = "IAbs"
EndBody
EndObject
Object Template IAbs
EndObject
EndObject
EndSObject
! pwrb_c_iadd.wb_load -- Defines the class IAdd.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcInteger
! @Summary Integer addition
! Integer addition.
! @image orm_iadd_fo.gif
!
! Addition of up to 8 integer inputs.
!
!*/
Object IAdd $ClassDef 396
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "IAdd"
EndBody
!/**
! Value of input signal 1, input signal 2, ..., input
! signal 8.
!*/
Object In1 $Input 1
Body SysBody
Attr PgmName = "In1"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In1"
EndBody
EndObject
Object In2 $Input 2
Body SysBody
Attr PgmName = "In2"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In2"
EndBody
EndObject
Object In3 $Input 3
Body SysBody
Attr PgmName = "In3"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In3"
EndBody
EndObject
Object In4 $Input 4
Body SysBody
Attr PgmName = "In4"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In4"
EndBody
EndObject
Object In5 $Input 5
Body SysBody
Attr PgmName = "In5"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In5"
EndBody
EndObject
Object In6 $Input 6
Body SysBody
Attr PgmName = "In6"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In6"
EndBody
EndObject
Object In7 $Input 7
Body SysBody
Attr PgmName = "In7"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In7"
EndBody
EndObject
Object In8 $Input 8
Body SysBody
Attr PgmName = "In8"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In8"
EndBody
EndObject
!/**
! The result of the addition.
!*/
Object ActVal $Output 9
Body SysBody
Attr PgmName = "ActVal"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 8
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "IAdd"
Attr graphname = "IAdd"
Attr debugpar = ""
EndBody
EndObject
Object Template IAdd
Body RtBody
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_idiv.wb_load -- Defines the class IDiv.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcInteger
! @Summary Integer division
! Integer division.
! @image orm_idiv_fo.gif
!
! Integer division In1 / In2.
! The divisor In2 should not be 0. If this occurs, ActVal is set to 0.
!
!*/
Object IDiv $ClassDef 399
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "IDiv"
EndBody
!/**
! Dividend.
!*/
Object In1 $Input 1
Body SysBody
Attr PgmName = "In1"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Divisor.
!*/
Object In2 $Input 2
Body SysBody
Attr PgmName = "In2"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! The resulting quotient.
!*/
Object ActVal $Output 3
Body SysBody
Attr PgmName = "ActVal"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 10
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "IDiv"
Attr graphname = "IDiv"
Attr debugpar = ""
EndBody
EndObject
Object Template IDiv
EndObject
EndObject
EndSObject
......@@ -144,6 +144,17 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$URL"
EndBody
EndObject
!/**
! @Summary A note of the current status of the object.
! A note of the current status of the object.
! Notes are used to exchange information between operators. It is handled
! by the Note method.
!*/
Object Note $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
EndObject
Object ConfiguratorPoson $Menu
Object Pointed $Menu
......
! pwrb_c_ilimit.wb_load -- Defines the class ILimit.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcInteger
! @Summary Integer limiter.
! Integer limiter.
! @image orm_ilimit_fo.gif
!
! Minimum and maximum limiter for integer value.
!
!*/
Object ILimit $ClassDef 403
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "ILimit"
EndBody
!/**
! Specifies the current value of the high limit.
!*/
Object Max $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Max"
EndBody
EndObject
!/**
! Specifies the current value of the input signal.
!*/
Object In $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! Specifies the current value of the low limit.
!*/
Object Min $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Min"
EndBody
EndObject
!/**
! if In < Min and Min < Max ActVal = Min
! if In > Max ActVal = Max
! else ActVal = In
!*/
Object ActVal $Output 4
Body SysBody
Attr PgmName = "ActVal"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Val"
EndBody
EndObject
!/**
! Specifies if a limitation upwards has taken place or
! not. FALSE means no limitation upwards at the moment;
! TRUE means that the output signal has been limited
! upwards to the value of Max.
!*/
Object High $Output 5
Body SysBody
Attr PgmName = "High"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "hl"
EndBody
EndObject
!/**
! Specifies if a limitation downwards has taken place or
! not. FALSE means no limitation downwards at the moment;
! TRUE means that the output signal has been limited
! downwards to the value of Min.
!*/
Object Low $Output 6
Body SysBody
Attr PgmName = "Low"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "ll"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 3
Attr parameters[1] = 0
Attr parameters[2] = 3
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 7
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "ILimit"
Attr graphname = "ILimit"
Attr debugpar = ""
EndBody
EndObject
Object Template ILimit
EndObject
EndObject
EndSObject
! pwrb_c_imax.wb_load -- Defines the class IMax.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcInteger
! @Summary Integer maximum function.
! Integer maximum function.
! @image orm_imax_fo.gif
!
! Get maximum of up to 8 integer inputs.
!
!*/
Object IMax $ClassDef 400
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "IMax"
EndBody
!/**
! Integer input.
!*/
Object In1 $Input 1
Body SysBody
Attr PgmName = "In1"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In2 $Input 2
Body SysBody
Attr PgmName = "In2"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In3 $Input 3
Body SysBody
Attr PgmName = "In3"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In3"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In4 $Input 4
Body SysBody
Attr PgmName = "In4"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In4"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In5 $Input 5
Body SysBody
Attr PgmName = "In5"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In5"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In6 $Input 6
Body SysBody
Attr PgmName = "In6"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In6"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In7 $Input 7
Body SysBody
Attr PgmName = "In7"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In7"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In8 $Input 8
Body SysBody
Attr PgmName = "In8"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In8"
EndBody
EndObject
!/**
! Maximum value.
!*/
Object ActVal $Output 9
Body SysBody
Attr PgmName = "ActVal"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 8
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "IMax"
Attr graphname = "IMax"
Attr debugpar = ""
EndBody
EndObject
Object Template IMax
Body RtBody
Attr In1 = -2147483647
Attr In2 = -2147483647
Attr In3 = -2147483647
Attr In4 = -2147483647
Attr In5 = -2147483647
Attr In6 = -2147483647
Attr In7 = -2147483647
Attr In8 = -2147483647
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_imin.wb_load -- Defines the class IMin.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcInteger
! @Summary Integer minimum function.
! Integer minimum function.
! @image orm_imin_fo.gif
!
! Get minimum of up to 8 integer inputs.
!
!*/
Object IMin $ClassDef 401
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "IMin"
EndBody
!/**
! Integer input.
!*/
Object In1 $Input 1
Body SysBody
Attr PgmName = "In1"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In2 $Input 2
Body SysBody
Attr PgmName = "In2"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In3 $Input 3
Body SysBody
Attr PgmName = "In3"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In3"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In4 $Input 4
Body SysBody
Attr PgmName = "In4"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In4"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In5 $Input 5
Body SysBody
Attr PgmName = "In5"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In5"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In6 $Input 6
Body SysBody
Attr PgmName = "In6"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In6"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In7 $Input 7
Body SysBody
Attr PgmName = "In7"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In7"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In8 $Input 8
Body SysBody
Attr PgmName = "In8"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In8"
EndBody
EndObject
!/**
! Minimum value.
!*/
Object ActVal $Output 9
Body SysBody
Attr PgmName = "ActVal"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 8
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "IMin"
Attr graphname = "IMin"
Attr debugpar = ""
EndBody
EndObject
Object Template IMin
Body RtBody
Attr In1 = 2147483647
Attr In2 = 2147483647
Attr In3 = 2147483647
Attr In4 = 2147483647
Attr In5 = 2147483647
Attr In6 = 2147483647
Attr In7 = 2147483647
Attr In8 = 2147483647
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_imul.wb_load -- Defines the class IMul.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcInteger
! @Summary Integer multiplication
! Integer multiplication.
! @image orm_imul_fo.gif
!
! Multiplication of up to 8 integer inputs.
!
!*/
Object IMul $ClassDef 397
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "IMul"
EndBody
!/**
! Integer factor.
!*/
Object In1 $Input 1
Body SysBody
Attr PgmName = "In1"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Integer factor.
!*/
Object In2 $Input 2
Body SysBody
Attr PgmName = "In2"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! Integer factor.
!*/
Object In3 $Input 3
Body SysBody
Attr PgmName = "In3"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In3"
EndBody
EndObject
!/**
! Integer factor.
!*/
Object In4 $Input 4
Body SysBody
Attr PgmName = "In4"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In4"
EndBody
EndObject
!/**
! Integer factor.
!*/
Object In5 $Input 5
Body SysBody
Attr PgmName = "In5"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In5"
EndBody
EndObject
!/**
! Integer factor.
!*/
Object In6 $Input 6
Body SysBody
Attr PgmName = "In6"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In6"
EndBody
EndObject
!/**
! Integer factor.
!*/
Object In7 $Input 7
Body SysBody
Attr PgmName = "In7"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In7"
EndBody
EndObject
!/**
! Integer factor.
!*/
Object In8 $Input 8
Body SysBody
Attr PgmName = "In8"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In8"
EndBody
EndObject
!/**
! The result of the multiplication.
!*/
Object ActVal $Output 9
Body SysBody
Attr PgmName = "ActVal"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 8
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "IMul"
Attr graphname = "IMul"
Attr debugpar = ""
EndBody
EndObject
Object Template IMul
Body RtBody
Attr In1 = 1
Attr In2 = 1
Attr In3 = 1
Attr In4 = 1
Attr In5 = 1
Attr In6 = 1
Attr In7 = 1
Attr In8 = 1
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_imux.wb_load -- Defines the class IMux.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcInteger
! @Summary Integer multiplexer
! Integer multiplexer.
! @image orm_imux_fo.gif
!
! Select one of 24 integer inputs, depending on Idx.
!
!*/
Object IMux $ClassDef 404
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "IMux"
EndBody
!/**
! Index for selected value.
! First input has index 0.
!*/
Object Index $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Idx"
EndBody
EndObject
!/**
! Value of input signal 0, input signal 1, ...
!*/
Object In0 $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In0"
EndBody
EndObject
Object In1 $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In1"
EndBody
EndObject
Object In2 $Input 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In2"
EndBody
EndObject
Object In3 $Input 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In3"
EndBody
EndObject
Object In4 $Input 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In4"
EndBody
EndObject
Object In5 $Input 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In5"
EndBody
EndObject
Object In6 $Input 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In6"
EndBody
EndObject
Object In7 $Input 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In7"
EndBody
EndObject
Object In8 $Input 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In8"
EndBody
EndObject
Object In9 $Input 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In9"
EndBody
EndObject
Object In10 $Input 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In10"
EndBody
EndObject
Object In11 $Input 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In11"
EndBody
EndObject
Object In12 $Input 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In12"
EndBody
EndObject
Object In13 $Input 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In13"
EndBody
EndObject
Object In14 $Input 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In14"
EndBody
EndObject
Object In15 $Input 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In15"
EndBody
EndObject
Object In16 $Input 18
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In16"
EndBody
EndObject
Object In17 $Input 19
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In17"
EndBody
EndObject
Object In18 $Input 20
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In18"
EndBody
EndObject
Object In19 $Input 21
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In19"
EndBody
EndObject
Object In20 $Input 22
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In20"
EndBody
EndObject
Object In21 $Input 23
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In21"
EndBody
EndObject
Object In22 $Input 24
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In22"
EndBody
EndObject
Object In23 $Input 25
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In23"
EndBody
EndObject
!/**
! Selected value.
!*/
Object ActVal $Output 26
Body SysBody
Attr PgmName = "ActVal"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 25
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 7
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "IMux"
Attr graphname = "IMux"
Attr debugpar = ""
EndBody
EndObject
Object Template IMux
Body RtBody
EndBody
EndObject
EndObject
EndSObject
......@@ -143,6 +143,17 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$URL"
EndBody
EndObject
!/**
! @Summary A note of the current status of the object.
! A note of the current status of the object.
! Notes are used to exchange information between operators. It is handled
! by the Note method.
!*/
Object Note $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
EndObject
Object ConfiguratorPoson $Menu
Object Pointed $Menu
......
! pwrb_c_isel.wb_load -- Defines the class ISel.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcInteger
! @Summary Integer selection.
! Integer selection.
! @image orm_isel_fo.gif
!
! Select one of two inputs.
!
!*/
Object ISel $ClassDef 402
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "ISel"
EndBody
!/**
! Integer input.
!*/
Object In1 $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In2 $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! Control.
!*/
Object Control $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "con"
EndBody
EndObject
!/**
! Selected value.
!*/
Object ActVal $Output 9
Body SysBody
Attr PgmName = "ActVal"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 3
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 7
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "ISel"
Attr graphname = "ISel"
Attr debugpar = ""
EndBody
EndObject
Object Template ISel
EndObject
EndObject
EndSObject
! pwrb_c_isub.wb_load -- Defines the class ISub.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcInteger
! @Summary Integer subtraction
! Integer subtraction.
! @image orm_isub_fo.gif
!
! Integer subtraction In1 - In2.
!
!*/
Object ISub $ClassDef 398
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "ISub"
EndBody
!/**
! Minuend.
!*/
Object In1 $Input 1
Body SysBody
Attr PgmName = "In1"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Subtrahend.
!*/
Object In2 $Input 2
Body SysBody
Attr PgmName = "In2"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! The result of the subtraction In1 - In2.
!*/
Object ActVal $Output 3
Body SysBody
Attr PgmName = "ActVal"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 10
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "ISub"
Attr graphname = "ISub"
Attr debugpar = ""
EndBody
EndObject
Object Template ISub
EndObject
EndObject
EndSObject
......@@ -131,6 +131,17 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$URL"
EndBody
EndObject
!/**
! @Summary A note of the current status of the object.
! A note of the current status of the object.
! Notes are used to exchange information between operators. It is handled
! by the Note method.
!*/
Object Note $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
EndObject
Object ConfiguratorPoson $Menu
Object Pointed $Menu
......
! pwrb_c_lessequal.wb_load -- Defines the class LessEqual.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcInteger
! @Summary Check if an integer value is less than or equal another.
! LessEqual compares two integer values and returns true if the first
! is less than or equal the second.
! @image orm_lessequal_fo.gif
!*/
Object LessEqual $ClassDef 394
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "LessEqual"
EndBody
!/**
! Integer input 1.
!*/
Object In1 $Input 1
Body SysBody
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOINVERT
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Integer input 2.
!*/
Object In2 $Input 2
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! True if In1 is less or equal In2.
!*/
Object Status $Output 3
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "sts"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 3
Attr traceindex = 1
Attr executeordermethod = 2
Attr objname = "Le"
Attr graphname = "Le"
Attr debugpar = "Status"
EndBody
EndObject
Object Template LessEqual
Body RtBody
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_lessthan.wb_load -- Defines the class LessThan.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcInteger
! @Summary Check if an integer value is less than another.
! LessThan compares two integer values and returns true if the first
! is less than the second.
! @image orm_lessthan_fo.gif
!*/
Object LessThan $ClassDef 395
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "LessThan"
EndBody
!/**
! Integer input 1.
!*/
Object In1 $Input 1
Body SysBody
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOINVERT
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Integer input 2.
!*/
Object In2 $Input 2
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! True if In is less than In2.
!*/
Object Status $Output 3
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "sts"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 3
Attr traceindex = 1
Attr executeordermethod = 2
Attr objname = "Lt"
Attr graphname = "Lt"
Attr debugpar = "Status"
EndBody
EndObject
Object Template LessThan
Body RtBody
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_ln.wb_load -- Defines the class Ln.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_macro_div.h
! @Group Plc,PlcArithm
! @Summary Natural logarithm
! Ln calculates the natural logarithm of the input.
! @image orm_ln_fo.gif
!*/
Object Ln $ClassDef 410
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Ln"
EndBody
!/**
! Input. In * FactorIn should not be negative, and not zero.
!*/
Object In $Input 1
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! Factor multiplied with the input before calculating the logarithm
! value.
!*/
Object FactorIn $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Factor multiplied with the calculated logarithm value.
!*/
Object FactorVal $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Output value.
!*/
Object ActVal $Output 4
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 1
Attr parameters[1] = 2
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 5
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "Ln"
Attr graphname = "Ln"
EndBody
EndObject
Object Template Ln
Body RtBody
Attr FactorIn = 1
Attr FactorVal = 1
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_log.wb_load -- Defines the class Ln.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_macro_div.h
! @Group Plc,PlcArithm
! @Summary Logarithm base 10
! Ln calculates the base 10 logarithm of the input.
! @image orm_log_fo.gif
!*/
Object Log $ClassDef 411
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Log"
EndBody
!/**
! Input. In * FactorIn should not be negative, and not zero.
!*/
Object In $Input 1
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! Factor multiplied with the input before calculating the logarithm
! value.
!*/
Object FactorIn $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Factor multiplied with the calculated logarithm value.
!*/
Object FactorVal $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Output value.
!*/
Object ActVal $Output 4
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 1
Attr parameters[1] = 2
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 5
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "Log"
Attr graphname = "Log"
EndBody
EndObject
Object Template Log
Body RtBody
Attr FactorIn = 1
Attr FactorVal = 1
EndBody
EndObject
EndObject
EndSObject
......@@ -42,7 +42,7 @@ SObject pwrb:Class
EndBody
EndObject
!/**
! Digital input representing bit number 1.
! Digital output representing bit number 1.
!*/
Object od1 $Output 2
Body SysBody
......
! pwrb_c_max.wb_load -- Defines the class Max.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcAnalog
! @Summary Analog maximum function.
! Analog maximum function.
! @image orm_max_fo.gif
!
! Get maximum of up to 8 integer inputs.
!
!*/
Object Max $ClassDef 414
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Max"
EndBody
!/**
! Integer input.
!*/
Object In1 $Input 1
Body SysBody
Attr PgmName = "In1"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In2 $Input 2
Body SysBody
Attr PgmName = "In2"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In3 $Input 3
Body SysBody
Attr PgmName = "In3"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In3"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In4 $Input 4
Body SysBody
Attr PgmName = "In4"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In4"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In5 $Input 5
Body SysBody
Attr PgmName = "In5"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In5"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In6 $Input 6
Body SysBody
Attr PgmName = "In6"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In6"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In7 $Input 7
Body SysBody
Attr PgmName = "In7"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In7"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In8 $Input 8
Body SysBody
Attr PgmName = "In8"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In8"
EndBody
EndObject
!/**
! Maximum value.
!*/
Object ActVal $Output 9
Body SysBody
Attr PgmName = "ActVal"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 8
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "Max"
Attr graphname = "Max"
Attr debugpar = ""
EndBody
EndObject
Object Template Max
Body RtBody
Attr In1 = -1.0E37
Attr In2 = -1.0E37
Attr In3 = -1.0E37
Attr In4 = -1.0E37
Attr In5 = -1.0E37
Attr In6 = -1.0E37
Attr In7 = -1.0E37
Attr In8 = -1.0E37
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_min.wb_load -- Defines the class Min.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcAnalog
! @Summary Analog minimum function.
! Analog minimum function.
! @image orm_min_fo.gif
!
! Get minimum of up to 8 integer inputs.
!
!*/
Object Min $ClassDef 413
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Min"
EndBody
!/**
! Integer input.
!*/
Object In1 $Input 1
Body SysBody
Attr PgmName = "In1"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In2 $Input 2
Body SysBody
Attr PgmName = "In2"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In3 $Input 3
Body SysBody
Attr PgmName = "In3"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In3"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In4 $Input 4
Body SysBody
Attr PgmName = "In4"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In4"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In5 $Input 5
Body SysBody
Attr PgmName = "In5"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In5"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In6 $Input 6
Body SysBody
Attr PgmName = "In6"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In6"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In7 $Input 7
Body SysBody
Attr PgmName = "In7"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In7"
EndBody
EndObject
!/**
! Integer input.
!*/
Object In8 $Input 8
Body SysBody
Attr PgmName = "In8"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In8"
EndBody
EndObject
!/**
! Minimum value.
!*/
Object ActVal $Output 9
Body SysBody
Attr PgmName = "ActVal"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 8
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "Min"
Attr graphname = "Min"
Attr debugpar = ""
EndBody
EndObject
Object Template Min
Body RtBody
Attr In1 = 1.0E37
Attr In2 = 1.0E37
Attr In3 = 1.0E37
Attr In4 = 1.0E37
Attr In5 = 1.0E37
Attr In6 = 1.0E37
Attr In7 = 1.0E37
Attr In8 = 1.0E37
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_mod.wb_load -- Defines the class Mod.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcArithm
! @Summary Remainder of division.
! Mod calculates the reminder of dividing In1 by In2.
! @image orm_mod_fo.gif
!*/
Object Mod $ClassDef 383
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Mod"
EndBody
!/**
! Input 1.
!*/
Object In1 $Input 1
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Input 2.
!*/
Object In2 $Input 2
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! The reminder of the quoutient of x and y.
!*/
Object ActVal $Output 3
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "Mod"
Attr graphname = "Mod"
EndBody
EndObject
Object Template Mod
EndObject
EndObject
EndSObject
! pwrb_c_mul.wb_load -- Defines the class Mul.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcAnalog
! @Summary Analog multiplication
! Analog multiplication.
! @image orm_mul_fo.gif
!
! Multiplication of up to 8 analog inputs.
!
!*/
Object Mul $ClassDef 406
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Mul"
EndBody
!/**
! Analog factor.
!*/
Object In1 $Input 1
Body SysBody
Attr PgmName = "In1"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Analog factor.
!*/
Object In2 $Input 2
Body SysBody
Attr PgmName = "In2"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! Analog factor.
!*/
Object In3 $Input 3
Body SysBody
Attr PgmName = "In3"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In3"
EndBody
EndObject
!/**
! Analog factor.
!*/
Object In4 $Input 4
Body SysBody
Attr PgmName = "In4"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In4"
EndBody
EndObject
!/**
! Analog factor.
!*/
Object In5 $Input 5
Body SysBody
Attr PgmName = "In5"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In5"
EndBody
EndObject
!/**
! Analog factor.
!*/
Object In6 $Input 6
Body SysBody
Attr PgmName = "In6"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In6"
EndBody
EndObject
!/**
! Analog factor.
!*/
Object In7 $Input 7
Body SysBody
Attr PgmName = "In7"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In7"
EndBody
EndObject
!/**
! Analog factor.
!*/
Object In8 $Input 8
Body SysBody
Attr PgmName = "In8"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In8"
EndBody
EndObject
!/**
! The result of the multiplication.
!*/
Object ActVal $Output 9
Body SysBody
Attr PgmName = "ActVal"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 8
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "Mul"
Attr graphname = "Mul"
Attr debugpar = ""
EndBody
EndObject
Object Template Mul
Body RtBody
Attr In1 = 1
Attr In2 = 1
Attr In3 = 1
Attr In4 = 1
Attr In5 = 1
Attr In6 = 1
Attr In7 = 1
Attr In8 = 1
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_mux.wb_load -- Defines the class Mux.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcAnalog
! @Summary Analog multiplexer
! Analog multiplexer.
! @image orm_mux_fo.gif
!
! Select one of 24 analog inputs, depending on Idx.
!
!*/
Object Mux $ClassDef 405
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Mux"
EndBody
!/**
! Index for selected value.
! First input has index 0.
!*/
Object Index $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Idx"
EndBody
EndObject
!/**
! Value of input signal 0, input signal 1, ...
!*/
Object In0 $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In0"
EndBody
EndObject
Object In1 $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In1"
EndBody
EndObject
Object In2 $Input 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In2"
EndBody
EndObject
Object In3 $Input 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In3"
EndBody
EndObject
Object In4 $Input 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In4"
EndBody
EndObject
Object In5 $Input 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In5"
EndBody
EndObject
Object In6 $Input 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In6"
EndBody
EndObject
Object In7 $Input 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In7"
EndBody
EndObject
Object In8 $Input 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In8"
EndBody
EndObject
Object In9 $Input 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In9"
EndBody
EndObject
Object In10 $Input 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In10"
EndBody
EndObject
Object In11 $Input 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In11"
EndBody
EndObject
Object In12 $Input 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In12"
EndBody
EndObject
Object In13 $Input 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In13"
EndBody
EndObject
Object In14 $Input 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In14"
EndBody
EndObject
Object In15 $Input 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In15"
EndBody
EndObject
Object In16 $Input 18
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In16"
EndBody
EndObject
Object In17 $Input 19
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In17"
EndBody
EndObject
Object In18 $Input 20
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In18"
EndBody
EndObject
Object In19 $Input 21
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In19"
EndBody
EndObject
Object In20 $Input 22
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In20"
EndBody
EndObject
Object In21 $Input 23
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In21"
EndBody
EndObject
Object In22 $Input 24
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In22"
EndBody
EndObject
Object In23 $Input 25
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In23"
EndBody
EndObject
!/**
! Selected value.
!*/
Object ActVal $Output 26
Body SysBody
Attr PgmName = "ActVal"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 25
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 7
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "Mux"
Attr graphname = "Mux"
Attr debugpar = ""
EndBody
EndObject
Object Template Mux
Body RtBody
EndBody
EndObject
EndObject
EndSObject
......@@ -13,10 +13,10 @@ SObject pwrb:Class
! The NodeConfig object configures a node in the current project
! on which the proview runtime environment should be started.
!
! The NodeConfig object is created in the project volume as a toplevel
! object in the node-hierachy. Is is the root of an object tree of
! voluemload and distribution object, which together configures QCOM,
! nethandler and the distributor. The following objects can be a part
! The NodeConfig object is created in the project volume as a child to
! a BusConfig-object in the node-hierachy. Is is the root of an object
! tree of volumeload and distribution object, which together configures
! QCOM, nethandler and the distributor. The following objects can be a part
! of the tree.
!
! The NodeConfig object should have a RootVolumeLoad object as
......@@ -25,7 +25,7 @@ SObject pwrb:Class
! Any additional classvolumes that belongs to a mounted volume can
! be loaded with a ClassVolumeLoad object.
!
! Distribution objects (ApplDistribute, GraphDistribute) configures
! Distribution objects (Distribute, ApplDistribute) configures
! application programs and other files that should be copied to the node.
!
! @b See also
......@@ -33,7 +33,6 @@ SObject pwrb:Class
! @classlink ClassVolumeLoad pwrb_classvolumeload.html
! @classlink FriendNodeConfig pwrb_friendnodeconfig.html
! @classlink Distribute pwrb_distribute.html
!
!*/
Object NodeConfig $ClassDef 160
Body SysBody
......
! pwrb_c_odd.wb_load -- Defines the class Odd.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_macro_div.h
! @Group Plc,PlcInteger
! @Summary Check if a status or integer is odd.
! Odd return true if the input is odd.
! @image orm_odd_fo.gif
!*/
Object Odd $ClassDef 390
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Odd"
EndBody
!/**
! Integer or status input.
!*/
Object In $Input 1
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! True if the input is odd.
!*/
Object Status $Output 2
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "Sts"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 1
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 5
Attr compindex = 0
Attr tracemethod = 3
Attr traceindex = 1
Attr executeordermethod = 2
Attr objname = "Odd"
Attr graphname = "Odd"
Attr debugpar = "Status"
EndBody
EndObject
Object Template Odd
EndObject
EndObject
EndSObject
......@@ -365,7 +365,7 @@ SObject pwrb:Class
! @Summary IO Process number.
! The process number is normally PlcProcess (1) for plc threads.
! In some IO system though, a plc thread should act as a
! separate IO process. This is done when an Agent, Rack of Card
! separate IO process. This is done when an Agent, Rack or Card
! should be handled by several plc threads.
!*/
Object IoProcess $Attribute 35
......
......@@ -153,25 +153,14 @@ SObject pwrb:Class
EndBody
EndObject
!/**
! Text associated to ActualValue = FALSE. At presentation
! when ActualValue = FALSE TextWhenValIs0 is displayed;
! OFF may often be a suitable text.
! The attribute is used by the object display.
! @Summary A note of the current status of the object.
! A note of the current status of the object.
! Notes are used to exchange information between operators. It is handled
! by the Note method.
!*/
Object TextWhenValIs0 $Attribute 8
Object Note $Attribute 17
Body SysBody
Attr TypeRef = "pwrs:Type-$String16"
EndBody
EndObject
!/**
! Text associated to ActualValue = TRUE. At presentation
! when ActualValue = TRUE TextWhenValIs1 is displayed; ON
! may often be a suitable text.
! The attribute is used by the object display.
!*/
Object TextWhenValIs1 $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$String16"
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
......
......@@ -240,12 +240,12 @@ SObject pwrb:Class
Attr rtbody_annotation = 1
Attr compmethod = 5
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr tracemethod = 3
Attr traceindex = 1
Attr executeordermethod = 2
Attr objname = "Pulse"
Attr graphname = "Pulse"
Attr debugpar = ""
Attr debugpar = "Status"
EndBody
EndObject
Object Template Pulse
......@@ -255,3 +255,4 @@ SObject pwrb:Class
EndObject
EndObject
EndSObject
......@@ -96,7 +96,7 @@ SObject pwrb:Class
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 15
Attr graphmethod = 7
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 0
......
......@@ -20,7 +20,6 @@ SObject pwrb:Class
!
! @classlink NodeConfig pwrb_nodeconfig.html
! @classlink ClassVolumeLoad pwrb_classvolumeload.html
!
!*/
Object RootVolumeLoad $ClassDef 196
Body SysBody
......
......@@ -97,7 +97,7 @@ SObject pwrb:Class
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 15
Attr graphmethod = 7
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 0
......
! pwrb_c_sin.wb_load -- Defines the class Sin.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_macro_div.h
! @Group Plc,PlcArithm
! @Summary Sine function
! Sin calculates the sine of the input, where the input is given
! in radians.
! @image orm_sin_fo.gif
!
! The output ActVal is calculated as
!
! ActVal = FactorVal * sin( FactorIn * In)
!
!*/
Object Sin $ClassDef 378
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Sin"
EndBody
!/**
! Analog input in radians.
!*/
Object In $Input 1
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! Factor multiplied with the input before calculating the sine
! value. If the input value is in degrees, this value should be
! 180 / PI.
!*/
Object FactorIn $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Factor multiplied with the calculated sine value.
!*/
Object FactorVal $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Output value (FactorVal * sin( FactorIn * In)).
!*/
Object ActVal $Output 4
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 1
Attr parameters[1] = 2
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 5
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "Sin"
Attr graphname = "Sin"
EndBody
EndObject
Object Template Sin
Body RtBody
Attr FactorIn = 1
Attr FactorVal = 1
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_sqrt.wb_load -- Defines the class Sqrt.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_macro_div.h
! @Group Plc,PlcArithm
! @Summary Square root function
! Sqrt calculates the square root of the input.
! The input * FactorIn should not be negative.
! @image orm_sqrt_fo.gif
!*/
Object Sqrt $ClassDef 381
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Sqrt"
EndBody
!/**
! Input. The input * FactorIn should not be negative.
!*/
Object In $Input 1
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! Factor multiplied with the input before calculating the square root
! value.
!*/
Object FactorIn $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Factor multiplied with the calculated square root value.
!*/
Object FactorVal $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Output value.
!*/
Object ActVal $Output 4
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 1
Attr parameters[1] = 2
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 5
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "Sqrt"
Attr graphname = "Sqrt"
EndBody
EndObject
Object Template Sqrt
Body RtBody
Attr FactorIn = 1
Attr FactorVal = 1
EndBody
EndObject
EndObject
EndSObject
......@@ -48,7 +48,7 @@ SObject pwrb:Class
EndObject
!/**
! @Summary The second string that is appended to the first string.
! The second string that is appende to the first string.
! The second string that is appended to the first string.
! The input has to be connected to an output of type String.
!*/
Object Str2 $Input 2
......
! pwrb_c_sub.wb_load -- Defines the class Sub.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcAnalog
! @Summary Analog subtraction
! Analog subtraction.
! @image orm_sub_fo.gif
!
! Analog subtraction In1 - In2.
!
!*/
Object Sub $ClassDef 408
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Sub"
EndBody
!/**
! Minuend.
!*/
Object In1 $Input 1
Body SysBody
Attr PgmName = "In1"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In1"
EndBody
EndObject
!/**
! Subtrahend.
!*/
Object In2 $Input 2
Body SysBody
Attr PgmName = "In2"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "In2"
EndBody
EndObject
!/**
! The result of the subtraction In1 - In2.
!*/
Object ActVal $Output 3
Body SysBody
Attr PgmName = "ActVal"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 10
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "Sub"
Attr graphname = "Sub"
Attr debugpar = ""
EndBody
EndObject
Object Template Sub
EndObject
EndObject
EndSObject
......@@ -16,7 +16,7 @@ SObject pwrb:Class
! Extract a substring from a string.
! @image orm_substr_fo.gif
!
! The SubStr extracts a substring from at string at the specified
! The SubStr extracts a substring from a string at the specified
! offset and with the specified length.
!
!*/
......
! pwrb_c_sysmonconfig.wb_load -- Defines the class SysMonConfig.
!
! PROVIEW/R
! Copyright (C) 1999 by Mandator AB.
!
! System monitor configuration.
!
SObject pwrb:Class
!/**
! @Code rt_disksup.c
! @Group Supervision,NodeConfiguration
! @Summary System monitor configuration
! Configuration object for the system monitor.
!*/
Object SysMonConfig $ClassDef 418
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "SysMonConfig"
EndBody
!/**
! Optional description.
!*/
Object Description $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Scantime in seconds.
!*/
Object ScanTime $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Contains the objid for the DiskSup objects.
! The objid's are inserted by the rt_sysmon server process.
!*/
Object DiskSupObjects $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 25
EndBody
EndObject
EndObject
Object Template SysMonConfig
Body RtBody
Attr ScanTime = 60
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_tan.wb_load -- Defines the class Tan.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_macro_div.h
! @Group Plc,PlcArithm
! @Summary Tangent function
! Tan calculates the tangent of the input, where the input is given
! in radians.
! @image orm_tan_fo.gif
! The output ActVal is calculated as
!
! ActVal = FactorVal * tan( FactorIn * In)
!
!*/
Object Tan $ClassDef 380
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Tan"
EndBody
!/**
! Input in radians.
!*/
Object in $Input 1
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOREMOVE
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "in"
EndBody
EndObject
!/**
! Factor multiplied with the input before calculating the tangent
! value. If the input value is in degrees, this value should be
! 180 / PI.
!*/
Object FactorIn $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Factor multiplied with the calculated tangent value.
!*/
Object FactorVal $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Output value (FactorVal * tan( FactorIn * In)
!*/
Object ActVal $Output 4
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Val"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 1
Attr parameters[1] = 2
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 1
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 1
Attr segname_annotation = 1
Attr compmethod = 5
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "Tan"
Attr graphname = "Tan"
EndBody
EndObject
Object Template Tan
Body RtBody
Attr FactorIn = 1
Attr FactorVal = 1
EndBody
EndObject
EndObject
EndSObject
......@@ -234,12 +234,12 @@ SObject pwrb:Class
Attr rtbody_annotation = 1
Attr compmethod = 5
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr tracemethod = 3
Attr traceindex = 1
Attr executeordermethod = 2
Attr objname = "Timer"
Attr graphname = "Timer"
Attr debugpar = ""
Attr debugpar = "Status"
EndBody
EndObject
Object Template Timer
......
......@@ -233,12 +233,12 @@ SObject pwrb:Class
Attr rtbody_annotation = 1
Attr compmethod = 5
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr tracemethod = 3
Attr traceindex = 1
Attr executeordermethod = 2
Attr objname = "Wait"
Attr graphname = "Wait"
Attr debugpar = ""
Attr debugpar = "Status"
EndBody
EndObject
Object Template Wait
......
......@@ -14,7 +14,7 @@ SObject pwrb:Class
! @Summary Configuration of workbench environment.
! The WbEnviroment configures the workbench environment.
! The object resides in the project volume as a top object.
! In the path attribute a search path for loadfiles.
! In the path attribute a search path for loadfiles can be supplied.
! The object can have children of type RootVolumeLoad, SubVolumeLoad
! and ClassVolumeLoad that defines which volumes can be loaded into the
! workbench environment.
......
......@@ -49,13 +49,18 @@ SObject pwrb:Class
EndObject
!/**
! @Summary Destination window for the graph.
! Destination window for the graph.
! Destination window for an applet graph.
! If the graph is exporter as an java applet, you kan specify in
! which frame the applet is displayed.
! The window contains two frames, the menu frame to the left
! and the applet frame to the right.
! By default the applet is displayed in the applet, but it is also
! and the main frame to the right.
! By default the applet is displayed in the main frame, but it is also
! possible to display it in a separate window, or to also cover the menu
! frame.
!
! If the graph is exported as a java frame it is always opened in a
! separate window.
!
! 0: Right frame
! 1: Parent
! 2: Separate window
......
......@@ -44,8 +44,8 @@ SObject pwrb:Class
EndBody
!/**
! @Summary Max number of web connections to the GdhServer process
! Max number of connections to the GdhServer process.
! Every graph-applet that is displayed, opens a link to the GdhSever
! Max number of concurrent connections to the GdhServer process.
! Every graph-applet that is displayed, opens a link to the GdhServer
! process. If MaxConnections is exceeded, the connect request will
! be rejected.
!*/
......
......@@ -9,7 +9,7 @@ SObject pwrb:Class
!/**
! @Version 1.0
! @Summary Defines a web link in a proview website
! The WebGraph object defines a web link in a proview website, and will
! The WebLink object defines a web link in a proview website, and will
! be displayed as an entry in the menu frame.
! WebLink objects should be positioned as children to a WebHandler object.
!
......
This source diff could not be displayed because it is too large. You can view the blob instead.
! pwrb_disksupactionmask.wb_load -- Defines the mask type DiskSupActionMask
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
SObject pwrb:Type
!/**
! @Version 1.0
! @Group Types
! Bitmask for action in a DiskSup.
!
! @b See also
! @classlink DiskSup pwrb_disksup.html
!*/
Object DiskSupActionMask $TypeDef 31
Body SysBody
Attr Type = pwr_eType_Mask
Attr Size = 4
Attr TypeRef = "pwrs:Type-$Mask"
Attr Elements = 1
EndBody
!/**
! Alarm action.
!*/
Object Alarm $Bit
Body SysBody
Attr PgmName = "Alarm"
Attr Text = "Alarm"
Attr Value = 1
EndBody
EndObject
!/**
! Command action.
!*/
Object Command $Bit
Body SysBody
Attr PgmName = "Command"
Attr Text = "Command"
Attr Value = 2
EndBody
EndObject
EndObject
EndSObject
......@@ -13,7 +13,7 @@ SObject pwrb:Type
! in the plc editor.
!
! @b See also
! @classlink Mode pwrb_text.html
! @classlink Text pwrb_text.html
!*/
Object FrameAttrEnum $TypeDef 5
Body SysBody
......
......@@ -13,7 +13,7 @@ SObject pwrb:Type
! in the plc editor.
!
! @b See also
! @classlink Mode pwrb_text.html
! @classlink Text pwrb_text.html
!*/
Object TextAttrEnum $TypeDef 6
Body SysBody
......
......@@ -12,7 +12,7 @@ SObject pwrb:Type
! Target for web pages.
!
! @b See also
! @classlink Mode pwrb_weblink.html
! @classlink WebLink pwrb_weblink.html
!*/
Object WebTargetEnum $TypeDef 4
Body SysBody
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment