Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
ebf75d41
Commit
ebf75d41
authored
Oct 30, 2007
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
c6e05414
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
560 additions
and
0 deletions
+560
-0
src/doc/orm/src/orm_bwinv_fo.gif
src/doc/orm/src/orm_bwinv_fo.gif
+0
-0
src/doc/orm/src/orm_bwrotateleft_fo.gif
src/doc/orm/src/orm_bwrotateleft_fo.gif
+0
-0
src/doc/orm/src/orm_bwrotateright_fo.gif
src/doc/orm/src/orm_bwrotateright_fo.gif
+0
-0
src/doc/orm/src/orm_bwshiftleft_fo.gif
src/doc/orm/src/orm_bwshiftleft_fo.gif
+0
-0
src/doc/orm/src/orm_bwshiftright_fo.gif
src/doc/orm/src/orm_bwshiftright_fo.gif
+0
-0
src/wbl/pwrb/src/pwrb_c_bwinv.wb_load
src/wbl/pwrb/src/pwrb_c_bwinv.wb_load
+96
-0
src/wbl/pwrb/src/pwrb_c_bwrotateleft.wb_load
src/wbl/pwrb/src/pwrb_c_bwrotateleft.wb_load
+116
-0
src/wbl/pwrb/src/pwrb_c_bwrotateright.wb_load
src/wbl/pwrb/src/pwrb_c_bwrotateright.wb_load
+116
-0
src/wbl/pwrb/src/pwrb_c_bwshiftleft.wb_load
src/wbl/pwrb/src/pwrb_c_bwshiftleft.wb_load
+116
-0
src/wbl/pwrb/src/pwrb_c_bwshiftright.wb_load
src/wbl/pwrb/src/pwrb_c_bwshiftright.wb_load
+116
-0
No files found.
src/doc/orm/src/orm_bwinv_fo.gif
0 → 100644
View file @
ebf75d41
1.24 KB
src/doc/orm/src/orm_bwrotateleft_fo.gif
0 → 100644
View file @
ebf75d41
1.46 KB
src/doc/orm/src/orm_bwrotateright_fo.gif
0 → 100644
View file @
ebf75d41
1.52 KB
src/doc/orm/src/orm_bwshiftleft_fo.gif
0 → 100644
View file @
ebf75d41
1.45 KB
src/doc/orm/src/orm_bwshiftright_fo.gif
0 → 100644
View file @
ebf75d41
1.5 KB
src/wbl/pwrb/src/pwrb_c_bwinv.wb_load
0 → 100644
View file @
ebf75d41
!
! Proview $Id: pwrb_c_bwinv.wb_load,v 1.1 2007-10-30 07:26:47 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_bwinv.wb_load -- Defines the class BwInv.
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_macro_div.h
! @Group Plc,PlcInteger
! @Summary Bitwise invert.
! Bitwise invert.
! Every bit in a 32-bit word is inverted.
! @image orm_bwinv_fo.gif
!*/
Object BwInv $ClassDef 524
Body SysBody
Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "BwInv"
EndBody
!/**
! Input.
!*/
Object In $Input 1
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! Bitwise invert of In.
!*/
Object Out $Output 2
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Out"
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 = 4
Attr compindex = 0
Attr tracemethod = 0
Attr traceindex = 0
Attr executeordermethod = 2
Attr objname = "BwInv"
Attr graphname = "BwInv"
EndBody
EndObject
Object Template BwInv
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_bwrotateleft.wb_load
0 → 100644
View file @
ebf75d41
!
! Proview $Id: pwrb_c_bwrotateleft.wb_load,v 1.1 2007-10-30 07:26:47 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_bwrotateright.wb_load -- Defines the class BwRotateRight.
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcInteger
! @Summary Bitwise rotate left.
! Bitwise rotate left.
! @image orm_bwrotateleft_fo.gif
!
! Rotates the bits of the input word Num bits left.
!
! @b See Also
! @classlink BwRotateRight pwrb_bwrotateright.html
! @classlink BwShiftLeft pwrb_bwshiftleft.html
! @classlink BwShiftRight pwrb_bwshiftright.html
!*/
Object BwRotateLeft $ClassDef 523
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "BwRotateLeft"
EndBody
!/**
! Input word.
!*/
Object In $Input 1
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! Number of bits to rotate.
!*/
Object Num $Input 2
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "N"
EndBody
EndObject
!/**
! Rotated word.
!*/
Object Out $Output 3
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Out"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 1
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 = "RotateLeft"
Attr graphname = "RotateLeft"
Attr debugpar = ""
EndBody
EndObject
Object Template BwRotateLeft
Body RtBody
Attr Num = 1
EndBody
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_bwrotateright.wb_load
0 → 100644
View file @
ebf75d41
!
! Proview $Id: pwrb_c_bwrotateright.wb_load,v 1.1 2007-10-30 07:26:47 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_bwrotateright.wb_load -- Defines the class BwRotateRight.
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcInteger
! @Summary Bitwise rotate right.
! Bitwise rotate right.
! @image orm_bwrotateright_fo.gif
!
! Rotates the bits of the input word Num bits right.
!
! @b See Also
! @classlink BwRotateLeft pwrb_bwrotateleft.html
! @classlink BwShiftRight pwrb_bwshiftright.html
! @classlink BwShiftLeft pwrb_bwshiftleft.html
!*/
Object BwRotateRight $ClassDef 522
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "BwRotateRight"
EndBody
!/**
! Input word.
!*/
Object In $Input 1
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! Number of bits to rotate.
!*/
Object Num $Input 2
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "N"
EndBody
EndObject
!/**
! Rotateed word.
!*/
Object Out $Output 3
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Out"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 1
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 = "RotateRight"
Attr graphname = "RotateRight"
Attr debugpar = ""
EndBody
EndObject
Object Template BwRotateRight
Body RtBody
Attr Num = 1
EndBody
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_bwshiftleft.wb_load
0 → 100644
View file @
ebf75d41
!
! Proview $Id: pwrb_c_bwshiftleft.wb_load,v 1.1 2007-10-30 07:26:47 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_bwshiftleft.wb_load -- Defines the class BwShiftLeft.
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcInteger
! @Summary Bitwise shift left.
! Bitwise shift left.
! @image orm_bwshiftleft_fo.gif
!
! Shifts the bits of the input word Num bits, zero-filled on right.
!
! @b See Also
! @classlink BwShiftRight pwrb_bwshiftright.html
! @classlink BwRotateLeft pwrb_bwrotateleft.html
! @classlink BwRotateRight pwrb_bwrotateright.html
!*/
Object BwShiftLeft $ClassDef 520
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "BwShiftLeft"
EndBody
!/**
! Input word.
!*/
Object In $Input 1
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! Number of bits to shift.
!*/
Object Num $Input 2
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "N"
EndBody
EndObject
!/**
! Shifted word.
!*/
Object Out $Output 3
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Out"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 1
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 = "ShiftLeft"
Attr graphname = "ShiftLeft"
Attr debugpar = ""
EndBody
EndObject
Object Template BwShiftLeft
Body RtBody
Attr Num = 1
EndBody
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_bwshiftright.wb_load
0 → 100644
View file @
ebf75d41
!
! Proview $Id: pwrb_c_bwshiftright.wb_load,v 1.1 2007-10-30 07:26:47 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_bwshiftright.wb_load -- Defines the class BwShiftRight.
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Code rt_plc_arithm.c
! @Group Plc,PlcInteger
! @Summary Bitwise shift right.
! Bitwise shift right.
! @image orm_bwshiftright_fo.gif
!
! Shifts the bits of the input word Num bits right, zero-filled on left.
!
! @b See Also
! @classlink BwShiftLeft pwrb_bwshiftleft.html
! @classlink BwRotateRight pwrb_bwrotateright.html
! @classlink BwRotateLeft pwrb_bwrotateleft.html
!*/
Object BwShiftRight $ClassDef 521
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Connections
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "BwShiftRight"
EndBody
!/**
! Input word.
!*/
Object In $Input 1
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "In"
EndBody
EndObject
!/**
! Number of bits to shift.
!*/
Object Num $Input 2
Body SysBody
Attr Flags |= PWR_MASK_NOINVERT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "N"
EndBody
EndObject
!/**
! Shifted word.
!*/
Object Out $Output 3
Body SysBody
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Int32"
Attr GraphName = "Out"
EndBody
EndObject
EndObject
Object DevBody $ObjBodyDef 2
Object PlcNode $Buffer 1
Body SysBody
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
EndObject
Object GraphPlcNode $GraphPlcNode
Body SysBody
Attr object_type = 11
Attr parameters[0] = 2
Attr parameters[1] = 0
Attr parameters[2] = 1
Attr parameters[3] = 0
Attr subwindows = 0
Attr graphmethod = 0
Attr graphindex = 0
Attr default_mask[0] = 1
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 = "ShiftRight"
Attr graphname = "ShiftRight"
Attr debugpar = ""
EndBody
EndObject
Object Template BwShiftRight
Body RtBody
Attr Num = 1
EndBody
EndObject
EndObject
EndSObject
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment