Commit 67980690 authored by claes's avatar claes

Final remove of ssab

parent 6e5fdfc1
# makefile -- <short description>
#
# PROVIEW/R
# Copyright (C) 1996 by Comator Process AB.
#
# <Description>.
#
include $(pwre_dir_symbols)
ifndef variables_mk
-include $(pwre_sroot)/tools/bld/src/$(os_name)/$(hw_name)/variables.mk
endif
ifndef variables_mk
include $(pwre_sroot)/tools/bld/src/$(os_name)/variables.mk
endif
ifndef rules_mk
-include $(pwre_sroot)/tools/bld/src/$(os_name)/$(hw_name)/rules.mk
endif
ifndef rules_mk
include $(pwre_sroot)/tools/bld/src/$(os_name)/rules.mk
endif
.PHONY : all init copy lib exe clean realclean\
$(clean_wbl)
all : init copy exe
init :
copy : $(inc_dir)/pwr_ssabclasses.h \
$(inc_dir)/pwr_ssabclasses.hpp
lib : $(load_dir)/ssab.dbs
exe : $(doc_dir)/en_us/orm/ssab_allclasses.html \
$(exe_dir)/ssab_xtthelp.dat
clean :
realclean : clean $(clean_wbl)
$(load_dir)/ssab.dbs :
@ echo "Generating loadfile for ssab"
@ wb_cmd -q -i create snapshot /file=\"$(pwre_sroot)/wbl/ssab/src/\"/out=\"$(target)\"
@ chmod a+w $(target)
$(inc_dir)/pwr_ssabclasses.h :
@ echo "Generating struct files for ssab classes..."
@ co_convert -s -d $(inc_dir) "$(pwre_sroot)/wbl/ssab/src/ssab_c_*.wb_load"
$(inc_dir)/pwr_ssabclasses.hpp :
@ echo "Generating hpp files for ssab classes..."
@ co_convert -po -d $(inc_dir) "$(pwre_sroot)/wbl/ssab/src/ssab_c_*.wb_load"
$(doc_dir)/en_us/orm/ssab_allclasses.html :
@ echo "Generating html files for ssab classes en_us..."
@ co_convert -w -d $(doc_dir)/en_us/orm "$(pwre_sroot)/wbl/ssab/src/ssab_c_*.wb_load"
@ echo "Generating html files for ssab structs en_us..."
@ co_convert -c -d $(doc_dir)/en_us/orm $(inc_dir)/pwr_ssabclasses.h
@ echo "Generating html files for ssab code en_us..."
@ co_convert -c -d $(doc_dir)/en_us/orm "$(pwre_sroot)/lib/rs/src/rs_plc_macro_ssab.h"
@ co_convert -c -d $(doc_dir)/en_us/orm "$(pwre_sroot)/lib/rs/src/rs_plc_ssab*.c"
@ echo "Generating html files for ssab classes sv_se..."
@ co_convert -w -l sv_se -d $(doc_dir)/sv_se/orm "$(pwre_sroot)/wbl/ssab/src/ssab_c_*.wb_load"
@ echo "Generating html files for ssab structs sv_se..."
@ co_convert -c -d $(doc_dir)/sv_se/orm $(inc_dir)/pwr_ssabclasses.h
@ echo "Generating html files for ssab code sv_se..."
@ co_convert -c -d $(doc_dir)/sv_se/orm "$(pwre_sroot)/lib/rs/src/rs_plc_macro_ssab.h"
@ co_convert -c -d $(doc_dir)/sv_se/orm "$(pwre_sroot)/lib/rs/src/rs_plc_ssab*.c"
@ echo "Generating postscript file for ssab classes..."
@ co_convert -q -d $(doc_dir)/en_us "$(pwre_sroot)/wbl/ssab/src/ssab_*.wb_load"
$(exe_dir)/ssab_xtthelp.dat :
@ echo "Generating xtt help files for ssab classes"
@ co_convert -x -d $(exe_dir) "$(pwre_sroot)/wbl/ssab/src/ssab_c_*.wb_load"
clean_wbl :
@ if [ -e $(load_dir)/ssab.dbs ]; then \
$(rm) $(rmflags) $(load_dir)/ssab.dbs; \
fi
# makefile -- <short description>
#
# PROVIEW/R
# Copyright (C) 1996 by Comator Process AB.
#
# <Description>.
#
include $(pwre_dir_symbols)
ifndef variables_mk
-include $(pwre_sroot)/tools/bld/src/$(os_name)/$(hw_name)/variables.mk
endif
ifndef variables_mk
include $(pwre_sroot)/tools/bld/src/$(os_name)/variables.mk
endif
ifndef rules_mk
-include $(pwre_sroot)/tools/bld/src/$(os_name)/$(hw_name)/rules.mk
endif
ifndef rules_mk
include $(pwre_sroot)/tools/bld/src/$(os_name)/rules.mk
endif
source_dirs = $(hw_source) $(os_source) $(co_source)
.PHONY : all init copy lib exe clean realclean
all : init copy exe
init :
copy : $(inc_dir)/pwr_ssabclasses.h
lib :
exe : $(doc_dir)/ssab_allclasses.html \
$(exe_dir)/ssab_xtthelp.dat
clean :
realclean : clean clean_ssab_xtthelp clean_ssab_html clean_ssabclasses
$(inc_dir)/pwr_ssabclasses.h :
@ echo "Generating struct files for ssab classes..."
@ co_convert -s -d $(inc_dir) "$(pwre_sroot)/wbl/ssab/src/ssab_c_*.wb_load"
$(doc_dir)/ssab_allclasses.html :
@ echo "Generating html files for ssab classes..."
@ co_convert -w -d $(doc_dir) "$(pwre_sroot)/wbl/ssab/src/ssab_c_*.wb_load"
@ echo "Generating html files for ssab structs..."
@ co_convert -c -d $(doc_dir) $(inc_dir)/pwr_ssabclasses.h
$(exe_dir)/ssab_xtthelp.dat :
@ echo "Generating xtt help files for ssab classes"
@ co_convert -x -d $(exe_dir) "$(pwre_sroot)/wbl/ssab/src/ssab_c_*.wb_load"
#$(export_wbl) : $(cnf_dir)/%.wb_vers : %.wb_load
# @ write sys$$output "Exporting $< ..."
# @ $(copy) $(copyflags) $(source) $(target)
# @ if f$$search("$(target)") .nes. "" then $(pur) $(purflags) $(target)
clean_ssab_xtthelp :
@ if [ -e $(exe_dir)/ssab_xtthelp.dat ]; then \
$(rm) $(rmflags) $(exe_dir)/ssab_xtthelp.dat; \
fi
clean_ssab_html :
@ if [ -e $(doc_dir)/ssab_allclasses.html ]; then \
$(rm) $(rmflags) $(doc_dir)/ssab_*.html; \
fi
clean_ssabclasses :
@ if [ -e $(inc_dir)/pwr_ssabclasses.h ]; then \
$(rm) $(rmflags) $(inc_dir)/pwr_ssabclasses.h; \
$(rm) $(rmflags) $(inc_dir)/ssab_c_*.h; \
fi
# makefile -- <short description>
#
# PROVIEW/R
# Copyright (C) 1996 by Comator Process AB.
#
# <Description>.
#
include $(pwre_dir_symbols)
ifndef variables_mk
-include $(pwre_sroot)/tools/bld/src/$(os_name)/$(hw_name)/variables.mk
endif
ifndef variables_mk
include $(pwre_sroot)/tools/bld/src/$(os_name)/variables.mk
endif
ifndef rules_mk
-include $(pwre_sroot)/tools/bld/src/$(os_name)/$(hw_name)/rules.mk
endif
ifndef rules_mk
include $(pwre_sroot)/tools/bld/src/$(os_name)/rules.mk
endif
vpath %.wb_load $(hw_source):$(os_source):$(co_source)
source_dirs = $(hw_source) $(os_source) $(co_source)
ssab_volumes := \
$(cnf_dir)/ssab_v.wb_vers
ssab_hierarchies := \
$(cnf_dir)/ssab_ch_ssabclasses.wb_vers
ssab_layouts := \
$(cnf_dir)/ssab_l_base.wb_vers
ssab_classes := \
$(cnf_dir)/ssab_c_buff1440.wb_vers \
$(cnf_dir)/ssab_c_buff256.wb_vers \
$(cnf_dir)/ssab_c_buff32k.wb_vers \
$(cnf_dir)/ssab_c_buff4096.wb_vers \
$(cnf_dir)/ssab_c_loggconfig.wb_vers \
$(cnf_dir)/ssab_c_loctrans.wb_vers \
$(cnf_dir)/ssab_c_multicast.wb_vers \
$(cnf_dir)/ssab_c_remai.wb_vers \
$(cnf_dir)/ssab_c_remao.wb_vers \
$(cnf_dir)/ssab_c_remchan_ai.wb_vers \
$(cnf_dir)/ssab_c_remchan_ao.wb_vers \
$(cnf_dir)/ssab_c_remchan_co.wb_vers \
$(cnf_dir)/ssab_c_remchan_di.wb_vers \
$(cnf_dir)/ssab_c_remchan_do.wb_vers \
$(cnf_dir)/ssab_c_remchan_dv.wb_vers \
$(cnf_dir)/ssab_c_remco.wb_vers \
$(cnf_dir)/ssab_c_remdi.wb_vers \
$(cnf_dir)/ssab_c_remdo.wb_vers \
$(cnf_dir)/ssab_c_remdv.wb_vers \
$(cnf_dir)/ssab_c_remnode.wb_vers \
$(cnf_dir)/ssab_c_remtrans.wb_vers
export_wbl := \
$(ssab_volumes) \
$(ssab_hierarchies) \
$(ssab_classes) \
$(ssab_layouts)
clean_wbl := $(patsubst %.wb_vers,clean_%.wb_vers,$(export_wbl))
.PHONY : all init copy lib exe clean realclean\
$(clean_wbl)
all : init copy exe
init :
copy : $(inc_dir)/pwr_ssabclasses.h
lib : $(export_wbl)
exe : $(exe_dir)/ssab_xtthelp.dat
clean :
realclean : clean $(clean_wbl)
$(inc_dir)/pwr_ssabclasses.h :
@ write sys$$output "Generating struct files for ssab classes..."
@ mc pwr_exe:co_convert -s -d pwr_inc: $(to-vms $(pwre_sroot)/wbl/ssab/src/ssab_c_*.wb_load)
$(doc_dir)/ssab_allclasses.html :
@ write sys$$output "Generating html files for ssab classes..."
@ mc pwr_exe:co_convert -w -d pwr_doc: $(to_vms $(pwre_sroot)/wbl/ssab/src/ssab_c_*.wb_load)
@ write sys$$output "Generating html files for ssab structs..."
@ mc pwr_exe:co_convert -c -d pwr_doc: $(inc_dir)/pwr_ssabclasses.h
$(exe_dir)/ssab_xtthelp.dat :
@ write sys$$output "Generating xtt help files for ssab classes"
@ mc pwr_exe:co_convert -x -d pwr_exe: $(to-vms $(pwre_sroot)/wbl/ssab/src/ssab_c_*.wb_load)
$(clean_wbl) : clean_%.wb_vers : %.wb_vers
@ file := $(to-vms $(cnf_dir)/$*.wb_vers)
@ if f$$search(file) .nes. "" then $(rm) $(rmflags) 'file';*
@ file := $(to-vms $(lis_dir)/$*.wb_list)
@ if f$$search(file) .nes. "" then $(rm) $(rmflags) 'file';*
# makefile -- <short description>
#
# PROVIEW/R
# Copyright (C) 1996 by Comator Process AB.
#
# <Description>.
#
include $(pwre_dir_symbols)
ifndef variables_mk
-include $(pwre_sroot)/tools/bld/src/$(os_name)/$(hw_name)/variables.mk
endif
ifndef variables_mk
include $(pwre_sroot)/tools/bld/src/$(os_name)/variables.mk
endif
ifndef rules_mk
-include $(pwre_sroot)/tools/bld/src/$(os_name)/$(hw_name)/rules.mk
endif
ifndef rules_mk
include $(pwre_sroot)/tools/bld/src/$(os_name)/rules.mk
endif
vpath %.wb_load $(hw_source):$(os_source):$(co_source)
source_dirs = $(hw_source) $(os_source) $(co_source)
ssab_volumes := \
$(cnf_dir)/ssab_v.wb_vers
ssab_hierarchies := \
$(cnf_dir)/ssab_ch_ssabclasses.wb_vers
ssab_layouts := \
$(cnf_dir)/ssab_l_base.wb_vers
ssab_classes := \
$(cnf_dir)/ssab_c_buff1440.wb_vers \
$(cnf_dir)/ssab_c_buff256.wb_vers \
$(cnf_dir)/ssab_c_buff32k.wb_vers \
$(cnf_dir)/ssab_c_buff4096.wb_vers \
$(cnf_dir)/ssab_c_loggconfig.wb_vers \
$(cnf_dir)/ssab_c_loctrans.wb_vers \
$(cnf_dir)/ssab_c_multicast.wb_vers \
$(cnf_dir)/ssab_c_remai.wb_vers \
$(cnf_dir)/ssab_c_remao.wb_vers \
$(cnf_dir)/ssab_c_remchan_ai.wb_vers \
$(cnf_dir)/ssab_c_remchan_ao.wb_vers \
$(cnf_dir)/ssab_c_remchan_co.wb_vers \
$(cnf_dir)/ssab_c_remchan_di.wb_vers \
$(cnf_dir)/ssab_c_remchan_do.wb_vers \
$(cnf_dir)/ssab_c_remchan_dv.wb_vers \
$(cnf_dir)/ssab_c_remco.wb_vers \
$(cnf_dir)/ssab_c_remdi.wb_vers \
$(cnf_dir)/ssab_c_remdo.wb_vers \
$(cnf_dir)/ssab_c_remdv.wb_vers \
$(cnf_dir)/ssab_c_remnode.wb_vers \
$(cnf_dir)/ssab_c_remtrans.wb_vers
export_wbl := \
$(ssab_volumes) \
$(ssab_hierarchies) \
$(ssab_classes) \
$(ssab_layouts)
clean_wbl := $(patsubst %.wb_vers,clean_%.wb_vers,$(export_wbl))
.PHONY : all init copy lib exe clean realclean\
$(clean_wbl)
all : init copy exe
init :
copy : $(inc_dir)/pwr_ssabclasses.h
lib : $(export_wbl)
exe : $(exe_dir)/ssab_xtthelp.dat
clean :
realclean : clean $(clean_wbl)
$(inc_dir)/pwr_ssabclasses.h :
@ write sys$$output "Generating struct files for ssab classes..."
@ mc pwr_exe:co_convert -s -d pwr_inc: $(to-vms $(pwre_sroot)/wbl/ssab/src/ssab_c_*.wb_load)
$(doc_dir)/ssab_allclasses.html :
@ write sys$$output "Generating html files for ssab classes..."
@ mc pwr_exe:co_convert -w -d pwr_doc: $(to_vms $(pwre_sroot)/wbl/ssab/src/ssab_c_*.wb_load)
@ write sys$$output "Generating html files for ssab structs..."
@ mc pwr_exe:co_convert -c -d pwr_doc: $(inc_dir)/pwr_ssabclasses.h
$(exe_dir)/ssab_xtthelp.dat :
@ write sys$$output "Generating xtt help files for ssab classes"
@ mc pwr_exe:co_convert -x -d pwr_exe: $(to-vms $(pwre_sroot)/wbl/ssab/src/ssab_c_*.wb_load)
$(clean_wbl) : clean_%.wb_vers : %.wb_vers
@ file := $(to-vms $(cnf_dir)/$*.wb_vers)
@ if f$$search(file) .nes. "" then $(rm) $(rmflags) 'file';*
@ file := $(to-vms $(lis_dir)/$*.wb_list)
@ if f$$search(file) .nes. "" then $(rm) $(rmflags) 'file';*
!
! Proview $Id: ssab_c_antiswaya.wb_load,v 1.3 2005-09-01 14:58:03 claes Exp $
! Copyright (C) 2005 SSAB Oxelösund 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.
!
! ssab_c_antiswaya.wb_load -- Defines the class AntiSwayA.
!
SObject SSAB:Class
!/**
! @Version 1.0
! @Author Jonas Haulin
! @Code rs_plc_antisway.c
! @Summary Sway compensation for crane in automatic mode
! Sway compensation for crane in automatic mode
!
! @image orm_antiswaya_fo.gif
! The automatic antisway object will give an output that renders the system
! without sway at the command position if followed exactly. The function does
! not compensate for changes in Lc, but will use the value given at a new call
! throughout the travel. If there will be hoisting during the acceleration, an
! average value could be given at the same time as the command position, for
! instance.
!
! If a pointer to another AntiSwayA object is supplied in other, the two objects
! will match their travel times whenever a new position command is given to
! either object.
!
! Immediate travel start can be deactivad by turning off autoGo flag. This can
! be used if one wants to start the automatic travel on an operator's command
! rather than as soon as a new position command is given. If autoGo is turned
! off during travel, the object will set a disrupt flag and empty its set. All
! reference outputs are set to zero. To get a smooth transition, a manual antisway
! object (AntiSwayM) can be activated at the same time. In that case, it need to
! have the last non-zero uR from the AntiSwayA object, or a measured value of the
! velocity plugged into uc.
!
! Since the automatic antisway object only outputs ideal reference trajectories,
! it should be connected to a regulator of some kind ensuring trajectory tracking
! and that the final command velocity is met. Schematic example is shown below.
!
! @image orm_antiswaya_fig1.gif
!
! A simple candidate for a regulator would be a two-term regulator
! (y=uR+Ku*(uR-uc) +Kx*(xR-xc)), perhaps in combination with a ramp. Example in
! UTSKR1 plc programs.
!
! @image orm_antiswaya_fig2.gif
!
! An example of usage is shown above. Note especially the Data signal (pointer
! to other antisway object) going to the input Other.
!
! @b See also
! @classlink AntiSwayM ssab_antiswaym.html
!*/
Object AntiSwayA $ClassDef 26
Body SysBody
Attr Editor = 0
Attr Method = 0
Attr Flags = 16
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "AntiSwayA"
EndBody
!/**
! Pointer to other antisway object. If this input is used, objects
! operating in x- and y-direction will communicate and match their
! set extensions as much as possible. The result will be that the
! path travelled by the crane ressembles a straight line. The total
! travel time will not be different, however. If not connected, each
! object operates individually.
!*/
Object other $Input 1
Body SysBody
Attr PgmName = "other"
Attr Flags |= PWR_MASK_POINTER
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "Other"
EndBody
EndObject
!/**
! Integer that defines the impulse sequence / antisway strategy.
! Current available sequences are
!
! 0 No antisway
! 1 Double pulse
! 2 Robust, or double double pulse
! 3 Unity-magnitude negative ZV, or triple pulse
! 4 Unity-magnitude negative ZVD, robust variant of triple pulse above
! 5 Partial-sum negative ZV
! 6 Partial-sum negative ZVD, robust variant of ZV122.
!*/
Object mode $Input 2
Body SysBody
Attr PgmName = "mode"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Mode"
EndBody
EndObject
!/**
! Command position. Assumed to be in interval [0, xmax].
!*/
Object xCommand $Input 3
Body SysBody
Attr PgmName = "xCommand"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "XCOM"
EndBody
EndObject
!/**
! Current position
!*/
Object xc $Input 4
Body SysBody
Attr PgmName = "xc"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "POS"
EndBody
EndObject
!/**
! Current pendulum length.
! The pendulum length of a crane is best calibrated by measuring a number
! of periods of oscillation and calculating L as L=g*(T/(2pi))^2
!*/
Object Lc $Input 5
Body SysBody
Attr PgmName = "Lc"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "L"
EndBody
EndObject
!/**
! Boolean activation switch
!*/
Object enable $Input 6
Body SysBody
Attr PgmName = "enable"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "en"
EndBody
EndObject
!/**
! Boolean. Start the travel after a new command position has been given.
!*/
Object autoGo $Input 7
Body SysBody
Attr PgmName = "autoGo"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "go"
EndBody
EndObject
!/**
! Boolean switch for resetting calculated sway angle.
! The calculated sway angle is not used for anything in the algorithms,
! but is merely a demo/diagnose output.
!*/
Object zeroTh $Input 8
Body SysBody
Attr PgmName = "zeroTh"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "zth"
EndBody
EndObject
!/**
! amax[0] Hard limit of acceleration.
! amax[1] Soft limit of acceleration. Normally, this is the acceleration
! that will be used by the object, and it should be slightly lower than
! the hard limit, amaxH.
! Having a soft limit serves one purpose. A frequency converter will have
! better chances of tracking the trajectory if not operating at its
! acceleration limit.
! A control strategy to ensure trajectory tracking also has better chances
! of being successful.
!*/
Object amax $Intern 9
Body SysBody
Attr PgmName = "amax"
Attr Flags = PWR_MASK_ARRAY
Attr Elements = 2
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! umax[0] - Hard limit of velocity
! umax[1] - Soft limit of velocity
!*/
Object umax $Intern 11
Body SysBody
Attr PgmName = "umax"
Attr Flags = PWR_MASK_ARRAY
Attr Elements = 2
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Some operating max and min limits. They have been made an internal
! array in the object for greater flexibility. The limits are:
!
! 0 AS_OBJ_UR_ZEROLIM Default 0.001.
! Will set uR to zero if |uR| < limit
! 1 AS_OBJ_UR_MAX_ERRFACT Default 2.0.
! Will disable object if |uR|>limit*umaxH
! 2 AS_OBJ_UR_MIN Default 0.01.
! Minimum steady reference velocity that can be passed to frequency
! converter
! 3 AS_OBJ_XMAX Default 99999.0.
! Maximum reference position (minumum assumed to be zero).
! 4 AS_OBJ_UR_ATTAIN_ERRLIM Default 0.001.
! Will warn if final uR misses uCommand (or zero if auto) with more
! than limit
! 5 AS_OBJ_XR_ATTAIN_ERRLIM Default 0.001.
! Will warn if final xR misses xCommand with more than limit. Auto only.
! 6 AS_OBJ_XCOM_MIN_CHANGE Default 0.01.
! Minimum change in command position that will invoke a new call.
! Auto only.
!*/
Object limits $Intern 12
Body SysBody
Attr PgmName = "limits"
Attr Flags = PWR_MASK_ARRAY
Attr Elements = 7
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Boolean switch for enabling queue generation. The pointers to the
! acceleration queue will be stored in QP[]
!*/
Object generateQ $Intern 13
Body SysBody
Attr PgmName = "generateQ"
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Integer value. If verbose !=0, the object will tell you about
! its progress (or failure) by printouts to the terminal window.
! There are three degrees of verbosity:
!
! 1 AS_VERB_DISABLED Object will print message if disabled
! 2 AS_VERB_ERR Object will print message if any error occurs
! 3 AS_VERB_ALL Object will print message when anything new happens
!*/
Object verbose $Intern 14
Body SysBody
Attr PgmName = "verbose"
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Integer bit mask keeping information of major and minor errors that
! has occurred since last reset.
! If errstatus > AS_ERR_MINOR, the object will disable itself (it will
! not affect the value of enable, though). errstatus is reset by
! switching enable.
!*/
Object errstatus $Intern 15
Body SysBody
Attr PgmName = "errstatus"
Attr TypeRef = "pwrs:Type-$Mask"
EndBody
EndObject
!/**
! Integer bit mask used for displaying auto status and for
! communication between objects.
!*/
Object autostatus $Intern 16
Body SysBody
Attr PgmName = "autostatus"
Attr TypeRef = "pwrs:Type-$Mask"
EndBody
EndObject
!/**
! Reference acceleration, 64-bit.
!*/
Object aR $Intern 17
Body SysBody
Attr PgmName = "aR"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float64"
EndBody
EndObject
!/**
! Reference velocity, 64-bit.
!*/
Object uR $Intern 18
Body SysBody
Attr PgmName = "uR"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float64"
EndBody
EndObject
!/**
! xR[0] - Reference position, 64-bit.
! xR[1] - Reference position at last time step, 64-bit.
!*/
Object xR $Intern 19
Body SysBody
Attr PgmName = "xR"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 2
Attr TypeRef = "pwrs:Type-$Float64"
EndBody
EndObject
!/**
! thR[0] - Reference sway angle, 64-bit.
! thR[1] - Reference sway angle at previous time step, 64-bit.
!*/
Object thR $Intern 20
Body SysBody
Attr PgmName = "thR"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 2
Attr TypeRef = "pwrs:Type-$Float64"
EndBody
EndObject
!/**
! Pointers to the acceleration queue (if generated). Pointers to
! 64-bit floats.
! A queue may be generated if the antisway object is used with a
! regulator to ensure good trajectory tracking. The performance of
! the regulator may then be enhanced if it has access to all known
! future acceleration commands. The queue is generated whenever
! the set is changed.
!
! 0 AS_OBJ_AQP Queue pointer
! 1 AS_OBJ_ACP Pointer to current command
! 2 AS_OBJ_AEP Pointer to last command
!*/
Object QP $Intern 23
Body SysBody
Attr PgmName = "QP"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_ARRAY
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_PRIVATE
Attr Elements = 3
Attr TypeRef = "pwrs:Type-$Float64"
EndBody
EndObject
!/**
! The phasor set contains all future acceleration commands,
! in the form of an array of phasors. The set is represented
! as a 16-byte string. If the struct is changed or if int +
! double + pointer != 16 byte, it has to be changed. phasor set members are:
!
! int N Number of phasors in the set
! double extSum Acceleration-weighted phase extension sum.
! extSum = sum (|phiEnd - phiStart|*Sa),
! where the sum is taken over all the phasors in the set.
! Positive for positive acc.
! Usage: Divide by omega to get the velocity change of
! the set.
! AS_phasor *ph Pointer to the array of phasors. Memory is allocated
! dynamically.
! (see AS_phasor_methods.h for a description of the phasor
! struct)
!*/
Object Set $Intern 25
Body SysBody
Attr PgmName = "Set"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$String16"
EndBody
EndObject
!/**
! Reference acceleration, 32-bit.
!*/
Object aRO $Output 26
Body SysBody
Attr PgmName = "aRO"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "AR"
EndBody
EndObject
!/**
! Reference velocity, 32-bit.
!*/
Object uRO $Output 27
Body SysBody
Attr PgmName = "uRO"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "UR"
EndBody
EndObject
!/**
! Reference position, 32-bit.
!*/
Object xRO $Output 28
Body SysBody
Attr PgmName = "xRO"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "XR"
EndBody
EndObject
!/**
! Reference sway angle, 32-bit.
!*/
Object thRO $Output 31
Body SysBody
Attr PgmName = "thRO"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "THR"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Flags |= PWR_MASK_INVISIBLE
Attr Class = "pwrs:Class-$PlcNode"
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 8
Attr parameters[1] = 13
Attr parameters[2] = 4
Attr parameters[3] = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 126
Attr default_mask[1] = 15
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr connectmethod = 0
Attr executeordermethod = 2
Attr objname = "antiswayA"
Attr graphname = "AntiSwayA"
EndBody
EndObject
Object Template AntiSwayA
Body RtBody
Attr Lc = 3.000000e+00
Attr amax[0] = 2.500000e-01
Attr amax[1] = 2.300000e-01
Attr umax[0] = 5.000000e-01
Attr umax[1] = 4.500000e-01
Attr limits[0] = 1.000000e-03
Attr limits[1] = 2.000000e+00
Attr limits[2] = 1.000000e-02
Attr limits[3] = 9.999900e+04
Attr limits[4] = 1.000000e-03
Attr limits[5] = 1.000000e-03
Attr limits[6] = 1.000000e-02
Attr verbose = 1
EndBody
EndObject
EndObject
EndSObject
!
! Proview $Id: ssab_c_antiswaym.wb_load,v 1.3 2005-09-01 14:58:03 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.
!
! ssab_c_antiswaym.wb_load -- Defines the class AntiSwayM.
!
SObject SSAB:Class
!/**
! @Version 1.0
! @Author Jonas Haulin
! @Code rs_plc_antisway.c
! @Summary Sway compensation for crane in manual mode
! Sway compensation for crane in manual mode
!
! @image orm_antiswaym_fo.gif
!
! An example of usage is shown below where the object is combined
! with an AntiSwayA object for automatic travel.
! @image orm_antiswaya_fig2.gif
!
! @b See also
! @classlink AntiSwayA ssab_antiswaya.html
!
!*/
Object AntiSwayM $ClassDef 25
Body SysBody
Attr Editor = 0
Attr Method = 0
Attr Flags = 16
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "AntiSwayM"
EndBody
!/**
! Integer that defines the impulse sequence / antisway strategy.
! Current available sequences are
!
! 0 No antisway
! 1 Double pulse
! 2 Robust, or double double pulse
! 3 Unity-magnitude negative ZV, or triple pulse
! 4 Unity-magnitude negative ZVD, robust variant of triple pulse above
! 5 Partial-sum negative ZV
! 6 Partial-sum negative ZVD, robust variant of ZV122.
!*/
Object mode $Input 1
Body SysBody
Attr PgmName = "mode"
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Mode"
EndBody
EndObject
!/**
! Command velocity
!*/
Object uCommand $Input 2
Body SysBody
Attr PgmName = "uCommand"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "UCOM"
EndBody
EndObject
!/**
! Current velocity. This input is only used when enabling the object
! (e.g. when switching from auto to manual in travel). The value is
! then stored in uR and uCommand, so that a smooth transition will take
! place.
!*/
Object uc $Input 71
Body SysBody
Attr PgmName = "uc"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "VEL"
EndBody
EndObject
!/**
! Current position
!*/
Object xc $Input 3
Body SysBody
Attr PgmName = "xc"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "POS"
EndBody
EndObject
!/**
! Current hoisting velocity (defined as dL/dt, i.e. positive direction down)
!*/
Object DLc $Input 4
Body SysBody
Attr PgmName = "DLc"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "dL/dt"
EndBody
EndObject
!/**
! Current pendulum length.
! The pendulum length of a crane is best calibrated by measuring a number
! of periods of oscillation and calculating L as L=g*(T/(2pi))^2
!*/
Object Lc $Input 5
Body SysBody
Attr PgmName = "Lc"
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "L"
EndBody
EndObject
!/**
! Boolean activation switch
!*/
Object enable $Input 6
Body SysBody
Attr PgmName = "enable"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "en"
EndBody
EndObject
!/**
! Boolean switch for resetting calculated sway angle.
! The calculated sway angle is not used for anything in the algorithms,
! but is merely a demo/diagnose output.
!*/
Object zeroTh $Input 8
Body SysBody
Attr PgmName = "zeroTh"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "zth"
EndBody
EndObject
!/**
! amax[0] Hard limit of acceleration.
! amax[1] Soft limit of acceleration. Normally, this is the acceleration
! that will be used by the object, and it should be slightly lower than
! the hard limit, amaxH.
! Having a soft limit serves two purposes. Firstly, compensation for
! hoisting requires some extra acceleration that can be kicked in when
! needed. Secondly, a frequency converter will have better chances of
! tracking the trajectory if not operating at its acceleration limit.
! A control strategy to ensure trajectory tracking also has better chances
! of being successful.
! A suitable value of amaxS that will leave enough acceleration space for
! the hoisting compensation can be calculated from the formula;
! amaxS = amaxH/(1.0+(1.5*DLMax/sqrt(g*LMin))),
! where DLMax is the maximum hoisting speed, g the acceleration of gravity
! and LMin the minimum pendulum length.
!*/
Object amax $Intern 9
Body SysBody
Attr PgmName = "amax"
Attr Flags = PWR_MASK_ARRAY
Attr Elements = 2
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! umax[0] - Hard limit of velocity
! umax[1] - Soft limit of velocity
!*/
Object umax $Intern 11
Body SysBody
Attr PgmName = "umax"
Attr Flags = PWR_MASK_ARRAY
Attr Elements = 2
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! limits[7] - Some operating max and min limits. They have been made an
! internal array in the object for greater flexibility. The limits are:
!
! 0 AS_OBJ_UR_ZEROLIM Default 0.001.
! Will set uR to zero if |uR| < limit
! 1 AS_OBJ_UR_MAX_ERRFACT Default 2.0.
! Will disable object if |uR|>limit*umaxH
! 2 AS_OBJ_UR_MIN Default 0.01.
! Minimum steady reference velocity that can be passed to frequency
! converter
! 3 AS_OBJ_XMAX Default 99999.0.
! Maximum reference position (minumum assumed to be zero).
! 4 AS_OBJ_UR_ATTAIN_ERRLIM Default 0.001.
! Will warn if final uR misses uCommand (or zero if auto) with more
! than limit
! 5 AS_OBJ_L_MIN_CHANGE Default 0.005.
! Length interval between compensation for new pendulum length = 5mm.
! Manual only.
! 6 AS_OBJ_DL_MIN Default 0.005.
! Minimum hoisting speed that will be compensated for = 5 mm/s.
! Manual only. */
!*/
Object limits $Intern 13
Body SysBody
Attr PgmName = "limits"
Attr Flags = PWR_MASK_ARRAY
Attr Elements = 7
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Boolean switch for enabling queue generation. The pointers to the
! acceleration queue will be stored in QP[]
!*/
Object generateQ $Intern 14
Body SysBody
Attr PgmName = "generateQ"
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Integer value. If verbose !=0, the object will tell you about
! its progress (or failure) by printouts to the terminal window.
! There are three degrees of verbosity:
!
! 1 AS_VERB_DISABLED Object will print message if disabled
! 2 AS_VERB_ERR Object will print message if any error occurs
! 3 AS_VERB_ALL Object will print message when anything new happens
!*/
Object verbose $Intern 15
Body SysBody
Attr PgmName = "verbose"
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Integer bit mask keeping information of major and minor errors that
! has occurred since last reset.
! If errstatus > AS_ERR_MINOR, the object will disable itself (it will
! not affect the value of enable, though). errstatus is reset by
! switching enable.
!*/
Object errstatus $Intern 16
Body SysBody
Attr PgmName = "errstatus"
Attr TypeRef = "pwrs:Type-$Mask"
EndBody
EndObject
!/**
! Reference acceleration, 64-bit.
!*/
Object aR $Intern 17
Body SysBody
Attr PgmName = "aR"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float64"
EndBody
EndObject
!/**
! Reference velocity, 64-bit.
!*/
Object uR $Intern 18
Body SysBody
Attr PgmName = "uR"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float64"
EndBody
EndObject
!/**
! xR[0] - Reference position, 64-bit.
! xR[1] - Reference position at last time step, 64-bit.
!*/
Object xR $Intern 19
Body SysBody
Attr PgmName = "xR"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 2
Attr TypeRef = "pwrs:Type-$Float64"
EndBody
EndObject
!/**
! thR[0] - Reference sway angle, 64-bit.
! thR[1] - Reference sway angle at previous time step, 64-bit.
!*/
Object thR $Intern 20
Body SysBody
Attr PgmName = "thR"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 2
Attr TypeRef = "pwrs:Type-$Float64"
EndBody
EndObject
!/**
! Pointers to the acceleration queue (if generated). Pointers to
! 64-bit floats.
! A queue may be generated if the antisway object is used with a
! regulator to ensure good trajectory tracking. The performance of
! the regulator may then be enhanced if it has access to all known
! future acceleration commands. The queue is generated whenever
! the set is changed.
!
! 0 AS_OBJ_AQP Queue pointer
! 1 AS_OBJ_ACP Pointer to current command
! 2 AS_OBJ_AEP Pointer to last command
!*/
Object QP $Intern 23
Body SysBody
Attr PgmName = "QP"
Attr Flags |= PWR_MASK_POINTER
Attr Flags |= PWR_MASK_ARRAY
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_PRIVATE
Attr Elements = 3
Attr TypeRef = "pwrs:Type-$Float64"
EndBody
EndObject
!/**
! The phasor set contains all future acceleration commands,
! in the form of an array of phasors. The set is represented
! as a 16-byte string. If the struct is changed or if int +
! double + pointer != 16 byte, it has to be changed. phasor set members are:
!
! int N Number of phasors in the set
! double extSum Acceleration-weighted phase extension sum.
! extSum = sum (|phiEnd - phiStart|*Sa),
! where the sum is taken over all the phasors in the set.
! Positive for positive acc.
! Usage: Divide by omega to get the velocity change of
! the set.
! AS_phasor *ph Pointer to the array of phasors. Memory is allocated
! dynamically.
! (see AS_phasor_methods.h for a description of the phasor
! struct)
!*/
Object Set $Intern 25
Body SysBody
Attr PgmName = "Set"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$String16"
EndBody
EndObject
!/**
! Reference acceleration, 32-bit.
!*/
Object aRO $Output 26
Body SysBody
Attr PgmName = "aRO"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "AR"
EndBody
EndObject
!/**
! Reference velocity, 32-bit.
!*/
Object uRO $Output 27
Body SysBody
Attr PgmName = "uRO"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "UR"
EndBody
EndObject
!/**
! Reference position, 32-bit.
!*/
Object xRO $Output 28
Body SysBody
Attr PgmName = "xRO"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "XR"
EndBody
EndObject
!/**
! Reference sway angle, 32-bit.
!*/
Object thRO $Output 31
Body SysBody
Attr PgmName = "thRO"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Float32"
Attr GraphName = "THR"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Flags |= PWR_MASK_INVISIBLE
Attr Class = "pwrs:Class-$PlcNode"
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 8
Attr parameters[1] = 12
Attr parameters[2] = 4
Attr parameters[3] = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 115
Attr default_mask[1] = 15
Attr segname_annotation = 1
Attr compmethod = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr connectmethod = 0
Attr executeordermethod = 2
Attr objname = "antiswayM"
Attr graphname = "AntiSwayM"
EndBody
EndObject
Object Template AntiSwayM
Body RtBody
Attr Lc = 3.000000e+00
Attr amax[0] = 2.500000e-01
Attr amax[1] = 2.300000e-01
Attr umax[0] = 5.000000e-01
Attr umax[1] = 4.500000e-01
Attr limits[0] = 1.000000e-03
Attr limits[1] = 2.000000e+00
Attr limits[2] = 1.000000e-02
Attr limits[3] = 9.999900e+04
Attr limits[4] = 1.000000e-03
Attr limits[5] = 5.000000e-03
Attr limits[6] = 5.000000e-03
Attr verbose = 1
EndBody
EndObject
EndObject
EndSObject
!
! Proview $Id: ssab_c_buff1440.wb_load,v 1.2 2005-09-01 14:58:03 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.
!
! ssab_c_Buff1440.wb_load -- Defines the class Buff1440.
!
SObject SSAB:Class
!
! Buff1440 Transbuffer
!
Object Buff1440 $ClassDef 20
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
!
! Buff1440 Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Buff1440"
EndBody
!
! Parameter Data
!
Object Data $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Int16"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 720
EndBody
EndObject
EndObject
!
! Template fr Buff1440
!
Object Template Buff1440
Body RtBody
EndBody
EndObject
!
! End Buff1440
!
EndObject
EndSObject
!
! Proview $Id: ssab_c_buff256.wb_load,v 1.2 2005-09-01 14:58:03 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.
!
! ssab_c_Buff256.wb_load -- Defines the class Buff256.
!
SObject SSAB:Class
!
! Buff256 Transbuffer
!
Object Buff256 $ClassDef 19
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
!
! Buff256 Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Buff256"
EndBody
!
! Parameter Data
!
Object Data $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Int16"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 128
EndBody
EndObject
EndObject
!
! Template fr Buff256
!
Object Template Buff256
Body RtBody
EndBody
EndObject
!
! End Buff256
!
EndObject
EndSObject
!
! Proview $Id: ssab_c_buff32k.wb_load,v 1.2 2005-09-01 14:58:03 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.
!
! ssab_c_Buff32k.wb_load -- Defines the class Buff32k.
!
SObject SSAB:Class
!
! Buff32k Transbuffer
!
Object Buff32k $ClassDef 22
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
!
! Buff32k Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Buff32k"
EndBody
!
! Parameter Data
!
Object Data $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Int16"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 16384
EndBody
EndObject
EndObject
!
! Template fr Buff32k
!
Object Template Buff32k
Body RtBody
EndBody
EndObject
!
! End Buff32k
!
EndObject
EndSObject
!
! Proview $Id: ssab_c_buff4096.wb_load,v 1.2 2005-09-01 14:58:03 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.
!
! ssab_c_Buff4096.wb_load -- Defines the class Buff4096.
!
SObject SSAB:Class
!
! Buff4096 Transbuffer
!
Object Buff4096 $ClassDef 21
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
!
! Buff4096 Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "Buff4096"
EndBody
!
! Parameter Data
!
Object Data $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Int16"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 2048
EndBody
EndObject
EndObject
!
! Template fr Buff4096
!
Object Template Buff4096
Body RtBody
EndBody
EndObject
!
! End Buff4096
!
EndObject
EndSObject
!
! Proview $Id: ssab_c_buffstr80.wb_load,v 1.2 2005-09-01 14:58:03 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.
!
! ssab_c_BuffStr80.wb_load -- Defines the class BuffStr80.
!
SObject SSAB:Class
!
! BuffStr80 Transbuffer
!
Object BuffStr80 $ClassDef 24
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
!
! BuffStr80 Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "BuffStr80"
EndBody
!
! Parameter Data
!
Object Data $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
EndObject
!
! Template fr BuffStr80
!
Object Template BuffStr80
Body RtBody
EndBody
EndObject
!
! End BuffStr80
!
EndObject
EndSObject
!
! Proview $Id: ssab_c_loctrans.wb_load,v 1.2 2005-09-01 14:58:03 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.
!
! ssab_c_loctrans.wb_load -- Defines the class LocTrans.
!
SObject SSAB:Class
!
! LocTrans - Local Trans descripton
!
Object LocTrans $ClassDef 23
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
!
! RemTrans Runtime Body
!
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "LocTrans"
EndBody
!
! Parameter Description
!
Object Description $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!
! Parameter DataValid
!
Object DataValid $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
EndObject
EndObject ! $ClassDef
EndSObject ! SObject
!
! Proview $Id: ssab_ch_ssabclasses.wb_load,v 1.2 2005-09-01 14:58:03 claes Exp $
! Copyright (C) 2005 SSAB Oxelösund 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.
!
! ssab_ch_ssabclasses.wb_load -- SSAB:Class hierarchy.
!
SObject SSAB:
Object Class $ClassHier
EndObject
EndSObject
!
! Proview $Id: ssab_l_base.wb_load,v 1.2 2005-09-01 14:58:03 claes Exp $
! Copyright (C) 2005 SSAB Oxelösund 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.
!
! ssab_l_base.wb_load -- Defines basic layouts.
!
SObject wb:layout-Configurator-w1-AllClasses
Object SSAB $GroupRef
EndObject
EndSObject
!
! Proview $Id: ssab_v.wb_load,v 1.2 2005-09-01 14:58:03 claes Exp $
! Copyright (C) 2005 SSAB Oxelösund 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.
!
! ssab_v.wb_load -- Loads the ssab volume
!
Volume SSAB pwr_eClass_ClassVolume 0.0.1.3
EndVolume
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