Commit bd4d4872 authored by claes's avatar claes

*** empty log message ***

parent 6ea8209e
!
! Proview $Id: pwrb_c_getdatap.wb_load,v 1.1 2006-05-23 13:51:15 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! pwrb_c_getdatap.wb_load -- Defines the class GetDatap.
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Group Plc,PlcData
! @Summary Get Data reference
! Get Data reference.
! @image orm_getdatap_fo.gif
!
! Fetches the reference to a data object from a data output attribute.
!
! The complete name of quantity has to be supplied.
!*/
Object GetDatap $ClassDef 473
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_DevBodyOnly
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "GetDatap"
EndBody
!/**
! Data output.
!*/
Object Out $Output 1
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_PRIVATE
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Out"
EndBody
EndObject
!/**
! Objid of the referenced data object
!*/
Object DataObjid $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
!/**
! Used by the PLC Editor. Specifies the complete name of
! the actual attribute.
!*/
Object DatapObject $Intern 1
Body SysBody
Attr PgmName = "DatapObject"
Attr TypeRef = "pwrs:Type-$AttrRef"
Attr GraphName = "VAL"
Attr NiNaAnnot = 1
Attr NiNaSegments = 1
EndBody
EndObject
!/**
! Specifies how many segments of the actual object name
! that is to be displayed in the symbol of the GetSp
! object. The segments are counted from behind.
!
! 0 and 1 both result in displaying the last segment of
! the actual object name.
!*/
Object DatapObjectSegments $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 = 11
Attr parameters[0] = 0
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 7
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 = "GetDatap"
Attr graphname = "Datap"
Attr debugpar = ""
EndBody
EndObject
Object Template GetDatap
Body DevBody
Attr DatapObjectSegments = 2
EndBody
EndObject
EndObject
EndSObject
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