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
6d72cbe1
Commit
6d72cbe1
authored
Mar 27, 2019
by
Claes Sjofors
Committed by
Claes Sjöfors
Mar 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reset_So, added possibility to expand/compress order name
parent
485d3664
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
src/wbl/pwrb/src/pwrb_c_reset_so.wb_load
src/wbl/pwrb/src/pwrb_c_reset_so.wb_load
+12
-1
wb/lib/wb/src/wb_gobj.cpp
wb/lib/wb/src/wb_gobj.cpp
+1
-0
No files found.
src/wbl/pwrb/src/pwrb_c_reset_so.wb_load
View file @
6d72cbe1
...
...
@@ -102,9 +102,20 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$Objid"
Attr GraphName = "Order"
Attr NiNaAnnot = 1
Attr NiNaSegments = 1
EndBody
EndObject
Object PlcNode $Buffer 2
!/**
! Specifies how many segments of the Order object name that
! is to be displayed in the symbol of the Reset_SO object.
! The segments are counted from behind.
!*/
Object OrderObjectSegments $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
...
...
wb/lib/wb/src/wb_gobj.cpp
View file @
6d72cbe1
...
...
@@ -3321,6 +3321,7 @@ int gobj_expand(WFoe* foe, vldh_t_node node, int compress)
case
pwr_cClass_GetBoFloat32
:
case
pwr_cClass_GetBoString80
:
case
pwr_cClass_SuppressSup
:
case
pwr_cClass_reset_so
:
sts
=
gobj_expand_m1
(
foe
,
node
,
compress
);
break
;
case
pwr_cClass_and
:
...
...
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