Commit d652e713 authored by claes's avatar claes

Integer io implemented

parent 16a45557
......@@ -24,3 +24,4 @@ group PlcDrive pwrb_drive.html
group PlcEdit pwrb_bodytext.html
group PlcString pwrb_atostr.html
group PlcData pwrb_dataarithm.html
group PlcConversion pwrb_atoi.html
! pwrb_c_atoi.wb_load -- Defines the class AtoI.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
!/**
! @Version 1.0
! @Code rt_plc_macro_io.h
! @Group Plc,PlcConversion
! @Summary Convert analog value to integer
! Convert analog value to integer.
! @image orm_atoi_fo.gif
!
! The AtoI object converts the value of the analog input to
! an integer (pwr_tInt32) stored in ActVal.
! The analog value is rounded to closest integer value.
!*/
SObject pwrb:Class
Object AtoI $ClassDef 343
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "AtoI"
EndBody
!/**
! Analog input that will be converted to integer.
!*/
Object In $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOREMOVE
Attr GraphName = "In"
EndBody
EndObject
!/**
! Output that contains the integer.
!*/
Object ActVal $Output 3
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 = "AtoI"
Attr graphname = "AtoI"
EndBody
EndObject
EndObject
EndSObject
......@@ -171,6 +171,69 @@ SObject pwrb:Class
EndBody
EndObject
!/**
! Integer quantities that can be included in the Code
! attribute. If , for example, I1 is connected, the
! external signal is used, otherwise the internal
! attribute IIn1. Changes in IIn1, ..., IIn8 in the run
! time system are taken into consideration.
!*/
Object IIn1 $Input 33
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "I1"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object IIn2 $Input 34
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "I2"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object IIn3 $Input 35
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "I3"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object IIn4 $Input 36
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "I4"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object IIn5 $Input 37
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "I5"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object IIn6 $Input 38
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "I6"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object IIn7 $Input 39
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "I7"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
Object IIn8 $Input 40
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "I8"
Attr Flags |= PWR_MASK_NOINVERT
EndBody
EndObject
!/**
! The analog results of the latest Code evaluation.
!*/
Object OutA1 $Output 17
......@@ -320,13 +383,88 @@ SObject pwrb:Class
Attr GraphName = "od8"
EndBody
EndObject
!/**
! The integer results of the latest Code evaluation.
!*/
Object OutI1 $Output 41
Body SysBody
Attr PgmName = "OutI1"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "OI1"
EndBody
EndObject
Object OutI2 $Output 42
Body SysBody
Attr PgmName = "OutI2"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "OI2"
EndBody
EndObject
Object OutI3 $Output 43
Body SysBody
Attr PgmName = "OutI3"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "OI3"
EndBody
EndObject
Object OutI4 $Output 44
Body SysBody
Attr PgmName = "OutI4"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "OI4"
EndBody
EndObject
Object OutI5 $Output 45
Body SysBody
Attr PgmName = "OutI5"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "OI5"
EndBody
EndObject
Object OutI6 $Output 46
Body SysBody
Attr PgmName = "OutI6"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "OI6"
EndBody
EndObject
Object OutI7 $Output 47
Body SysBody
Attr PgmName = "OutI7"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "OI7"
EndBody
EndObject
Object OutI8 $Output 48
Body SysBody
Attr PgmName = "OutI8"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "OI8"
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 16
Attr parameters[0] = 24
Attr parameters[1] = 0
Attr parameters[2] = 16
Attr parameters[2] = 24
Attr parameters[3] = 0
Attr subwindows = 1
Attr graphmethod = 14
......
......@@ -19,11 +19,9 @@
!
! Conditional is aimed at the con-input, which is
! supposed to be connected.
!
! @b Note!
! This object is used for simulation purposes.
! SimulFlag will be set TRUE and ReadWriteFlag FALSE
! in the IOHandler object, i.e. any physical I/O-hardware may
! Note! This object is used for simulation purposes.
! IOSimulFlag will be set TRUE and IOReadWriteFlag FALSE
! in the $Node object, i.e. any physical I/O-hardware may
! not be used on the node in connection to this object.
!*/
SObject pwrb:Class
......
! pwrb_c_cstoatoip.wb_load -- Defines the class CStoAtoIp.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! Conditional Store Integer parameter.
!
! Range ldh_eDId_Base
!
!/**
! @Version 1.0
! @Code rt_plc_macro_io.h
! @Group Plc,PlcIO
! @Summary Conditional storage of integer attribute
! Conditional Storage Integer parameter.
! @image orm_cstoatoip_fo.gif
!
! Conditional storage of an analog value ( parameter,
! input, or output signal of the type pwr_tFloat32) on a
! specified 32-,16-, or 8-bits integer parameter in a
! local object.
! Conditional is aimed at the con-input, which is
! supposed to be connected. The analog value is rounded to
! closest integer value.
!
! The last name segment of the object and the name of the
! parameter will be shown in the right empty part of the
! CStoAtoIp symbol.
! The conditional input signal can be inverted by means
! of the Attribute Editor but the graphic symbol cannot
! display it. So the user is recommended -- if needed ---
! to an explicit use of an Inv object.
!
! It is not allowed, by means of a function in C or PLC
! programs, to write in any of the inputs.
!*/
SObject pwrb:Class
Object CStoAtoIp $ClassDef 78
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtConnectionsAndDevBodies
Attr Flags = pwr_mClassDef_DevOnly
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "CStoAtoIp"
EndBody
!/**
! The input is connected to an analog signal or left
! open. In the latter case the In is considered to be
! stored.
!*/
Object In $Input 1
Body SysBody
Attr PgmName = "In"
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_DEVBODYREF
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "VAL"
Attr ConPointNr = 0
EndBody
EndObject
!/**
! Specifies whether a storage will be done or not. FALSE
! means no storage and TRUE means storage of an analog
! value.
!*/
Object Cond $Input 2
Body SysBody
Attr PgmName = "Cond"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_DEVBODYREF
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "con"
Attr ConPointNr = 1
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
!/**
! Specifies the name of the object where to store the
! value.
!*/
Object Object $Intern 1
Body SysBody
Attr PgmName = "Object"
Attr TypeRef = "pwrs:Type-$Objid"
Attr GraphName = "sts"
Attr NiNaAnnot = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Specifies, in an object specified by Object, the name
! of the attribute where to store the value.
!*/
Object Parameter $Intern 2
Body SysBody
Attr PgmName = "Parameter"
Attr TypeRef = "pwrs:Type-$String80"
Attr GraphName = "par"
Attr NiNaAnnot = 2
Attr ConPointNr = 0
EndBody
EndObject
!/**
! Specifies how many segments of the actual object name
! that is to be displayed in the symbol of the CStoAtoIp
! object. The segments are counted from behind.
!
! 0 and 1 both result in displaying the last segment of
! the actual object name.
!*/
Object ObjectSegments $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object PlcNode $Buffer 4
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 251
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 15
Attr graphindex = 0
Attr default_mask[0] = 3
Attr default_mask[1] = 0
Attr segname_annotation = 0
Attr devbody_annotation = 1
Attr compmethod = 12
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 1
Attr connectmethod = 7
Attr executeordermethod = 2
Attr objname = "CStoAtoIp"
Attr graphname = "CStoAtoIp"
Attr debugpar = "Cond"
EndBody
EndObject
Object Template CStoAtoIp
Body RtBody
Attr Cond = 1
EndBody
Body DevBody
Attr ObjectSegments = 2
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_cstoii.wb_load -- Defines the class CStoIi.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
! Range ldh_eDId_Base
!
!/**
! @Version 1.0
! @Code rt_plc_macro_io.h
! @Summary Conditional storage of Ii signal
! Conditional Storage Integer input.
! @image orm_cstoii_fo.gif
!
! Conditional storage of an integer value on a specified
! local Ii-signal (= Ii object).
!
! Conditional is aimed at the con-input, which is
! supposed to be connected.
!
! @b Note!
! This object is used for simulation purposes.
! SimulFlag will be set TRUE and ReadWriteFlag FALSE
! in the IOHandler object, i.e. any physical I/O-hardware may
! not be used on the node in connection to this object.
!*/
SObject pwrb:Class
Object CStoIi $ClassDef 335
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtConnectionsAndDevBodies
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "cstoii"
EndBody
!/**
! The input is connected to an integer signal or left
! open. In the latter case the In value is considered to
! be stored.
!*/
Object In $Input 1
Body SysBody
Attr PgmName = "ActualValue"
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_DEVBODYREF
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "VAL"
EndBody
EndObject
!/**
! Specifies whether a storage will be done or not. FALSE
! means no storage and TRUE means storage of an integer
! value.
!*/
Object Cond $Input 2
Body SysBody
Attr PgmName = "Cond"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_DEVBODYREF
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "con"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
!/**
! Specifies the name of the Ii object where to store the
! value.
!*/
Object IiObject $Intern 1
Body SysBody
Attr PgmName = "IiObject"
Attr TypeRef = "pwrs:Type-$Objid"
Attr GraphName = "In"
Attr NiNaAnnot = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Used by the PLC Editor.
!*/
Object SigChanCon $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_INVISIBLE
Attr NiNaAnnot = 3
Attr NiNaCond = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Specifies how many segments of the Ii object name that
! is to be displayed in the symbol of the CStoIi object.
! The segments are counted from behind.
! 0 and 1 both result in displaying the last segment of
!*/
Object IiObjectSegments $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Specifies if the name on the channel object (
! associated with the signal object) is to be displayed
! in the symbol of the CStoIi object or not. FALSE means
! no displaying and TRUE displaying.
! See also SigChanConSegments.
!*/
Object ShowSigChanCon $Intern 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Specifies, when ShowSigChanCon = TRUE, how many
! segments of the channel object name that is to be
! displayed in the symbol of the CStoIi object. The
! segments are counted from behind.
! 0 and 1 both result in displaying the last segment of
! the channel object name.
!*/
Object SigChanConSegments $Intern 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object PlcNode $Buffer 6
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 268
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 15
Attr graphindex = 1
Attr default_mask[0] = 3
Attr default_mask[1] = 0
Attr segname_annotation = 0
Attr devbody_annotation = 1
Attr compmethod = 38
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 1
Attr connectmethod = 22
Attr executeordermethod = 2
Attr objname = "CStoIi"
Attr graphname = "CStoIi"
Attr debugpar = "Cond"
EndBody
EndObject
Object Template CStoIi
Body DevBody
Attr IiObjectSegments = 2
Attr ShowSigChanCon = 1
Attr SigChanConSegments = 2
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_cstoio.wb_load -- Defines the class CStoIo.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! Conditional Store value of Integer Output signal.
!
! Range ldh_eDId_Base
!
!/**
! @Version 1.0
! @Code rt_plc_macro_io.h
! @Group Plc,PlcIO
! @Summary Conditional storage of Io signal
! Conditional Storage Integer output.
! @image orm_cstoio_fo.gif
!
! Conditional storage of an integer value on a specified
! local Io-signal (= Io object).
!
! Conditional is aimed at the con-input, which is
! supposed to be connected.
!
! The conditional input signal can be inverted by means
! of the Attribute Editor.
!
! It is not allowed, by means of a function in C or PLC
! programs, to write in any of the inputs.
!*/
SObject pwrb:Class
Object CStoIo $ClassDef 336
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtConnectionsAndDevBodies
Attr Flags = pwr_mClassDef_DevOnly
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "cstoio"
EndBody
!/**
! The input is connected to an integer signal or left
! open. In the latter case the In value is considered to
! be stored.
!*/
Object In $Input 1
Body SysBody
Attr PgmName = "ActualValue"
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_DEVBODYREF
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "VAL"
EndBody
EndObject
!/**
! Specifies whether a storage will be done or not. FALSE
! means no storage and TRUE means storage of an integer
! value.
!*/
Object Cond $Input 2
Body SysBody
Attr PgmName = "Cond"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_DEVBODYREF
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "con"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
!/**
! Specifies the name of the Io object where to store the
! value.
!*/
Object IoObject $Intern 1
Body SysBody
Attr PgmName = "IoObject"
Attr TypeRef = "pwrs:Type-$Objid"
Attr GraphName = "In"
Attr NiNaAnnot = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Used by the PLC Editor.
!*/
Object SigChanCon $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_INVISIBLE
Attr NiNaAnnot = 3
Attr NiNaCond = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Specifies how many segments of the Io object name that
! is to be displayed in the symbol of the CStoIo object.
! The segments are counted from behind.
! 0 and 1 both result in displaying the last segment of
! the signal object name.
!*/
Object IoObjectSegments $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Specifies if the name on the channel object (
! associated with the signal object) is to be displayed
! in the symbol of the CStoIo object or not. FALSE means
! no displaying and TRUE displaying.
! See also SigChanConSegments.
!*/
Object ShowSigChanCon $Intern 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Specifies, when ShowSigChanCon = TRUE, how many
! segments of the channel object name that is to be
! displayed in the symbol of the CStoIo object. The
! segments are counted from behind.
! 0 and 1 both result in displaying the last segment of
! the channel object name.
!*/
Object SigChanConSegments $Intern 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object PlcNode $Buffer 6
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 149
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 15
Attr graphindex = 1
Attr default_mask[0] = 3
Attr default_mask[1] = 0
Attr segname_annotation = 0
Attr devbody_annotation = 1
Attr compmethod = 11
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 1
Attr connectmethod = 23
Attr executeordermethod = 2
Attr objname = "CStoIo"
Attr graphname = "CStoIo"
Attr debugpar = "Cond"
EndBody
EndObject
Object Template CStoIo
Body RtBody
Attr Cond = 1
EndBody
Body DevBody
Attr IoObjectSegments = 2
Attr SigChanConSegments = 2
Attr ShowSigChanCon = 1
EndBody
EndObject
EndObject
EndSObject
......@@ -15,8 +15,8 @@
! Conditional Storage Integer parameter.
! @image orm_cstoip_fo.gif
!
! Conditional storage of an analog value ( parameter,
! input, or output signal of the type pwr_tFloat32) on a
! Conditional storage of an integer value (attribute,
! input, or output signal of the type pwr_tInt32) on a
! specified 32-,16-, or 8-bits integer parameter in a
! local object.
! Conditional is aimed at the con-input, which is
......@@ -35,7 +35,7 @@
! programs, to write in any of the inputs.
!*/
SObject pwrb:Class
Object CStoIp $ClassDef 78
Object CStoIp $ClassDef 341
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtConnectionsAndDevBodies
......@@ -43,10 +43,10 @@ SObject pwrb:Class
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "cstoip"
Attr StructName = "CStoIp"
EndBody
!/**
! The input is connected to an analog signal or left
! The input is connected to an integer signal or left
! open. In the latter case the In is considered to be
! stored.
!*/
......@@ -55,14 +55,14 @@ SObject pwrb:Class
Attr PgmName = "In"
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_DEVBODYREF
Attr TypeRef = "pwrs:Type-$Float32"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "VAL"
Attr ConPointNr = 0
EndBody
EndObject
!/**
! Specifies whether a storage will be done or not. FALSE
! means no storage and TRUE means storage of an analog
! means no storage and TRUE means storage of an integer
! value.
!*/
Object Cond $Input 2
......@@ -127,7 +127,7 @@ SObject pwrb:Class
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 251
Attr object_type = 270
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 0
......
! pwrb_c_cstoiv.wb_load -- Defines the class CStoIv.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! Conditional Store value of Integer Value signal.
!
! Range ldh_eDId_Base
!
!/**
! @Version 1.0
! @Code rt_plc_macro_io.h
! @Group Plc,PlcIO
! Conditional Storage Integer value.
! @image orm_cstoiv_fo.gif
!
! Conditional storage of an integer value on a specified
! local Iv-signal (= Iv object).
! Conditional is aimed at the con-input, which is
! supposed to be connected.
!
! The conditional input signal can be inverted by means
! of the Attribute Editor.
! It is not allowed, by means of a function in C or PLC
! programs, to write in any of the inputs.
!*/
SObject pwrb:Class
Object CStoIv $ClassDef 337
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtConnectionsAndDevBodies
Attr Flags = pwr_mClassDef_DevOnly
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "cstoiv"
EndBody
!/**
! The input is connected to an integer signal or left
! open. In the latter case the value of In, is considered
! to be stored.
!*/
Object In $Input 1
Body SysBody
Attr PgmName = "ActualValue"
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_DEVBODYREF
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "VAL"
EndBody
EndObject
!/**
! Specifies whether a storage will be done or not. FALSE
! means no storage and TRUE means storage of an integer
! value.
!*/
Object Cond $Input 2
Body SysBody
Attr PgmName = "Cond"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_DEVBODYREF
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "con"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
!/**
! Specifies the name of the object where to store the
! value.
!*/
Object IvObject $Intern 1
Body SysBody
Attr PgmName = "IvObject"
Attr TypeRef = "pwrs:Type-$Objid"
Attr GraphName = "In"
Attr NiNaAnnot = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Specifies how many segments of the Iv object name that
! is to be displayed in the symbol of the CStoIv object.
! The segments are counted from behind.
!*/
Object IvObjectSegments $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object PlcNode $Buffer 3
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 148
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 15
Attr graphindex = 1
Attr default_mask[0] = 3
Attr default_mask[1] = 0
Attr segname_annotation = 0
Attr devbody_annotation = 1
Attr compmethod = 11
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 1
Attr connectmethod = 21
Attr executeordermethod = 2
Attr objname = "CStoIv"
Attr graphname = "CStoIv"
Attr debugpar = "Cond"
EndBody
EndObject
Object Template CStoIv
Body RtBody
Attr Cond = 1
EndBody
Body DevBody
Attr IvObjectSegments = 2
EndBody
EndObject
EndObject
EndSObject
......@@ -260,6 +260,72 @@ SObject pwrb:Class
EndBody
EndObject
!/**
! @Summary Integer input I1.
! Integer input.
! I1 or the aliasname is used to refer to the input in the code.
!*/
Object IIn1 $Input 37
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "I1"
EndBody
EndObject
!/**
! @Summary Integer input I2.
! Integer input.
! I2 or the aliasname is used to refer to the input in the code.
!*/
Object IIn2 $Input 38
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "I2"
EndBody
EndObject
!/**
! @Summary Integer input I3.
! Integer input.
! I3 or the aliasname is used to refer to the input in the code.
!*/
Object IIn3 $Input 39
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "I3"
EndBody
EndObject
!/**
! @Summary Integer input I4.
! Integer input.
! I4 or the aliasname is used to refer to the input in the code.
!*/
Object IIn4 $Input 40
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "I4"
EndBody
EndObject
!/**
! @Summary Integer input I5.
! Integer input.
! I5 or the aliasname is used to refer to the input in the code.
!*/
Object IIn5 $Input 41
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "I5"
EndBody
EndObject
!/**
! @Summary Integer input I6.
! Integer input.
! I6 or the aliasname is used to refer to the input in the code.
!*/
Object IIn6 $Input 42
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "I6"
EndBody
EndObject
!/**
! @Summary Data object reference output ODa1.
! Data object reference output.
! ODa1 is used to refer to the output in the code.
......@@ -536,6 +602,90 @@ SObject pwrb:Class
Attr GraphName = "od6"
EndBody
EndObject
!/**
! @Summary Integer output IO1.
! Integer output.
! IO1 is used to refer to the output in the code.
!*/
Object OutI1 $Output 43
Body SysBody
Attr PgmName = "OutI1"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "OI1"
EndBody
EndObject
!/**
! @Summary Integer output IO2.
! Integer output.
! IO2 is used to refer to the output in the code.
!*/
Object OutI2 $Output 44
Body SysBody
Attr PgmName = "OutI2"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "OI2"
EndBody
EndObject
!/**
! @Summary Integer output IO3.
! Integer output.
! IO3 is used to refer to the output in the code.
!*/
Object OutI3 $Output 45
Body SysBody
Attr PgmName = "OutI3"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "OI3"
EndBody
EndObject
!/**
! @Summary Integer output IO4.
! Integer output.
! IO4 is used to refer to the output in the code.
!*/
Object OutI4 $Output 46
Body SysBody
Attr PgmName = "OutI4"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "OI4"
EndBody
EndObject
!/**
! @Summary Integer output IO5.
! Integer output.
! IO5 is used to refer to the output in the code.
!*/
Object OutI5 $Output 47
Body SysBody
Attr PgmName = "OutI5"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "OI5"
EndBody
EndObject
!/**
! @Summary Integer output IO6.
! Integer output.
! IO6 is used to refer to the output in the code.
!*/
Object OutI6 $Output 48
Body SysBody
Attr PgmName = "OutI6"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "OI6"
EndBody
EndObject
EndObject
!
! DATAARITHM Development Body
......@@ -543,9 +693,9 @@ SObject pwrb:Class
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 224
Attr parameters[0] = 16
Attr parameters[0] = 22
Attr parameters[1] = 0
Attr parameters[2] = 16
Attr parameters[2] = 22
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 14
......
! pwrb_c_dtoenum.wb_load -- Defines the class DtoEnum.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcConversion
! @Summary Selects an enumeration value.
! Selects an enumeration value.
! @image orm_dtoenum_fo.gif
!
! The object has an intern array of enumeration values, which by
! default has the values 0, 1, 2, ..., 31. If a digital input is set,
! the corresponding value in the array is put into the output.
! If no input is set, the output is set to the value in DefaultValue,
! which by default is 0.
!
! @b See Also
! @classlink EnumToD pwrb_enumtod.html
!*/
SObject pwrb:Class
Object DtoEnum $ClassDef 347
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "DtoEnum"
EndBody
!/**
! Digital input representing enumeration value at index 0 in EnumValues.
!*/
Object d0 $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d0"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 1 in EnumValues.
!*/
Object d1 $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d1"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 2 in EnumValues.
!*/
Object d2 $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d2"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 3 in EnumValues.
!*/
Object d3 $Input 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d3"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 4 in EnumValues.
!*/
Object d4 $Input 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d4"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 5 in EnumValues.
!*/
Object d5 $Input 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d5"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 6 in EnumValues.
!*/
Object d6 $Input 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d6"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 7 in EnumValues.
!*/
Object d7 $Input 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d7"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 8 in EnumValues.
!*/
Object d8 $Input 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d8"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 9 in EnumValues.
!*/
Object d9 $Input 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d9"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 10 in EnumValues.
!*/
Object d10 $Input 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d10"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 11 in EnumValues.
!*/
Object d11 $Input 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d11"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 12 in EnumValues.
!*/
Object d12 $Input 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d12"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 13 in EnumValues.
!*/
Object d13 $Input 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d13"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 14 in EnumValues.
!*/
Object d14 $Input 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d14"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 15 in EnumValues.
!*/
Object d15 $Input 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d15"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 16 in EnumValues.
!*/
Object d16 $Input 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d16"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 17 in EnumValues.
!*/
Object d17 $Input 18
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d17"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 18 in EnumValues.
!*/
Object d18 $Input 19
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d18"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 19 in EnumValues.
!*/
Object d19 $Input 20
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d19"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 20 in EnumValues.
!*/
Object d20 $Input 21
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d20"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 21 in EnumValues.
!*/
Object d21 $Input 22
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d21"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 22 in EnumValues.
!*/
Object d22 $Input 23
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d22"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 23 in EnumValues.
!*/
Object d23 $Input 24
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d23"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 24 in EnumValues.
!*/
Object d24 $Input 25
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d24"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 25 in EnumValues.
!*/
Object d25 $Input 26
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d25"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 26 in EnumValues.
!*/
Object d26 $Input 27
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d26"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 27 in EnumValues.
!*/
Object d27 $Input 28
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d27"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 28 in EnumValues.
!*/
Object d28 $Input 29
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d28"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 29 in EnumValues.
!*/
Object d29 $Input 30
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d29"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 30 in EnumValues.
!*/
Object d30 $Input 31
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d30"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 31 in EnumValues.
!*/
Object d31 $Input 32
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d31"
EndBody
EndObject
!/**
! Enumeration values.
!*/
Object EnumValues $Intern 33
Body SysBody
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 32
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Default value put into the output if no digital input is set.
!*/
Object DefaultValue $Intern 34
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Enumeration value.
!*/
Object Enum $Output 35
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Enum"
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] = 32
Attr parameters[1] = 2
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 15
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 = "DtoEnum"
Attr graphname = "DtoEnum"
Attr debugpar = ""
EndBody
EndObject
Object Template DtoEnum
Body RtBody
Attr EnumValues[0] = 0
Attr EnumValues[1] = 1
Attr EnumValues[2] = 2
Attr EnumValues[3] = 3
Attr EnumValues[4] = 4
Attr EnumValues[5] = 5
Attr EnumValues[6] = 6
Attr EnumValues[7] = 7
Attr EnumValues[8] = 8
Attr EnumValues[9] = 9
Attr EnumValues[10] = 10
Attr EnumValues[11] = 11
Attr EnumValues[12] = 12
Attr EnumValues[13] = 13
Attr EnumValues[14] = 14
Attr EnumValues[15] = 15
Attr EnumValues[16] = 16
Attr EnumValues[17] = 17
Attr EnumValues[18] = 18
Attr EnumValues[19] = 19
Attr EnumValues[20] = 20
Attr EnumValues[21] = 21
Attr EnumValues[22] = 22
Attr EnumValues[23] = 23
Attr EnumValues[24] = 24
Attr EnumValues[25] = 52
Attr EnumValues[26] = 26
Attr EnumValues[27] = 27
Attr EnumValues[28] = 28
Attr EnumValues[29] = 29
Attr EnumValues[30] = 30
Attr EnumValues[31] = 31
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_dtomask.wb_load -- Defines the class DtoMask.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcConversion
! @Summary Assambles digital signals to an integer bit-mask
! Assambles digital signals to an integer bit-mask.
! @image orm_dtomask_fo.gif
!
! The object has 32 digital inputs, and one 32-bit integer output.
! Each input represents a bit in the output. When the input is true
! the corresponding bit is set to 1, and when the input is false the
! bit is set to 0.
!
! @b See Also
! @classlink MaskToD pwrb_masktod.html
!*/
SObject pwrb:Class
Object DtoMask $ClassDef 345
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "DtoMask"
EndBody
!/**
! Digital input representing bit number 1.
!*/
Object d1 $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d1"
EndBody
EndObject
!/**
! Digital input representing bit number 2.
!*/
Object d2 $Input 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d2"
EndBody
EndObject
!/**
! Digital input representing bit number 3.
!*/
Object d3 $Input 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d3"
EndBody
EndObject
!/**
! Digital input representing bit number 4.
!*/
Object d4 $Input 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d4"
EndBody
EndObject
!/**
! Digital input representing bit number 5.
!*/
Object d5 $Input 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d5"
EndBody
EndObject
!/**
! Digital input representing bit number 6.
!*/
Object d6 $Input 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d6"
EndBody
EndObject
!/**
! Digital input representing bit number 7.
!*/
Object d7 $Input 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d7"
EndBody
EndObject
!/**
! Digital input representing bit number 8.
!*/
Object d8 $Input 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d8"
EndBody
EndObject
!/**
! Digital input representing bit number 9.
!*/
Object d9 $Input 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d9"
EndBody
EndObject
!/**
! Digital input representing bit number 10.
!*/
Object d10 $Input 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d10"
EndBody
EndObject
!/**
! Digital input representing bit number 11.
!*/
Object d11 $Input 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d11"
EndBody
EndObject
!/**
! Digital input representing bit number 12.
!*/
Object d12 $Input 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d12"
EndBody
EndObject
!/**
! Digital input representing bit number 13.
!*/
Object d13 $Input 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d13"
EndBody
EndObject
!/**
! Digital input representing bit number 14.
!*/
Object d14 $Input 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d14"
EndBody
EndObject
!/**
! Digital input representing bit number 15.
!*/
Object d15 $Input 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d15"
EndBody
EndObject
!/**
! Digital input representing bit number 16.
!*/
Object d16 $Input 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d16"
EndBody
EndObject
!/**
! Digital input representing bit number 17.
!*/
Object d17 $Input 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d17"
EndBody
EndObject
!/**
! Digital input representing bit number 18.
!*/
Object d18 $Input 18
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d18"
EndBody
EndObject
!/**
! Digital input representing bit number 19.
!*/
Object d19 $Input 19
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d19"
EndBody
EndObject
!/**
! Digital input representing bit number 20.
!*/
Object d20 $Input 20
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d20"
EndBody
EndObject
!/**
! Digital input representing bit number 21.
!*/
Object d21 $Input 21
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d21"
EndBody
EndObject
!/**
! Digital input representing bit number 22.
!*/
Object d22 $Input 22
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d22"
EndBody
EndObject
!/**
! Digital input representing bit number 23.
!*/
Object d23 $Input 23
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d23"
EndBody
EndObject
!/**
! Digital input representing bit number 24.
!*/
Object d24 $Input 24
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d24"
EndBody
EndObject
!/**
! Digital input representing bit number 25.
!*/
Object d25 $Input 25
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d25"
EndBody
EndObject
!/**
! Digital input representing bit number 26.
!*/
Object d26 $Input 26
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d26"
EndBody
EndObject
!/**
! Digital input representing bit number 27.
!*/
Object d27 $Input 27
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d27"
EndBody
EndObject
!/**
! Digital input representing bit number 28.
!*/
Object d28 $Input 28
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d28"
EndBody
EndObject
!/**
! Digital input representing bit number 29.
!*/
Object d29 $Input 29
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d29"
EndBody
EndObject
!/**
! Digital input representing bit number 30.
!*/
Object d30 $Input 30
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d30"
EndBody
EndObject
!/**
! Digital input representing bit number 31.
!*/
Object d31 $Input 31
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d31"
EndBody
EndObject
!/**
! Digital input representing bit number 32.
!*/
Object d32 $Input 32
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOINVERT
Attr GraphName = "d32"
EndBody
EndObject
!/**
! Bit mask.
!*/
Object Mask $Output 33
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Mask"
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] = 32
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] = 63
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 = "DtoMask"
Attr graphname = "DtoMask"
Attr debugpar = ""
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_enumtod.wb_load -- Defines the class EnumToD.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcConversion
! @Summary Identify at enumeration value.
! Identify an enumeration value.
! @image orm_enumtod_fo.gif
!
! The inputvalue is compared to values in an intern array, which
! by default, has the values 0, 1, 2, ..., 31. If the input is equal
! to a values in the array, the corresponding output is set to true,
! otherwise it is set to false.
!
! @b See Also
! @classlink DtoEnum pwrb_dtoenum.html
!*/
SObject pwrb:Class
Object EnumToD $ClassDef 348
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "EnumToD"
EndBody
!/**
! Enumeration input value.
!*/
Object Enum $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Enum"
EndBody
EndObject
!/**
! Enumeration values.
! This array contains the enumeration values, that the
! input value is compared with. If the input value is equal
! to a value in the array, the corresponding digital output
! is set to true, otherwise it is set to false.
!*/
Object EnumValues $Intern 2
Body SysBody
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 32
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 0 in EnumValues.
!*/
Object od0 $Output 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od0"
EndBody
EndObject
!/**
! Digital input representing enumeration value at index 1 in EnumValues.
!*/
Object od1 $Output 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od1"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 2 in EnumValues.
!*/
Object od2 $Output 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od2"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 3 in EnumValues.
!*/
Object od3 $Output 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od3"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 4 in EnumValues.
!*/
Object od4 $Output 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od4"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 5 in EnumValues.
!*/
Object od5 $Output 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od5"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 6 in EnumValues.
!*/
Object od6 $Output 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od6"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 7 in EnumValues.
!*/
Object od7 $Output 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od7"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 8 in EnumValues.
!*/
Object od8 $Output 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od8"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 9 in EnumValues.
!*/
Object od9 $Output 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od9"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 10 in EnumValues.
!*/
Object od10 $Output 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od10"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 11 in EnumValues.
!*/
Object od11 $Output 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od11"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 12 in EnumValues.
!*/
Object od12 $Output 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od12"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 13 in EnumValues.
!*/
Object od13 $Output 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od13"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 14 in EnumValues.
!*/
Object od14 $Output 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od14"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 15 in EnumValues.
!*/
Object od15 $Output 18
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od15"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 16 in EnumValues.
!*/
Object od16 $Output 19
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od16"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 17 in EnumValues.
!*/
Object od17 $Output 20
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od17"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 18 in EnumValues.
!*/
Object od18 $Output 21
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od18"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 19 in EnumValues.
!*/
Object od19 $Output 22
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od19"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 20 in EnumValues.
!*/
Object od20 $Output 23
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od20"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 21 in EnumValues.
!*/
Object od21 $Output 24
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od21"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 22 in EnumValues.
!*/
Object od22 $Output 25
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od22"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 23 in EnumValues.
!*/
Object od23 $Output 26
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od23"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 24 in EnumValues.
!*/
Object od24 $Output 27
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od24"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 25 in EnumValues.
!*/
Object od25 $Output 28
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od25"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 26 in EnumValues.
!*/
Object od26 $Output 29
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od26"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 27 in EnumValues.
!*/
Object od27 $Output 30
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od27"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 28 in EnumValues.
!*/
Object od28 $Output 31
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od28"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 29 in EnumValues.
!*/
Object od29 $Output 32
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od29"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 30 in EnumValues.
!*/
Object od30 $Output 33
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od30"
EndBody
EndObject
!/**
! Digital output representing enumeration value at index 31 in EnumValues.
!*/
Object od31 $Output 34
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od31"
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] = 1
Attr parameters[2] = 32
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 255
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "EnumToD"
Attr graphname = "EnumToD"
Attr debugpar = ""
EndBody
EndObject
Object Template EnumToD
Body RtBody
Attr EnumValues[0] = 0
Attr EnumValues[1] = 1
Attr EnumValues[2] = 2
Attr EnumValues[3] = 3
Attr EnumValues[4] = 4
Attr EnumValues[5] = 5
Attr EnumValues[6] = 6
Attr EnumValues[7] = 7
Attr EnumValues[8] = 8
Attr EnumValues[9] = 9
Attr EnumValues[10] = 10
Attr EnumValues[11] = 11
Attr EnumValues[12] = 12
Attr EnumValues[13] = 13
Attr EnumValues[14] = 14
Attr EnumValues[15] = 15
Attr EnumValues[16] = 16
Attr EnumValues[17] = 17
Attr EnumValues[18] = 18
Attr EnumValues[19] = 19
Attr EnumValues[20] = 20
Attr EnumValues[21] = 21
Attr EnumValues[22] = 22
Attr EnumValues[23] = 23
Attr EnumValues[24] = 24
Attr EnumValues[25] = 52
Attr EnumValues[26] = 26
Attr EnumValues[27] = 27
Attr EnumValues[28] = 28
Attr EnumValues[29] = 29
Attr EnumValues[30] = 30
Attr EnumValues[31] = 31
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_getigeneric.wb_load -- Defines the class GetIgeneric.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
!/**
! @Version 1.0
! @Group Plc,PlcIO
! @Summary Temporary object produced by the plc editor.
! A GetIgeneric object is a temporary object, created in the plc-editor
! when a connection is created from a integer input. The object will
! be transformed to its final appearence when it is connected to a
! signal or attribute.
! @image orm_getigeneric_fo.gif
!*/
!
SObject pwrb:Class
Object GetIgeneric $ClassDef 338
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_DevBodyOnly
Attr PopEditor = 2
EndBody
Object DevBody $ObjBodyDef 2
Object ActualValue $Output 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object PlcNode $Buffer 2
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 140
Attr parameters[0] = 0
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 4
Attr graphindex = 38
Attr default_mask[0] = 0
Attr default_mask[1] = 1
Attr segname_annotation = 0
Attr compmethod = 56
Attr compindex = 0
Attr tracemethod = 1
Attr connectmethod = 24
Attr traceindex = 1
Attr executeordermethod = 0
Attr objname = "GetI"
Attr graphname = "GetI"
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_getii.wb_load -- Defines the class GetIi.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! Get status of Integer Input signal.
!
!/**
! @Version 1.0
! @Group Plc,PlcIO
! @Summary Get Ii signal
! Get Integer input.
! @image orm_getii_fo.gif
!
! Fetches the engineering value for a specified Ii-signal
! from I/O-copied area. See PROVIEW/R Designer's Guide.
!
! The complete name of the Ii-signal has to be supplied;
! its last segment is shown in the right empty part of
! the symbol.
!
! The GetIi object
! - is a pure address reference to the I/O-copied area
! for Ii-signals,
! - contains no relevant information (=data) in rtdb,
! - is without executable code.
!*/
SObject pwrb:Class
Object GetIi $ClassDef 330
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtAndDevBodies
Attr Flags = pwr_mClassDef_DevOnly
EndBody
Object RtBody $ObjBodyDef 1
!/**
! Used by the PLC Editor.
!*/
Object ActVal $Output 1
Body SysBody
Attr PgmName = "ActualValue"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_DEVBODYREF
Attr Flags |= PWR_MASK_INVISIBLE
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "VAL"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
!/**
! Used by the PLC Editor. Specifies the complete name of
! the Ii object.
!*/
Object IiObject $Intern 1
Body SysBody
Attr PgmName = "IiObject"
Attr TypeRef = "pwrs:Type-$Objid"
Attr GraphName = "VAL"
Attr NiNaAnnot = 1
Attr NiNaSegments = 1
Attr ConPointNr = 2
EndBody
EndObject
!/**
! Used by the PLC Editor.
!*/
Object SigChanCon $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_INVISIBLE
Attr NiNaAnnot = 2
Attr NiNaCond = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Specifies how many segments of the Ii object name that
! is to be displayed in the symbol of the GetIi object.
! The segments are counted from behind.
!
! 0 and 1 both result in displaying the last segment of
! the signal object name.
!*/
Object IiObjectSegments $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Specifies if the name on the channel object (
! associated with the signal object) is to be displayed
! in the symbol of the GetIi object or not. FALSE means
! no displaying and TRUE displaying.
! See also SigChanConSegments.
!*/
Object ShowSigChanCon $Intern 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Specifies, when ShowSigChanCon = TRUE, how many
! segments of the channel object name that is to be
! displayed in the symbol of the GetIi object. The
! segments are counted from behind.
! 0 and 1 both result in displaying the last segment of
! the channel object name.
!*/
Object SigChanConSegments $Intern 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object PlcNode $Buffer 6
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 143
Attr parameters[0] = 0
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 7
Attr graphindex = 1
Attr default_mask[0] = 0
Attr default_mask[1] = 1
Attr segname_annotation = 0
Attr devbody_annotation = 1
Attr compmethod = 8
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr connectmethod = 22
Attr executeordermethod = 0
Attr objname = "GetIi"
Attr graphname = "Ii"
Attr debugpar = ""
EndBody
EndObject
Object Template GetIi
Body DevBody
Attr IiObjectSegments = 2
Attr SigChanConSegments = 2
Attr ShowSigChanCon = 1
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_getio.wb_load -- Defines the class GetIo.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! Get status of Integer Output signal.
!
!/**
! @Version 1.0
! @Group Plc,PlcIO
! @Summary Get Integer output signal
! Get Integer output.
! @image orm_getio_fo.gif
!
! Fetches the engineering value for a specified Io-signal
! from I/O-copied area. See PROVIEW/R Designer's Guide.
! The complete name of the Io-signal has to be supplied;
! its last segment is shown in the right empty part of
! the symbol.
!
! The GetIo object
! - is a pure address reference to the I/O-copied area
! for Io-signals,
! - contains no relevant information (=data) in rtdb,
! - is without executable code.
!*/
SObject pwrb:Class
Object GetIo $ClassDef 331
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtAndDevBodies
Attr Flags = pwr_mClassDef_DevOnly
EndBody
Object RtBody $ObjBodyDef 1
!/**
! Used by the PLC Editor.
!*/
Object ActVal $Output 1
Body SysBody
Attr PgmName = "ActualValue"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_DEVBODYREF
Attr Flags |= PWR_MASK_INVISIBLE
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "VAL"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
!/**
! Used by the PLC Editor. Specifies the complete name of
! the Io object.
!*/
Object IoObject $Intern 1
Body SysBody
Attr PgmName = "IoObject"
Attr TypeRef = "pwrs:Type-$Objid"
Attr GraphName = "VAL"
Attr NiNaAnnot = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Used by the PLC Editor.
!*/
Object SigChanCon $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_INVISIBLE
Attr NiNaAnnot = 2
Attr NiNaCond = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Specifies how many segments of the Io object name that
! is to be displayed in the symbol of the GetIo object.
! The segments are counted from behind.
!
! 0 and 1 both result in displaying the last segment of
! the signal object name.
!*/
Object IoObjectSegments $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Specifies if the name on the channel object (
! associated with the signal object) is to be displayed
! in the symbol of the GetIo object or not. FALSE means
! no displaying and TRUE displaying.
! See also SigChanConSegments.
!*/
Object ShowSigChanCon $Intern 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Specifies, when ShowSigChanCon = TRUE, how many
! segments of the channel object name that is to be
! displayed in the symbol of the GetIo object. The
! segments are counted from behind.
!
! 0 and 1 both result in displaying the last segment of
! the channel object name.
!*/
Object SigChanConSegments $Intern 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object PlcNode $Buffer 6
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 144
Attr parameters[0] = 0
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 7
Attr graphindex = 1
Attr default_mask[0] = 0
Attr default_mask[1] = 1
Attr segname_annotation = 0
Attr devbody_annotation = 1
Attr compmethod = 8
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr connectmethod = 23
Attr executeordermethod = 0
Attr objname = "GetIo"
Attr graphname = "Io"
Attr debugpar = ""
EndBody
EndObject
Object Template GetIo
Body DevBody
Attr IoObjectSegments = 2
Attr SigChanConSegments = 2
Attr ShowSigChanCon = 1
EndBody
EndObject
EndObject
EndSObject
......@@ -11,8 +11,8 @@
! @Version 1.0
! @Code rt_plc_macro_io.h
! @Group Plc,PlcIO
! @Summary Get integer attribute
! Get Integer parameter.
! @Summary Get integer attribute and convert to analog value
! Get Integer parameter and convert to analog value.
! @image orm_getip_fo.gif
!
! Fetches the value of a 32-, 16- or 8-bits integer
......@@ -27,22 +27,22 @@
! @b Example
! In the example below the value of the integer parameter, AccMod is stored:
!
! - unconditionally by StoIp
! - conditionally by CStoIp
! - unconditionally by StoAtoIp
! - conditionally by CStoAtoIp
!
! The value is also unconditionally stored as a pwr_tFloat32 on an attribute
! pwr_float32 in the object named TIC2M
! pwr_tFloat32 in the object named TIC2M
! @image orm_en1-93.gif
!*/
SObject pwrb:Class
Object GetIp $ClassDef 128
Object GetIp $ClassDef 340
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtAndDevBodies
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "getip"
Attr StructName = "GetIp"
EndBody
!/**
! Used by the PLC Editor.
......@@ -52,7 +52,7 @@ SObject pwrb:Class
Attr PgmName = "ActVal"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "VAL"
EndBody
EndObject
......@@ -110,7 +110,7 @@ SObject pwrb:Class
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 252
Attr object_type = 269
Attr parameters[0] = 0
Attr parameters[1] = 0
Attr parameters[2] = 1
......@@ -140,3 +140,4 @@ SObject pwrb:Class
EndObject
EndObject
EndSObject
! pwrb_c_getiptoa.wb_load -- Defines the class GetIpToA.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! GET status of any Integer Parameter.
!
! Range ldh_eDId_Base
!
!/**
! @Version 1.0
! @Code rt_plc_macro_io.h
! @Group Plc,PlcIO
! @Summary Get integer attribute and convert to analog value
! Get Integer parameter and convert to analog value.
! @image orm_getiptoa_fo.gif
!
! Fetches the value of a 32-, 16- or 8-bits integer
! parameter in arbitrary object.
!
! The complete name of the parameter has to be supplied.
! The GetIp object
! - is a pure address reference,
! - contains no relevant information (=data) in rtdb,
! - is without executable code.
!
! @b Example
! In the example below the value of the integer parameter, AccMod is stored:
!
! - unconditionally by StoAtoIp
! - conditionally by CStoAtoIp
!
! The value is also unconditionally stored as a pwr_tFloat32 on an attribute
! pwr_tFloat32 in the object named TIC2M
! @image orm_en1-93.gif
!*/
SObject pwrb:Class
Object GetIpToA $ClassDef 128
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtAndDevBodies
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "GetIpToA"
EndBody
!/**
! Used by the PLC Editor.
!*/
Object ActVal $Output 1
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
!/**
! Used by the PLC Editor. Specifies the name of the
! actual object.
!*/
Object IpObject $Intern 1
Body SysBody
Attr PgmName = "IpObject"
Attr TypeRef = "pwrs:Type-$Objid"
Attr GraphName = "VAL"
Attr NiNaAnnot = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Used by the PLC Editor. Specifies the name of the
! parameter.
!
! Note! The editor is case-sensitive on this attribute; i.e.
! if the attribute is named ActualValue it has to be
! written ActualValue and not ACTUALVALUE, for example.
!*/
Object Parameter $Intern 2
Body SysBody
Attr PgmName = "Parameter"
Attr TypeRef = "pwrs:Type-$String80"
Attr GraphName = "par"
Attr NiNaAnnot = 2
Attr ConPointNr = 0
EndBody
EndObject
!/**
! Specifies how many segments of the actual object name
! that is to be displayed in the symbol of the GetDp
! object. The segments are counted from behind.
!
! 0 and 1 both result in displaying the last segment of
! the actual object name.
!*/
Object IpObjectSegments $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object PlcNode $Buffer 4
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 252
Attr parameters[0] = 0
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 15
Attr graphindex = 0
Attr default_mask[0] = 0
Attr default_mask[1] = 1
Attr segname_annotation = 0
Attr devbody_annotation = 1
Attr compmethod = 36
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr connectmethod = 7
Attr executeordermethod = 2
Attr objname = "GetIpToA"
Attr graphname = "GetIpToA"
Attr debugpar = ""
EndBody
EndObject
Object Template GetIpToA
Body DevBody
Attr IpObjectSegments = 2
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_getiv.wb_load -- Defines the class GetIv.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! GET status of stored Analog Value.
!
! Range ldh_eDId_Base
!
!/**
! @Version 1.0
! @Group Plc,PlcIO
! @Summary Get integer value
! Get integer value.
! @image orm_getiv_fo.gif
!
! Fetches the engineering value for a specified Iv-signal
! from I/O-copied area. See PROVIEW/R Designer's Guide.
! The complete name of the Iv-signal has to be supplied;
! its last segment name is shown in the right empty part
! of the symbol.
!
! The GetIv object
! - is a pure address reference to the I/O-copied area
! for Iv-signals,
! - contains no relevant information (=data) in rtdb,
! - is without executable code.
!*/
SObject pwrb:Class
Object GetIv $ClassDef 329
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtAndDevBodies
Attr Flags = pwr_mClassDef_DevOnly
EndBody
Object RtBody $ObjBodyDef 1
!/**
! Used by the PLC Editor.
!*/
Object ActVal $Output 1
Body SysBody
Attr PgmName = "ActualValue"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_DEVBODYREF
Attr Flags |= PWR_MASK_INVISIBLE
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "VAL"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
!/**
! Used by the PLC Editor. Specifies the complete name of
! the Iv object.
!*/
Object IvObject $Intern 1
Body SysBody
Attr PgmName = "IvObject"
Attr TypeRef = "pwrs:Type-$Objid"
Attr GraphName = "VAL"
Attr NiNaAnnot = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Specifies how many segments of the Iv object name that
! is to be displayed in the symbol of the GetIv object.
! The segments are counted from behind.
!*/
Object IvObjectSegments $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object PlcNode $Buffer 3
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 142
Attr parameters[0] = 0
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 7
Attr graphindex = 1
Attr default_mask[0] = 0
Attr default_mask[1] = 1
Attr segname_annotation = 0
Attr devbody_annotation = 1
Attr compmethod = 8
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr connectmethod = 21
Attr executeordermethod = 0
Attr objname = "GetIv"
Attr graphname = "Iv"
Attr debugpar = ""
EndBody
EndObject
Object Template GetIv
Body DevBody
Attr IvObjectSegments = 2
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_ii.wb_load -- Defines the class Ii.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! Integer Input.
!
!/**
! @Version 1.0
! @Group PlantConfiguration,Signals
! @Summary Integer input signal
! Integer input.
!
! Configures an integer input signal in the Plant
! Configuration.
!
! @b Hints
! Put the object below a $PlantHier object in the
! development environment in such a way that it belongs
! to the same target node as its associated channel
! object.
!*/
SObject pwrb:Class
Object Ii $ClassDef 324
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
Attr PopEditor = 1
Attr Flags |= pwr_mClassDef_IO
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Ii"
EndBody
!/**
! Optional text, for example the name of the signal or
! what it represents.
!*/
Object Description $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Name of the associated channel object.
!*/
Object SigChanCon $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
!/**
! Index in the Value array at the IiArea objects
! that are used for base frequency and partial frequency
! samples. Initiated at boot time by rt_ini.
!*/
Object ValueIndex $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Pointer to ActualValue. The value is updated
! continuously. ConversionOn in the channel
! object ChanIi specifies if the value shall be
! converted before storage.
!*/
Object ActualValue $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary A XttGraph object that will open a graph for this object.
! A XttGraph object that will open a graph that contains data for
! this object. This graph can be opened from the popup menu for
! this object.
!*/
Object DefGraph $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
!/**
! @Summary A trend object that displays a trend for this object.
! A DsTrend or PlotGroup object that contains a trend for this object.
! The trend can be opened from the popup menu for this object.
!*/
Object DefTrend $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
!/**
! @Summary A help topic for this hierarchy.
! A help topic in the xtt help file that contains help for this hierarchy.
! The help can be displayed from the popup menu for this object.
!*/
Object HelpTopic $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
!/**
! @Summary A URL to the data sheet for the equipment in this hierarchy.
! A URL to the data sheet for the equipment in this hierarchy.
! The data sheet can be displayed from the popup menu for this object.
!*/
Object DataSheet $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$URL"
EndBody
EndObject
EndObject
Object ConfiguratorPosnn $Menu
Object Pointed $Menu
Object Disconnect $MenuButton
Body SysBody
Attr ButtonName = "Disconnect Channel"
Attr MethodName = "$Objid-Disconnect"
Attr MethodArguments[0] = "SigChanCon"
Attr FilterName = "$Objid-IsOkDisconnect"
Attr FilterArguments[0] = "SigChanCon"
EndBody
EndObject
EndObject
EndObject
Object ConfiguratorPoson $Menu
Object Pointed $Menu
Object Connect $MenuButton
Body SysBody
Attr ButtonName = "Connect Channel"
Attr MethodName = "$Objid-Connect"
Attr MethodArguments[0] = "SigChanCon"
Attr FilterArguments[1] = "ChanIi"
Attr FilterName = "$Objid-IsOkConnect"
Attr FilterArguments[0] = "SigChanCon"
Attr FilterArguments[1] = "ChanIi"
EndBody
EndObject
Object Disconnect $MenuButton
Body SysBody
Attr ButtonName = "Disconnect Channel"
Attr MethodName = "$Objid-Disconnect"
Attr MethodArguments[0] = "SigChanCon"
Attr FilterName = "$Objid-IsOkDisconnect"
Attr FilterArguments[0] = "SigChanCon"
EndBody
EndObject
EndObject
EndObject
Object ConfiguratorPosos $Menu
Object Pointed $Menu
Object Disconnect $MenuButton
Body SysBody
Attr ButtonName = "Disconnect Channel"
Attr MethodName = "$Objid-Disconnect"
Attr MethodArguments[0] = "SigChanCon"
Attr FilterName = "$Objid-IsOkDisconnect"
Attr FilterArguments[0] = "SigChanCon"
EndBody
EndObject
EndObject
EndObject
EndObject
EndSObject
! pwrb_c_iiarea.wb_load -- Defines the class IiArea.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
!/**
! @Version 1.0
! @Summary Area object for Ii values
! Area object for Ii values.
!
! The values of Ii-signals is stored in the Value
! attribut. The index is given by ValueIndex in the
! Ii-objects which is assigned at io initiation.
!
! The object is created at runtime in the dynamic system volume pwrNode.
!*/
SObject pwrb:Class
Object IiArea $ClassDef 328
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "IiArea"
EndBody
Object Value $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_ARRAY
Attr Flags |= PWR_MASK_STATE
Attr Elements = 1
EndBody
EndObject
EndObject
EndObject
EndSObject
! pwrb_c_io.wb_load -- Defines the class Io.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! Digital Output.
!
! Range ldh_eDId_Base
!
!/**
! @Version 1.0
! @Group PlantConfiguration,Signals
! @Summary Integer output signal
! Integer output.
!
! Configures an integer output signal in the Plant
! Configuration.
!
! @b Hints
! Put the object below a $PlantHier object in the
! development environment in such a way that it belongs
! to the same target node as its associated channel
! object.
!*/
SObject pwrb:Class
Object Io $ClassDef 325
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
Attr PopEditor = 1
Attr Flags |= pwr_mClassDef_IO
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Io"
EndBody
!/**
! Optional text, for example the name of the signal or
! what it represents.
!*/
Object Description $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Name of the associated channel object.
!*/
Object SigChanCon $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
!/**
! Index in the Value array at the IoArea objects
! that are used for base frequency and partial frequency
! samples. Initiated at boot time by rt_ini.
!*/
Object ValueIndex $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Pointer to ActualValue after conversion, if any.
!*/
Object ActualValue $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! @Summary A XttGraph object that will open a graph for this object.
! A XttGraph object that will open a graph that contains data for
! this object. This graph can be opened from the popup menu for
! this object.
!*/
Object DefGraph $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
!/**
! @Summary A trend object that displays a trend for this object.
! A DsTrend or PlotGroup object that contains a trend for this object.
! The trend can be opened from the popup menu for this object.
!*/
Object DefTrend $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
!/**
! @Summary A help topic for this hierarchy.
! A help topic in the xtt help file that contains help for this hierarchy.
! The help can be displayed from the popup menu for this object.
!*/
Object HelpTopic $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
!/**
! @Summary A URL to the data sheet for the equipment in this hierarchy.
! A URL to the data sheet for the equipment in this hierarchy.
! The data sheet can be displayed from the popup menu for this object.
!*/
Object DataSheet $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$URL"
EndBody
EndObject
EndObject
Object ConfiguratorPosnn $Menu
Object Pointed $Menu
Object Disconnect $MenuButton
Body SysBody
Attr ButtonName = "Disconnect Channel"
Attr MethodName = "$Objid-Disconnect"
Attr MethodArguments[0] = "SigChanCon"
Attr FilterName = "$Objid-IsOkDisconnect"
Attr FilterArguments[0] = "SigChanCon"
EndBody
EndObject
EndObject
EndObject
Object ConfiguratorPoson $Menu
Object Pointed $Menu
Object Connect $MenuButton
Body SysBody
Attr ButtonName = "Connect Channel"
Attr MethodName = "$Objid-Connect"
Attr MethodArguments[0] = "SigChanCon"
Attr FilterArguments[1] = "ChanIo"
Attr FilterName = "$Objid-IsOkConnect"
Attr FilterArguments[0] = "SigChanCon"
Attr FilterArguments[1] = "ChanIo"
EndBody
EndObject
Object Disconnect $MenuButton
Body SysBody
Attr ButtonName = "Disconnect Channel"
Attr MethodName = "$Objid-Disconnect"
Attr MethodArguments[0] = "SigChanCon"
Attr FilterName = "$Objid-IsOkDisconnect"
Attr FilterArguments[0] = "SigChanCon"
EndBody
EndObject
EndObject
EndObject
Object ConfiguratorPosos $Menu
Object Pointed $Menu
Object Disconnect $MenuButton
Body SysBody
Attr ButtonName = "Disconnect Channel"
Attr MethodName = "$Objid-Disconnect"
Attr MethodArguments[0] = "SigChanCon"
Attr FilterName = "$Objid-IsOkDisconnect"
Attr FilterArguments[0] = "SigChanCon"
EndBody
EndObject
EndObject
EndObject
EndObject
EndSObject
! pwrb_c_ioarea.wb_load -- Defines the class IoArea.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
!/**
! @Version 1.0
! @Summary Area object for Io values
! Area object for Io values.
!
! The values of Io-signals (Integer Output signals) is stored in the Value
! attribut. The index is given by ValueIndex in the Io-objects which is
! assigned at io initiation.
!
! The object is created at runtime in the dynamic system volume pwrNode.
!*/
SObject pwrb:Class
Object IoArea $ClassDef 327
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "IoArea"
EndBody
Object Value $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_ARRAY
Attr Flags |= PWR_MASK_STATE
Attr Elements = 1
EndBody
EndObject
EndObject
EndObject
EndSObject
......@@ -67,16 +67,33 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Specifies that reading and writing from resp to the configured
! io systems should be executed.
! This flag is set to false by the IO-handler if any fatal error
! is detected.
! At test and simulation cases, when no io should be performed,
! this should be set to false, and IOSimulFlag should be set to
! true.
!*/
Object IOReadWriteFlag $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! At test and simulation cases, when no io should be performed,
! this should be set to true, and IOReadWriteFlag should be set
! to false.
!*/
Object IOSimulFlag $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Number of configured Di objects in the node.
!*/
Object DiCount $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
......@@ -84,6 +101,9 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Number of configured Do objects in the node.
!*/
Object DoCount $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
......@@ -91,6 +111,9 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Number of configured Ai objects in the node.
!*/
Object AiCount $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
......@@ -98,6 +121,9 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Number of configured Ao objects in the node.
!*/
Object AoCount $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
......@@ -105,6 +131,9 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Number of configured Av objects in the node.
!*/
Object AvCount $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
......@@ -112,6 +141,9 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Number of configured Dv objects in the node.
!*/
Object DvCount $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
......@@ -119,6 +151,9 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Number of configured Co objects in the node.
!*/
Object CoCount $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
......@@ -126,6 +161,36 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Number of configured Ii objects in the node.
!*/
Object IiCount $Attribute 12
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Number of configured Io (Integer Output) objects in the node.
!*/
Object IoCount $Attribute 13
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Number of configured Iv objects in the node.
!*/
Object IvCount $Attribute 14
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
!
! Template for IOHandler
......
! pwrb_c_itoa.wb_load -- Defines the class ItoA.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
!/**
! @Version 1.0
! @Code rt_plc_macro_io.h
! @Group Plc,PlcConversion
! @Summary Convert integer value to analog
! Convert integer value to analog.
! @image orm_itoa_fo.gif
!
! The ItoA object converts the value of the integer input to
! an analog value stored in ActVal.
!
!*/
SObject pwrb:Class
Object ItoA $ClassDef 344
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "ItoA"
EndBody
!/**
! Integer input that will be converted to analog value.
!*/
Object In $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOREMOVE
Attr GraphName = "In"
EndBody
EndObject
!/**
! Output that contains the analog value.
!*/
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] = 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 = "ItoA"
Attr graphname = "ItoA"
EndBody
EndObject
EndObject
EndSObject
......@@ -10,7 +10,7 @@
!/**
! @Version 1.0
! @Code rt_plc_macro_string.h
! @Group Plc,PlcString
! @Group Plc,PlcString,PlcConversion
! @Summary Convert integer value to string.
! Convert integer value to string.
! @image orm_itostr_fo.gif
......
! pwrb_c_iv.wb_load -- Defines the class Iv.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! Integer calculated Value.
!
!/**
! @Version 1.0
! @Group PlantConfiguration,Signals
! @Summary Integer value
! Integer value.
!
! Configures a calculated integer value in the Plant
! Configuration. The value is a 32-bit signed integer.
!
! @b Hints
! Put the object below a $PlantHier object in the
! development environment.
!*/
SObject pwrb:Class
Object Iv $ClassDef 326
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
Attr PopEditor = 1
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Iv"
EndBody
!/**
! Optional text, for example the name of the signal or
! what it represents.
!*/
Object Description $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Index in the Value array at the IvArea objects
! that are used for base frequency respectively partial
! frequency samples. Initiated at boot time by rt_ini.
!*/
Object ValueIndex $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Pointer to ActualValue.
!*/
Object ActualValue $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! InitialValue specifies starting value of the signal at
! so called 'cold start'. Which value that is used as
! starting value at warm restart ( = change of PLC
! program ) depends on whether the signal is new or not.
! If the signal has exist in the last programversion its
! last value will be used as starting value, otherwise
! InitialValue.
!*/
Object InitialValue $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! @Summary A XttGraph object that will open a graph for this object.
! A XttGraph object that will open a graph that contains data for
! this object. This graph can be opened from the popup menu for
! this object.
!*/
Object DefGraph $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
!/**
! @Summary A trend object that displays a trend for this object.
! A DsTrend or PlotGroup object that contains a trend for this object.
! The trend can be opened from the popup menu for this object.
!*/
Object DefTrend $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
!/**
! @Summary A help topic for this hierarchy.
! A help topic in the xtt help file that contains help for this hierarchy.
! The help can be displayed from the popup menu for this object.
!*/
Object HelpTopic $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
!/**
! @Summary A URL to the data sheet for the equipment in this hierarchy.
! A URL to the data sheet for the equipment in this hierarchy.
! The data sheet can be displayed from the popup menu for this object.
!*/
Object DataSheet $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$URL"
EndBody
EndObject
EndObject
EndObject
EndSObject
......@@ -5,6 +5,17 @@
!
! <Description>.
!
!/**
! @Version 1.0
! @Summary Area object for Iv values
! Area object for Iv values.
!
! The values of Iv-signals is stored in the Value
! attribut. The index is given by ValueIndex in the
! Iv-objects which is assigned at io initiation.
!
! The object is created at runtime in the dynamic system volume pwrNode.
!*/
SObject pwrb:Class
Object IvArea $ClassDef 280
Body SysBody
......
! pwrb_c_masktod.wb_load -- Defines the class MaskToD.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcConversion
! @Summary Deassambles integer bit-mask to digital signals
! Deassambles integer bitmask to digital signals.
! @image orm_masktod_fo.gif
!
! The object has one 32-bit integer input, and 32 digital outputs.
! Each output represents a bit in the input. When a bit is 1, the
! corresponding output is set to true, and when the bit is 0, the
! output it set to false.
!
! @b See Also
! @classlink DtoMask pwrb_dtomask.html
!*/
SObject pwrb:Class
Object MaskToD $ClassDef 346
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "MaskToD"
EndBody
!/**
! Bit mask.
!*/
Object Mask $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Mask"
EndBody
EndObject
!/**
! Digital input representing bit number 1.
!*/
Object od1 $Output 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od1"
EndBody
EndObject
!/**
! Digital output representing bit number 2.
!*/
Object od2 $Output 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od2"
EndBody
EndObject
!/**
! Digital output representing bit number 3.
!*/
Object od3 $Output 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od3"
EndBody
EndObject
!/**
! Digital output representing bit number 4.
!*/
Object od4 $Output 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od4"
EndBody
EndObject
!/**
! Digital output representing bit number 5.
!*/
Object od5 $Output 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od5"
EndBody
EndObject
!/**
! Digital output representing bit number 6.
!*/
Object od6 $Output 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od6"
EndBody
EndObject
!/**
! Digital output representing bit number 7.
!*/
Object od7 $Output 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od7"
EndBody
EndObject
!/**
! Digital output representing bit number 8.
!*/
Object od8 $Output 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od8"
EndBody
EndObject
!/**
! Digital output representing bit number 9.
!*/
Object od9 $Output 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od9"
EndBody
EndObject
!/**
! Digital output representing bit number 10.
!*/
Object od10 $Output 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od10"
EndBody
EndObject
!/**
! Digital output representing bit number 11.
!*/
Object od11 $Output 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od11"
EndBody
EndObject
!/**
! Digital output representing bit number 12.
!*/
Object od12 $Output 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od12"
EndBody
EndObject
!/**
! Digital output representing bit number 13.
!*/
Object od13 $Output 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od13"
EndBody
EndObject
!/**
! Digital output representing bit number 14.
!*/
Object od14 $Output 15
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od14"
EndBody
EndObject
!/**
! Digital output representing bit number 15.
!*/
Object od15 $Output 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od15"
EndBody
EndObject
!/**
! Digital output representing bit number 16.
!*/
Object od16 $Output 17
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od16"
EndBody
EndObject
!/**
! Digital output representing bit number 17.
!*/
Object od17 $Output 18
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od17"
EndBody
EndObject
!/**
! Digital output representing bit number 18.
!*/
Object od18 $Output 19
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od18"
EndBody
EndObject
!/**
! Digital output representing bit number 19.
!*/
Object od19 $Output 20
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od19"
EndBody
EndObject
!/**
! Digital output representing bit number 20.
!*/
Object od20 $Output 21
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od20"
EndBody
EndObject
!/**
! Digital output representing bit number 21.
!*/
Object od21 $Output 22
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od21"
EndBody
EndObject
!/**
! Digital output representing bit number 22.
!*/
Object od22 $Output 23
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od22"
EndBody
EndObject
!/**
! Digital output representing bit number 23.
!*/
Object od23 $Output 24
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od23"
EndBody
EndObject
!/**
! Digital output representing bit number 24.
!*/
Object od24 $Output 25
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od24"
EndBody
EndObject
!/**
! Digital output representing bit number 25.
!*/
Object od25 $Output 26
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od25"
EndBody
EndObject
!/**
! Digital output representing bit number 26.
!*/
Object od26 $Output 27
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od26"
EndBody
EndObject
!/**
! Digital output representing bit number 27.
!*/
Object od27 $Output 28
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od27"
EndBody
EndObject
!/**
! Digital output representing bit number 28.
!*/
Object od28 $Output 29
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od28"
EndBody
EndObject
!/**
! Digital output representing bit number 29.
!*/
Object od29 $Output 30
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od29"
EndBody
EndObject
!/**
! Digital output representing bit number 30.
!*/
Object od30 $Output 31
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od30"
EndBody
EndObject
!/**
! Digital output representing bit number 31.
!*/
Object od31 $Output 32
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od31"
EndBody
EndObject
!/**
! Digital output representing bit number 32.
!*/
Object od32 $Output 33
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr GraphName = "od32"
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] = 32
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 255
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "MaskToD"
Attr graphname = "MaskToD"
Attr debugpar = ""
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_stoatoip.wb_load -- Defines the class StoAtoIp.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! Store Integer parameter.
!
! Range ldh_eDId_Base
!
!/**
! @Version 1.0
! @Code rt_plc_macro_io.h
! @Group Plc,PlcIO
! @Summary Store analog valut to integer attribute
! Store analog value to Integer parameter. Used in run time to write in
! integer parameters.
! @image orm_stoatoip_fo.gif
!
! Stores the value of an analog quantity ( e.g. output signal of the
! type pwr_tFloat32) on the specified 32-, 16-, or 8-bits integer
! parameter in a local object. The value is rounded to closest integer
! value.
!
! The last name segment of the object and the name of the
! parameter will be shown in the right empty part of the
! StoIp symbol.
!*/
SObject pwrb:Class
Object StoAtoIp $ClassDef 226
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtConnectionsAndDevBodies
Attr Flags = pwr_mClassDef_DevOnly
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "StoAtoIp"
EndBody
!/**
! The input is connected to an analog signal or left
! open. In the latter case In is default 0.0 and not
! adjustable in the run time system. The In attribute
! specifies which value should be assigned to the
! parameter.
!*/
Object In $Input 1
Body SysBody
Attr PgmName = "In"
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_DEVBODYREF
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "VAL"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
!/**
! Used by the PLC Editor. Specifies the complete name of
! the current object.
!*/
Object Object $Intern 1
Body SysBody
Attr PgmName = "Object"
Attr TypeRef = "pwrs:Type-$Objid"
Attr GraphName = "sts"
Attr NiNaAnnot = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Used by the PLC Editor. Specifies the name of the
! parameter. The editor is case-sensitive on this
! attribute; i.e. if the attribute is named ActualValue
! it has to be written ActualValue and not ACTUALVALUE,
! for example.
!*/
Object Parameter $Intern 2
Body SysBody
Attr PgmName = "Parameter"
Attr TypeRef = "pwrs:Type-$String80"
Attr GraphName = "par"
Attr NiNaAnnot = 2
Attr ConPointNr = 0
EndBody
EndObject
!/**
! Specifies how many segments of the actual object name
! that is to be displayed in the symbol of the StoAtoIp
! object. The segments are counted from behind.
!
! 0 and 1 both result in displaying the last segment of
! the actual object name.
!*/
Object ObjectSegments $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object PlcNode $Buffer 4
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 259
Attr parameters[0] = 1
Attr parameters[1] = 0
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 15
Attr graphindex = 0
Attr default_mask[0] = 1
Attr default_mask[1] = 0
Attr segname_annotation = 0
Attr devbody_annotation = 1
Attr compmethod = 12
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr connectmethod = 7
Attr executeordermethod = 2
Attr objname = "StoAtoIp"
Attr graphname = "StoAtoIp"
Attr debugpar = ""
EndBody
EndObject
Object Template StoAtoIp
Body DevBody
Attr ObjectSegments = 2
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_stoigeneric.wb_load -- Defines the class StoIgeneric.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! <Description>.
!
!/**
! @Version 1.0
! @Group Plc,PlcIO
! @Summary Temporary object produced by the plc editor.
! A StoIgeneric object is a temporary object, created in the plc-editor
! when a connection is created from a integer output. The object will
! be transformed to its final appearence when it is connected to a
! signal or attribute.
! @image orm_stoigeneric_fo.gif
!*/
!
SObject pwrb:Class
Object StoIgeneric $ClassDef 339
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_DevBodyOnly
Attr PopEditor = 2
EndBody
Object DevBody $ObjBodyDef 2
Object In $Input 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
Object PlcNode $Buffer 2
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 141
Attr parameters[0] = 1
Attr parameters[1] = 0
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 4
Attr graphindex = 39
Attr default_mask[0] = 1
Attr default_mask[1] = 0
Attr segname_annotation = 0
Attr compmethod = 56
Attr compindex = 0
Attr tracemethod = 1
Attr traceindex = 1
Attr connectmethod = 25
Attr executeordermethod = 0
Attr objname = "StoI"
Attr graphname = "StoI"
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_stoii.wb_load -- Defines the class StoIi
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! STORE value of Analog Output signal.
!
!/**
! @Version 1.0
! @Code rt_plc_macro_io.h
! @Summary Store Ii signal
! Store Integer input.
! @image orm_stoii_fo.gif
!
! Stores an integer value ( e.g. output signal of the type
! pwr_tInt32) on the specified local Ii object.
!
! The complete name of the Ii object has to be supplied;
! its last segment is shown in the right empty part of
! the symbol.
!
! @b Note!
! This object is used for simulation purposes.
! SimulFlag will be set TRUE and ReadWriteFlag FALSE
! in the IOHandler object, i.e. any physical I/O-hardware may
! not be used on the node in connection to this object.
!*/
SObject pwrb:Class
Object StoIi $ClassDef 333
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtConnectionsAndDevBodies
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "stoii"
EndBody
!/**
! The input is connected to an integer signal or left
! open. In the latter case In is default 0 and not
! adjustable in the run time system. The In attribute
! specifies which value should be assigned to the
! Ii-signal.
!*/
Object In $Input 1
Body SysBody
Attr PgmName = "ActualValue"
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_DEVBODYREF
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "VAL"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
!/**
! Used by the PLC Editor. Specifies the complete name of
! the current Ii object.
!*/
Object IiObject $Intern 1
Body SysBody
Attr PgmName = "IiObject"
Attr TypeRef = "pwrs:Type-$Objid"
Attr GraphName = "In"
Attr NiNaAnnot = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Used by the PLC Editor.
!*/
Object SigChanCon $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_INVISIBLE
Attr NiNaAnnot = 2
Attr NiNaCond = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Specifies how many segments of the Ii object name that
! is to be displayed in the symbol of the StoIi object.
! The segments are counted from behind.
!
! 0 and 1 both result in displaying the last segment of
! the signal object name.
!*/
Object IiObjectSegments $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Specifies if the name on the channel object (
! associated with the signal object) is to be displayed
! in the symbol of the StoIi object or not. FALSE means
! no displaying and TRUE displaying.
! See also SigChanConSegments.
!*/
Object ShowSigChanCon $Intern 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Specifies, when ShowSigChanCon = TRUE, how many
! segments of the channel object name that is to be
! displayed in the symbol of the StoIi object. The
! segments are counted from behind.
! 0 and 1 both result in displaying the last segment of
! the channel object name.
!*/
Object SigChanConSegments $Intern 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object PlcNode $Buffer 6
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 146
Attr parameters[0] = 1
Attr parameters[1] = 0
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 7
Attr graphindex = 1
Attr default_mask[0] = 1
Attr default_mask[1] = 0
Attr segname_annotation = 0
Attr devbody_annotation = 1
Attr compmethod = 38
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr connectmethod = 22
Attr executeordermethod = 2
Attr objname = "StoIi"
Attr graphname = "StoIi"
Attr debugpar = ""
EndBody
EndObject
Object Template StoIi
Body DevBody
Attr IiObjectSegments = 2
Attr ShowSigChanCon = 1
Attr SigChanConSegments = 2
EndBody
EndObject
EndObject
EndSObject
! pwrb_c_stoio.wb_load -- Defines the class StoIo.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! Store Integer Output.
!
!/**
! @Version 1.0
! @Code rt_plc_macro_io.h
! @Group Plc,PlcIO
! @Summary Store Integer output signal
! Stores an integer value ( e.g. output signal of the type
! pwr_tInt32) on the specified local Io object.
! @image orm_stoio_fo.gif
!
! The complete name of the Io object has to be supplied;
! its last segment is shown in the right empty part of
! the symbol.
!*/
SObject pwrb:Class
Object StoIo $ClassDef 332
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtConnectionsAndDevBodies
Attr Flags = pwr_mClassDef_DevOnly
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "stoio"
EndBody
!/**
! The input is connected to an integer signal or left
! open. In the latter case In is default 0 and not
! adjustable in the run time system. The In attribute
! specifies which value should be assigned to the
! Io-signal.
!*/
Object In $Input 1
Body SysBody
Attr PgmName = "ActualValue"
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_DEVBODYREF
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "VAL"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
!/**
! Used by the PLC Editor. Specifies the complete name of
! the current Io object.
!*/
Object IoObject $Intern 1
Body SysBody
Attr PgmName = "IoObject"
Attr TypeRef = "pwrs:Type-$Objid"
Attr GraphName = "In"
Attr NiNaAnnot = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Used by the PLC Editor.
!*/
Object SigChanCon $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_INVISIBLE
Attr NiNaAnnot = 2
Attr NiNaCond = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Specifies how many segments of the Io object name that
! is to be displayed in the symbol of the StoIo object.
! The segments are counted from behind.
!
! 0 and 1 both result in displaying the last segment of
! the signal object name.
!*/
Object IoObjectSegments $Intern 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Specifies if the name on the channel object (
! associated with the signal object) is to be displayed
! in the symbol of the StoIo object or not. FALSE means
! no displaying and TRUE displaying.
! See also SigChanConSegments.
!*/
Object ShowSigChanCon $Intern 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Specifies, when ShowSigChanCon = TRUE, how many
! segments of the channel object name that is to be
! displayed in the symbol of the StoIo object. The
! segments are counted from behind.
! 0 and 1 both result in displaying the last segment of
! the channel object name.
!*/
Object SigChanConSegments $Intern 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object PlcNode $Buffer 6
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 147
Attr parameters[0] = 1
Attr parameters[1] = 0
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 7
Attr graphindex = 1
Attr default_mask[0] = 1
Attr default_mask[1] = 0
Attr segname_annotation = 0
Attr devbody_annotation = 1
Attr compmethod = 11
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr connectmethod = 23
Attr executeordermethod = 2
Attr objname = "StoIo"
Attr graphname = "StoIo"
Attr debugpar = ""
EndBody
EndObject
Object Template StoIo
Body DevBody
Attr IoObjectSegments = 2
Attr SigChanConSegments = 2
Attr ShowSigChanCon = 1
EndBody
EndObject
EndObject
EndSObject
......@@ -11,13 +11,14 @@
! @Version 1.0
! @Code rt_plc_macro_io.h
! @Group Plc,PlcIO
! @Summary Store integer attribute
! Store Integer parameter. Used in run time to write in
! @Summary Store integer value to integer attribute
! Store integer value (attribute, input or output signal)
! to Integer parameter. Used in run time to write in
! integer parameters.
! @image orm_stoip_fo.gif
!
! Stores, after truncation, the value of an analog
! quantity ( e.g. output signal of the type pwr_tFloat32)
! Stores the value of an integer
! quantity ( e.g. output signal of the type pwr_tInt32)
! on the specified 32-, 16-, or 8-bits integer parameter
! in a local object.
!
......@@ -26,7 +27,7 @@
! StoIp symbol.
!*/
SObject pwrb:Class
Object StoIp $ClassDef 226
Object StoIp $ClassDef 342
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtConnectionsAndDevBodies
......@@ -34,11 +35,11 @@ SObject pwrb:Class
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "stoip"
Attr StructName = "StoIp"
EndBody
!/**
! The input is connected to an analog signal or left
! open. In the latter case In is default 0.0 and not
! The input is connected to an integer signal or left
! open. In the latter case In is default 0 and not
! adjustable in the run time system. The In attribute
! specifies which value should be assigned to the
! parameter.
......@@ -48,7 +49,7 @@ SObject pwrb:Class
Attr PgmName = "In"
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_DEVBODYREF
Attr TypeRef = "pwrs:Type-$Float32"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "VAL"
EndBody
EndObject
......@@ -105,7 +106,7 @@ SObject pwrb:Class
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 259
Attr object_type = 271
Attr parameters[0] = 1
Attr parameters[1] = 0
Attr parameters[2] = 0
......
! pwrb_c_stoiv.wb_load -- Defines the class StoIv.
!
! PROVIEW/R
! Copyright (C) 1996 by Comator Process AB.
!
! Store Integer Value.
!
!/**
! @Version 1.0
! @Code rt_plc_macro_io.h
! @Group Plc,PlcIO
! @Summary Store Integer value
! Store Integer value.
! @image orm_stoiv_fo.gif
!
! Stores an integer value ( e.g. output signal of the type
! pwr_tInt32) on the specified local Iv object.
! Used e.g. to assign starting values to local Iv objects
! at initialisation of a PLC program.
!
! The complete name of the Av object has to be supplied;
! its last segment is shown in the right empty part of
! the symbol.
!*/
SObject pwrb:Class
Object StoIv $ClassDef 334
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_RtConnectionsAndDevBodies
Attr Flags = pwr_mClassDef_DevOnly
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "stoiv"
EndBody
!/**
! The input is connected to an integer signal or left
! open. In the latter case In is default 0.0 and not
! adjustable in the run time system. The In attribute
! specifies which value should be assigned to the
! Iv-signal.
!*/
Object In $Input 1
Body SysBody
Attr PgmName = "ActualValue"
Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_DEVBODYREF
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "VAL"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
!/**
! Used by the PLC Editor. Specifies the complete name of
! the current Iv object.
!*/
Object IvObject $Intern 1
Body SysBody
Attr PgmName = "IvObject"
Attr TypeRef = "pwrs:Type-$Objid"
Attr GraphName = "In"
Attr NiNaAnnot = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Specifies how many segments of the Iv object name that
! is to be displayed in the symbol of the StoIv object.
! The segments are counted from behind.
!*/
Object IvObjectSegments $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object PlcNode $Buffer 3
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 145
Attr parameters[0] = 1
Attr parameters[1] = 0
Attr parameters[2] = 0
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 7
Attr graphindex = 1
Attr default_mask[0] = 1
Attr default_mask[1] = 0
Attr segname_annotation = 0
Attr devbody_annotation = 1
Attr compmethod = 11
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr connectmethod = 21
Attr executeordermethod = 2
Attr objname = "StoIv"
Attr graphname = "StoIv"
Attr debugpar = ""
EndBody
EndObject
Object Template StoIv
Body DevBody
Attr IvObjectSegments = 2
EndBody
EndObject
EndObject
EndSObject
......@@ -15,9 +15,9 @@
111 2.21412
116 0
117 0
118 141
119 111
120 1
118 152
119 118
120 0
121 Claes context
122 0
126 0.2
......@@ -78,27 +78,29 @@ pwr_exe:
2233 1
2234 1
2235 1
2243 0
99
123
2
3
300 pwr_buttoncommand
300 pwr_valuemedium
301
2
19
1904
1900 5.1
1901 0.2
1902 1.8
1903 0.2
1900 3
1901 0
1902 1
1903 0
1908 0
1909 102
1910 102
1911 0
1909 41
1910 41
1911 1
1915 0
1913 5
1916 2
1914 0
1917 0
1907 0
1906
1905
......@@ -109,13 +111,13 @@ pwr_exe:
505 1
502
7
700 0.2
701 0.2
700 0
701 0
99
503
7
700 5.1
701 1.8
700 3
701 1
99
99
1912
......@@ -129,61 +131,89 @@ pwr_exe:
2806 0
99
99
26
2604
2600 5.1
2601 0.2
2602 1.8
2603 0.2
2605
25
2500 0
2501 1
2503 1
2504 0
2502
2
29
2907
13
1300 1
1301 304
1306 0
1302 3
1305 1
1303
7
700 0.2
701 1.8
700 1
701 1.35
99
7
700 0.5
701 1.5
1304 0
99
7
700 0.5
701 0.5
2908
28
2800 1
2801 0
2802 -0.65
2803 0
2804 1
2805 -0.55
2806 0
99
7
700 4.8
701 0.5
99
7
700 5.1
701 0.2
99
7
700 0.2
701 0.2
302 0
304 0
303
305 0
306
307
308 1024
321 0
309 0
313 0
322 0
323 0
324 0
325 0
326 0
327 0
310 0
311 0
312
314
315 1
316 1
317 0
318 0
319 0
320 0
328 984
99
3
300 pwr_framethin
301
2
20
2004
2000 8
2001 1
2002 0
2003 0
2009 108
2010 0
2005
6
600 108
601 1
602
7
700 0.2
701 1.8
700 8
701 0
99
603
7
700 1
701 0
99
99
2608 0
2609 100
2610 100
2611 0
2616 0
2614 5
2617 2
2615 0
2607 0
2606
2612
2008
28
2800 1
2801 0
......@@ -193,63 +223,31 @@ pwr_exe:
2805 0
2806 0
99
2613 0
99
26
2604
2600 5.1
2601 0.2
2602 1.8
2603 0.2
2605
25
2500 0
2501 1
2503 1
2504 0
2502
2
7
700 0.2
701 1.8
99
7
700 0.5
701 1.5
99
7
700 4.8
701 1.5
99
7
700 4.8
701 0.5
99
7
700 5.1
701 0.2
99
20
2004
2000 1
2001 1
2002 4
2003 0
2009 108
2010 0
2005
6
600 108
601 1
602
7
700 5.1
701 1.8
700 1
701 4
99
603
7
700 0.2
701 1.8
99
700 1
701 0
99
99
2608 0
2609 104
2610 104
2611 0
2616 0
2614 5
2617 2
2615 0
2607 0
2606
2612
2008
28
2800 1
2801 0
......@@ -259,74 +257,72 @@ pwr_exe:
2805 0
2806 0
99
2613 0
99
19
1904
1900 5.1
1901 0.2
1902 1.8
1903 0.2
1908 0
1909 0
1910 0
1911 1
1915 0
1913 5
1916 2
1914 0
1907 0
1906
1905
5
500 0
501 1
504 1
505 0
502
20
2004
2000 8
2001 1
2002 4
2003 4
2009 40
2010 0
2005
6
600 40
601 1
602
7
700 0.1
701 0.2
700 8
701 4
99
503
603
7
700 5
701 1.8
700 1
701 4
99
99
1912
2008
28
2800 1
2801 0
2802 0.1
2802 0
2803 0
2804 1
2805 0
2806 0
99
99
29
2907
13
1300 1
1301 304
1302 3
1305 1
1303
20
2004
2000 8
2001 8
2002 4
2003 0
2009 40
2010 0
2005
6
600 40
601 1
602
7
700 0.55
701 0.65
700 8
701 4
99
1304 0
603
7
700 8
701 0
99
2908
99
2008
28
2800 1
2801 0
2802 0.2
2802 0
2803 0
2804 1
2805 0.55
2805 0
2806 0
99
99
......@@ -338,7 +334,7 @@ pwr_exe:
306
307
308 0
321 64
321 0
309 0
313 0
322 0
......@@ -347,7 +343,7 @@ pwr_exe:
325 0
326 0
327 0
310 0
310 1
311 0
312
314
......@@ -357,25 +353,27 @@ pwr_exe:
318 0
319 0
320 0
328 984
99
3
300 pwr_valuemedium
300 pwr_buttoncommand
301
2
19
1904
1900 3
1901 0
1902 1
1903 0
1900 5.1
1901 0.2
1902 1.8
1903 0.2
1908 0
1909 41
1910 41
1911 1
1909 102
1910 102
1911 0
1915 0
1913 5
1916 2
1914 0
1917 0
1907 0
1906
1905
......@@ -386,13 +384,13 @@ pwr_exe:
505 1
502
7
700 0
701 0
700 0.2
701 0.2
99
503
7
700 3
701 1
700 5.1
701 1.8
99
99
1912
......@@ -406,119 +404,131 @@ pwr_exe:
2806 0
99
99
29
2907
13
1300 1
1301 304
1302 3
1305 1
1303
26
2604
2600 5.1
2601 0.2
2602 1.8
2603 0.2
2605
25
2500 0
2501 1
2503 1
2504 0
2502
2
7
700 0.2
701 1.8
99
7
700 0.5
701 1.5
99
7
700 0.5
701 0.5
99
7
700 4.8
701 0.5
99
7
700 5.1
701 0.2
99
7
700 0.2
701 0.2
99
7
700 1
701 1.35
700 0.2
701 1.8
99
1304 0
99
2908
99
2608 0
2609 100
2610 100
2611 0
2616 0
2614 5
2617 2
2615 0
2618 0
2607 0
2606
2612
28
2800 1
2801 0
2802 -0.65
2802 0
2803 0
2804 1
2805 -0.55
2805 0
2806 0
99
2613 0
2619 0
2620 0
99
99
302 0
304 0
303
305 0
306
307
308 1024
321 0
309 0
313 0
322 0
323 0
324 0
325 0
326 0
327 0
310 0
311 0
312
314
315 1
316 1
317 0
318 0
319 0
320 0
99
3
300 pwr_framethin
301
26
2604
2600 5.1
2601 0.2
2602 1.8
2603 0.2
2605
25
2500 0
2501 1
2503 1
2504 0
2502
2
20
2004
2000 8
2001 1
2002 0
2003 0
2009 108
2005
6
600 108
601 1
602
7
700 8
701 0
700 0.2
701 1.8
99
603
7
700 1
701 0
700 0.5
701 1.5
99
7
700 4.8
701 1.5
99
2008
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
7
700 4.8
701 0.5
99
7
700 5.1
701 0.2
99
20
2004
2000 1
2001 1
2002 4
2003 0
2009 108
2005
6
600 108
601 1
602
7
700 1
701 4
700 5.1
701 1.8
99
603
7
700 1
701 0
700 0.2
701 1.8
99
99
2008
99
2608 0
2609 104
2610 104
2611 0
2616 0
2614 5
2617 2
2615 0
2618 0
2607 0
2606
2612
28
2800 1
2801 0
......@@ -528,70 +538,78 @@ pwr_exe:
2805 0
2806 0
99
2613 0
2619 0
2620 0
99
20
2004
2000 8
2001 1
2002 4
2003 4
2009 40
2005
6
600 40
601 1
602
19
1904
1900 5.1
1901 0.2
1902 1.8
1903 0.2
1908 0
1909 0
1910 0
1911 1
1915 0
1913 5
1916 2
1914 0
1917 0
1907 0
1906
1905
5
500 0
501 1
504 1
505 0
502
7
700 8
701 4
700 0.1
701 0.2
99
603
503
7
700 1
701 4
700 5
701 1.8
99
99
2008
1912
28
2800 1
2801 0
2802 0
2802 0.1
2803 0
2804 1
2805 0
2806 0
99
99
20
2004
2000 8
2001 8
2002 4
2003 0
2009 40
2005
6
600 40
601 1
602
7
700 8
701 4
99
603
29
2907
13
1300 1
1301 304
1306 0
1302 3
1305 1
1303
7
700 8
701 0
700 0.55
701 0.65
99
1304 0
99
2008
2908
28
2800 1
2801 0
2802 0
2802 0.2
2803 0
2804 1
2805 0
2805 0.55
2806 0
99
99
......@@ -603,7 +621,7 @@ pwr_exe:
306
307
308 0
321 0
321 64
309 0
313 0
322 0
......@@ -612,7 +630,7 @@ pwr_exe:
325 0
326 0
327 0
310 1
310 0
311 0
312
314
......@@ -622,6 +640,7 @@ pwr_exe:
318 0
319 0
320 0
328 984
99
3
300 pwr_valuelong
......@@ -641,6 +660,7 @@ pwr_exe:
1913 5
1916 2
1914 0
1917 0
1907 0
1906
1905
......@@ -676,6 +696,7 @@ pwr_exe:
13
1300 1
1301 304
1306 0
1302 1
1305 1
1303
......@@ -723,6 +744,7 @@ pwr_exe:
318 0
319 0
320 0
328 984
99
3
300 pwr_smallbutton
......@@ -742,6 +764,7 @@ pwr_exe:
1913 5
1916 2
1914 0
1917 0
1907 0
1906
1905
......@@ -824,6 +847,7 @@ pwr_exe:
2614 5
2617 2
2615 0
2618 0
2607 0
2606
2612
......@@ -837,6 +861,8 @@ pwr_exe:
2806 0
99
2613 0
2619 0
2620 0
99
26
2604
......@@ -890,6 +916,7 @@ pwr_exe:
2614 5
2617 2
2615 0
2618 0
2607 0
2606
2612
......@@ -903,6 +930,8 @@ pwr_exe:
2806 0
99
2613 0
2619 0
2620 0
99
19
1904
......@@ -918,6 +947,7 @@ pwr_exe:
1913 5
1916 2
1914 0
1917 0
1907 0
1906
1905
......@@ -953,6 +983,7 @@ pwr_exe:
13
1300 1
1301 304
1306 0
1302 2
1305 1
1303
......@@ -1000,6 +1031,7 @@ pwr_exe:
318 0
319 0
320 0
328 984
99
99
124
......@@ -1010,7 +1042,9 @@ pwr_exe:
27
2703 56
2704 51
2722 10000
2705 51
2723 10000
2706 56
2708 0
2709 0
......@@ -1116,6 +1150,7 @@ pwr_exe:
2718
2717
2719 0
2724 0
2721
1
100 1024
......@@ -1141,6 +1176,7 @@ pwr_exe:
9
900 4
901 304
904 0
902 Description
903
7
......@@ -1172,6 +1208,7 @@ pwr_exe:
9
900 4
901 304
904 0
902 Number
903
7
......@@ -1193,7 +1230,9 @@ pwr_exe:
27
2703 56
2704 51
2722 10000
2705 51
2723 10000
2706 56
2708 0
2709 0
......@@ -1299,6 +1338,7 @@ pwr_exe:
2718
2717
2719 0
2724 0
2721
1
100 1024
......@@ -1312,6 +1352,8 @@ pwr_exe:
13
1302 0
1303 1
1304 0
1305 0
99
99
99
......@@ -1328,6 +1370,7 @@ pwr_exe:
9
900 4
901 304
904 0
902 TestOn
903
7
......@@ -1349,7 +1392,9 @@ pwr_exe:
27
2703 56
2704 51
2722 10000
2705 51
2723 10000
2706 56
2708 0
2709 0
......@@ -1455,6 +1500,7 @@ pwr_exe:
2718
2717
2719 0
2724 0
2721
1
100 1
......@@ -1463,7 +1509,7 @@ pwr_exe:
103 0
12
1200 $object.FixedOutValue##Float32
1201 %d
1201 %10.3f
99
99
99
......@@ -1480,6 +1526,7 @@ pwr_exe:
9
900 4
901 304
904 0
902 FixedOutValue
903
7
......@@ -1501,7 +1548,9 @@ pwr_exe:
27
2703 46
2704 51
2722 10000
2705 51
2723 10000
2706 46
2708 0
2709 0
......@@ -1607,6 +1656,7 @@ pwr_exe:
2718
2717
2719 0
2724 0
2721
1
100 1
......@@ -1622,7 +1672,9 @@ pwr_exe:
27
2703 10000
2704 10000
2722 10000
2705 10000
2723 10000
2706 10000
2708 1
2709 1
......@@ -1729,6 +1781,7 @@ pwr_exe:
2718
2717
2719 0
2724 0
2721
1
100 1
......@@ -1743,7 +1796,9 @@ pwr_exe:
27
2703 46
2704 51
2722 10000
2705 51
2723 10000
2706 46
2708 0
2709 0
......@@ -1849,6 +1904,7 @@ pwr_exe:
2718
2717
2719 0
2724 0
2721
1
100 1
......@@ -1874,6 +1930,7 @@ pwr_exe:
9
900 4
901 304
904 0
902 Identity
903
7
......@@ -1895,7 +1952,9 @@ pwr_exe:
27
2703 56
2704 51
2722 10000
2705 51
2723 10000
2706 56
2708 0
2709 0
......@@ -2001,6 +2060,7 @@ pwr_exe:
2718
2717
2719 0
2724 0
2721
1
100 1
......@@ -2026,6 +2086,7 @@ pwr_exe:
9
900 4
901 304
904 0
902 OutPolyType
903
7
......@@ -2047,7 +2108,9 @@ pwr_exe:
27
2703 56
2704 51
2722 10000
2705 51
2723 10000
2706 56
2708 0
2709 0
......@@ -2153,6 +2216,7 @@ pwr_exe:
2718
2717
2719 0
2724 0
2721
1
100 1024
......@@ -2166,6 +2230,8 @@ pwr_exe:
13
1302 0
1303 0
1304 0
1305 0
99
99
99
......@@ -2182,6 +2248,7 @@ pwr_exe:
9
900 4
901 304
904 0
902 ActualValue
903
7
......@@ -2203,7 +2270,9 @@ pwr_exe:
27
2703 56
2704 51
2722 10000
2705 51
2723 10000
2706 56
2708 0
2709 0
......@@ -2309,6 +2378,7 @@ pwr_exe:
2718
2717
2719 0
2724 0
2721
1
100 1024
......@@ -2322,6 +2392,8 @@ pwr_exe:
13
1302 0
1303 0
1304 0
1305 0
99
99
99
......@@ -2338,6 +2410,7 @@ pwr_exe:
9
900 4
901 304
904 0
902 -
903
7
......@@ -2359,7 +2432,9 @@ pwr_exe:
27
2703 56
2704 51
2722 10000
2705 51
2723 10000
2706 56
2708 0
2709 0
......@@ -2465,6 +2540,7 @@ pwr_exe:
2718
2717
2719 0
2724 0
2721
1
100 1024
......@@ -2478,6 +2554,8 @@ pwr_exe:
13
1302 0
1303 0
1304 0
1305 0
99
99
99
......@@ -2494,6 +2572,7 @@ pwr_exe:
9
900 4
901 304
904 0
902 SensorSignalValue
903
7
......@@ -2515,7 +2594,9 @@ pwr_exe:
27
2703 56
2704 51
2722 10000
2705 51
2723 10000
2706 56
2708 0
2709 0
......@@ -2621,6 +2702,7 @@ pwr_exe:
2718
2717
2719 0
2724 0
2721
1
100 1024
......@@ -2634,6 +2716,8 @@ pwr_exe:
13
1302 0
1303 0
1304 0
1305 0
99
99
99
......@@ -2650,6 +2734,7 @@ pwr_exe:
9
900 4
901 304
904 0
902 -
903
7
......@@ -2671,7 +2756,9 @@ pwr_exe:
27
2703 56
2704 51
2722 10000
2705 51
2723 10000
2706 56
2708 0
2709 0
......@@ -2777,6 +2864,7 @@ pwr_exe:
2718
2717
2719 0
2724 0
2721
1
100 1024
......@@ -2790,6 +2878,8 @@ pwr_exe:
13
1302 0
1303 0
1304 0
1305 0
99
99
99
......@@ -2806,6 +2896,7 @@ pwr_exe:
9
900 4
901 304
904 0
902 ChannelSignalValue
903
7
......@@ -2827,7 +2918,9 @@ pwr_exe:
27
2703 56
2704 51
2722 10000
2705 51
2723 10000
2706 56
2708 0
2709 0
......@@ -2933,6 +3026,7 @@ pwr_exe:
2718
2717
2719 0
2724 0
2721
1
100 1024
......@@ -2946,6 +3040,8 @@ pwr_exe:
13
1302 0
1303 0
1304 0
1305 0
99
99
99
......@@ -2962,6 +3058,7 @@ pwr_exe:
9
900 4
901 304
904 0
902 -
903
7
......@@ -2983,7 +3080,9 @@ pwr_exe:
27
2703 56
2704 51
2722 10000
2705 51
2723 10000
2706 56
2708 0
2709 0
......@@ -3089,6 +3188,7 @@ pwr_exe:
2718
2717
2719 0
2724 0
2721
1
100 1024
......@@ -3102,6 +3202,8 @@ pwr_exe:
13
1302 0
1303 0
1304 0
1305 0
99
99
99
......@@ -3118,6 +3220,7 @@ pwr_exe:
9
900 4
901 304
904 0
902 RawValue
903
7
......@@ -3139,7 +3242,9 @@ pwr_exe:
27
2703 56
2704 51
2722 10000
2705 51
2723 10000
2706 56
2708 0
2709 0
......@@ -3245,6 +3350,7 @@ pwr_exe:
2718
2717
2719 0
2724 0
2721
1
100 1024
......@@ -3258,6 +3364,8 @@ pwr_exe:
13
1302 0
1303 0
1304 0
1305 0
99
99
99
......@@ -3274,6 +3382,7 @@ pwr_exe:
9
900 4
901 304
904 0
902 -
903
7
......@@ -3305,6 +3414,7 @@ pwr_exe:
9
900 4
901 304
904 0
902 Range
903
7
......@@ -3326,7 +3436,9 @@ pwr_exe:
27
2703 10000
2704 10000
2722 10000
2705 10000
2723 10000
2706 10000
2708 0
2709 0
......@@ -3432,6 +3544,7 @@ pwr_exe:
2718
2717
2719 0
2724 0
2721
1
100 1
......@@ -3447,6 +3560,7 @@ pwr_exe:
2002 11.85
2003 11.85
2009 108
2010 0
2005
6
600 108
......@@ -3476,7 +3590,9 @@ pwr_exe:
27
2703 10000
2704 10000
2722 10000
2705 10000
2723 10000
2706 10000
2708 1
2709 1
......@@ -3583,6 +3699,7 @@ pwr_exe:
2718
2717
2719 0
2724 0
2721
1
100 0
......@@ -3599,7 +3716,9 @@ pwr_exe:
27
2703 56
2704 51
2722 10000
2705 51
2723 10000
2706 56
2708 0
2709 0
......@@ -3705,6 +3824,7 @@ pwr_exe:
2718
2717
2719 0
2724 0
2721
1
100 1024
......@@ -3718,6 +3838,8 @@ pwr_exe:
13
1302 0
1303 0
1304 0
1305 0
99
99
99
......@@ -3734,6 +3856,7 @@ pwr_exe:
9
900 4
901 304
904 0
902 TestValue
903
7
......@@ -3755,7 +3878,9 @@ pwr_exe:
27
2703 10000
2704 10000
2722 10000
2705 10000
2723 10000
2706 10000
2708 0
2709 0
......@@ -3861,6 +3986,7 @@ pwr_exe:
2718
2717
2719 0
2724 0
2721
1
100 1
......
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