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
7db49cf6
Commit
7db49cf6
authored
Jul 02, 2010
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IoConnect, common IO module objects for different busses
parent
31379b26
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1944 additions
and
1536 deletions
+1944
-1536
abb/wbl/mcomp/src/abb.wb_load
abb/wbl/mcomp/src/abb.wb_load
+696
-401
bcomp/wbl/bcomp/src/basecomponent.wb_load
bcomp/wbl/bcomp/src/basecomponent.wb_load
+1061
-1037
othermanu/wbl/mcomp/src/othermanufacturer.wb_load
othermanu/wbl/mcomp/src/othermanufacturer.wb_load
+25
-25
src/lib/rt/src/rt_io_base.c
src/lib/rt/src/rt_io_base.c
+12
-1
wb/exe/wb_upgrade/src/wb_upgrade.cpp
wb/exe/wb_upgrade/src/wb_upgrade.cpp
+150
-72
No files found.
abb/wbl/mcomp/src/abb.wb_load
View file @
7db49cf6
This diff is collapsed.
Click to expand it.
bcomp/wbl/bcomp/src/basecomponent.wb_load
View file @
7db49cf6
This diff is collapsed.
Click to expand it.
othermanu/wbl/mcomp/src/othermanufacturer.wb_load
View file @
7db49cf6
...
@@ -281,15 +281,15 @@ Volume OtherManufacturer $ClassVolume 0.0.250.1
...
@@ -281,15 +281,15 @@ Volume OtherManufacturer $ClassVolume 0.0.250.1
Body RtBody 18-MAR-2008 17:06:08.88
Body RtBody 18-MAR-2008 17:06:08.88
Attr Super.Specification = "Danfoss Frequency converter FC300 with Profibus PPO3 protocol"
Attr Super.Specification = "Danfoss Frequency converter FC300 with Profibus PPO3 protocol"
Attr Super.StatusWordSW.Description = "Status Word, from converter"
Attr Super.StatusWordSW.Description = "Status Word, from converter"
Attr Super.StatusWordSW.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO3
Pb
Module.I_SW"
Attr Super.StatusWordSW.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO3
Io
Module.I_SW"
Attr Super.ActSpeed.Description = "Actual Value, from converter"
Attr Super.ActSpeed.Description = "Actual Value, from converter"
Attr Super.ActSpeed.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO3
Pb
Module.I_ACT"
Attr Super.ActSpeed.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO3
Io
Module.I_ACT"
Attr Super.ActSpeed.PresMinLimit = 1.000000e+02
Attr Super.ActSpeed.PresMinLimit = 1.000000e+02
Attr Super.ActSpeed.DefTrend = "_O0.0.0.0:0"
Attr Super.ActSpeed.DefTrend = "_O0.0.0.0:0"
Attr Super.ControlWordCW.Description = "Control Word, to converter"
Attr Super.ControlWordCW.Description = "Control Word, to converter"
Attr Super.ControlWordCW.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO3
Pb
Module.O_CW"
Attr Super.ControlWordCW.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO3
Io
Module.O_CW"
Attr Super.RefSpeed.Description = "Reference Value, to converter"
Attr Super.RefSpeed.Description = "Reference Value, to converter"
Attr Super.RefSpeed.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO3
Pb
Module.O_REF"
Attr Super.RefSpeed.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO3
Io
Module.O_REF"
Attr Super.RefSpeed.PresMinLimit = 1.000000e+02
Attr Super.RefSpeed.PresMinLimit = 1.000000e+02
Attr Super.RefSpeed.DefTrend = "_O0.0.0.0:0"
Attr Super.RefSpeed.DefTrend = "_O0.0.0.0:0"
Attr Super.PowerUpTime = 1.500000e+01
Attr Super.PowerUpTime = 1.500000e+01
...
@@ -352,58 +352,58 @@ Volume OtherManufacturer $ClassVolume 0.0.250.1
...
@@ -352,58 +352,58 @@ Volume OtherManufacturer $ClassVolume 0.0.250.1
Body RtBody 18-MAR-2008 17:04:31.24
Body RtBody 18-MAR-2008 17:04:31.24
Attr Super.Specification = "Frequency converter Danfoss FC300 with Profibus PPO5 protocol"
Attr Super.Specification = "Frequency converter Danfoss FC300 with Profibus PPO5 protocol"
Attr Super.InIdPar.Description = "Parameter Identification, from converter"
Attr Super.InIdPar.Description = "Parameter Identification, from converter"
Attr Super.InIdPar.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.I_ID"
Attr Super.InIdPar.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.I_ID"
Attr Super.InIndPar.Description = "Array Index, from converter"
Attr Super.InIndPar.Description = "Array Index, from converter"
Attr Super.InIndPar.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.I_IND"
Attr Super.InIndPar.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.I_IND"
Attr Super.InValuePar.Description = "Parameter Value, from converter"
Attr Super.InValuePar.Description = "Parameter Value, from converter"
Attr Super.InValuePar.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.I_VALUE"
Attr Super.InValuePar.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.I_VALUE"
Attr Super.StatusWordSW.Description = "Status Word, from converter"
Attr Super.StatusWordSW.Description = "Status Word, from converter"
Attr Super.StatusWordSW.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.I_SW"
Attr Super.StatusWordSW.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.I_SW"
Attr Super.ActSpeed.Description = "Actual Value, from converter"
Attr Super.ActSpeed.Description = "Actual Value, from converter"
Attr Super.ActSpeed.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.I_ACT"
Attr Super.ActSpeed.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.I_ACT"
Attr Super.ActSpeed.PresMaxLimit = 1.000000e+02
Attr Super.ActSpeed.PresMaxLimit = 1.000000e+02
Attr Super.ActSpeed.DefTrend = "_O0.0.0.0:0"
Attr Super.ActSpeed.DefTrend = "_O0.0.0.0:0"
Attr Super.ActTorque.Description = "Torque, Process Data 4 from converter"
Attr Super.ActTorque.Description = "Torque, Process Data 4 from converter"
Attr Super.ActTorque.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.I_PZD4"
Attr Super.ActTorque.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.I_PZD4"
Attr Super.ActTorque.PresMaxLimit = 1.000000e+02
Attr Super.ActTorque.PresMaxLimit = 1.000000e+02
Attr Super.ActTorque.DefTrend = "_O0.0.0.0:0"
Attr Super.ActTorque.DefTrend = "_O0.0.0.0:0"
Attr Super.ActCurrent.Description = "Current, Process Data 3 from converter"
Attr Super.ActCurrent.Description = "Current, Process Data 3 from converter"
Attr Super.ActCurrent.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.I_PZD3"
Attr Super.ActCurrent.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.I_PZD3"
Attr Super.ActCurrent.PresMaxLimit = 1.000000e+02
Attr Super.ActCurrent.PresMaxLimit = 1.000000e+02
Attr Super.ActCurrent.DefTrend = "_O0.0.0.0:0"
Attr Super.ActCurrent.DefTrend = "_O0.0.0.0:0"
Attr Super.PZD5.Description = "Process Data 5 from converter"
Attr Super.PZD5.Description = "Process Data 5 from converter"
Attr Super.PZD5.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.I_PZD5"
Attr Super.PZD5.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.I_PZD5"
Attr Super.PZD6.Description = "Process Data 6 from converter"
Attr Super.PZD6.Description = "Process Data 6 from converter"
Attr Super.PZD6.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.I_PZD6"
Attr Super.PZD6.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.I_PZD6"
Attr Super.PZD7.Description = "Process Data 7 from converter"
Attr Super.PZD7.Description = "Process Data 7 from converter"
Attr Super.PZD7.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.I_PZD7"
Attr Super.PZD7.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.I_PZD7"
Attr Super.PZD8.Description = "Process Data 8 from converter"
Attr Super.PZD8.Description = "Process Data 8 from converter"
Attr Super.PZD8.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.I_PZD8"
Attr Super.PZD8.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.I_PZD8"
Attr Super.PZD9.Description = "Process Data 9 from converter"
Attr Super.PZD9.Description = "Process Data 9 from converter"
Attr Super.PZD9.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.I_PZD9"
Attr Super.PZD9.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.I_PZD9"
Attr Super.OutIdPar.Description = "Parameter Identification, to converter"
Attr Super.OutIdPar.Description = "Parameter Identification, to converter"
Attr Super.OutIdPar.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.O_ID"
Attr Super.OutIdPar.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.O_ID"
Attr Super.OutIndPar.Description = "Array Index, to converter"
Attr Super.OutIndPar.Description = "Array Index, to converter"
Attr Super.OutIndPar.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.O_IND"
Attr Super.OutIndPar.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.O_IND"
Attr Super.OutValuePar.Description = "Parmeter Value, to converter"
Attr Super.OutValuePar.Description = "Parmeter Value, to converter"
Attr Super.OutValuePar.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.O_VALUE"
Attr Super.OutValuePar.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.O_VALUE"
Attr Super.ControlWordCW.Description = "Control Word, to converter"
Attr Super.ControlWordCW.Description = "Control Word, to converter"
Attr Super.ControlWordCW.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.O_CW"
Attr Super.ControlWordCW.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.O_CW"
Attr Super.RefSpeed.Description = "Reference Value, to converter"
Attr Super.RefSpeed.Description = "Reference Value, to converter"
Attr Super.RefSpeed.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.O_REF"
Attr Super.RefSpeed.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.O_REF"
Attr Super.RefSpeed.PresMaxLimit = 1.000000e+02
Attr Super.RefSpeed.PresMaxLimit = 1.000000e+02
Attr Super.RefSpeed.DefTrend = "_O0.0.0.0:0"
Attr Super.RefSpeed.DefTrend = "_O0.0.0.0:0"
Attr Super.OPZD3.Description = "Process Data 3 to converter"
Attr Super.OPZD3.Description = "Process Data 3 to converter"
Attr Super.OPZD3.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.O_PZD3"
Attr Super.OPZD3.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.O_PZD3"
Attr Super.OPZD3.PresMaxLimit = 1.000000e+02
Attr Super.OPZD3.PresMaxLimit = 1.000000e+02
Attr Super.OPZD4.Description = "Process Data 4 to converter"
Attr Super.OPZD4.Description = "Process Data 4 to converter"
Attr Super.OPZD4.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.O_PZD4"
Attr Super.OPZD4.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.O_PZD4"
Attr Super.OPZD4.PresMaxLimit = 1.000000e+02
Attr Super.OPZD4.PresMaxLimit = 1.000000e+02
Attr Super.OPZD5.Description = "Process Data 5 to converter"
Attr Super.OPZD5.Description = "Process Data 5 to converter"
Attr Super.OPZD5.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.O_PZD5"
Attr Super.OPZD5.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.O_PZD5"
Attr Super.OPZD5.PresMaxLimit = 1.000000e+02
Attr Super.OPZD5.PresMaxLimit = 1.000000e+02
Attr Super.OPZD6.Description = "Process Data 6 to converter"
Attr Super.OPZD6.Description = "Process Data 6 to converter"
Attr Super.OPZD6.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Pb
Module.O_PZD6"
Attr Super.OPZD6.SigChanCon = "$IoConnect:BaseComponent-Class-BaseFcPPO5
Io
Module.O_PZD6"
Attr Super.PowerUpTime = 1.500000e+01
Attr Super.PowerUpTime = 1.500000e+01
Attr Super.AlarmLocalMod = "Frequency converter is in local mode"
Attr Super.AlarmLocalMod = "Frequency converter is in local mode"
Attr Super.AlarmTripped = "Frequency converter tripped, reset is required"
Attr Super.AlarmTripped = "Frequency converter tripped, reset is required"
src/lib/rt/src/rt_io_base.c
View file @
7db49cf6
...
@@ -176,10 +176,21 @@ int io_connect_status( pwr_sAttrRef *sig_aref, pwr_sAttrRef *chan_aref)
...
@@ -176,10 +176,21 @@ int io_connect_status( pwr_sAttrRef *sig_aref, pwr_sAttrRef *chan_aref)
sts
=
gdh_AttrrefToName
(
&
card_aref
,
sname
,
sizeof
(
sname
),
sts
=
gdh_AttrrefToName
(
&
card_aref
,
sname
,
sizeof
(
sname
),
cdh_mName_volumeStrict
);
cdh_mName_volumeStrict
);
if
(
EVEN
(
sts
))
return
0
;
if
(
EVEN
(
sts
))
return
0
;
s
=
strrchr
(
sname
,
'.'
);
strcat
(
sname
,
".Status"
);
sts
=
gdh_NameToAttrref
(
pwr_cNObjid
,
sname
,
&
status_aref
);
if
(
EVEN
(
sts
))
{
/* Try parent level */
if
(
!
s
)
return
0
;
*
s
=
0
;
strcat
(
sname
,
".Status"
);
strcat
(
sname
,
".Status"
);
sts
=
gdh_NameToAttrref
(
pwr_cNObjid
,
sname
,
&
status_aref
);
sts
=
gdh_NameToAttrref
(
pwr_cNObjid
,
sname
,
&
status_aref
);
if
(
EVEN
(
sts
))
return
0
;
if
(
EVEN
(
sts
))
return
0
;
}
/* Store status pointer in IoStatus */
/* Store status pointer in IoStatus */
sts
=
gdh_AttrRefToPointer
(
&
iostatus_aref
,
(
void
**
)
&
iostatus_p
);
sts
=
gdh_AttrRefToPointer
(
&
iostatus_aref
,
(
void
**
)
&
iostatus_p
);
...
...
wb/exe/wb_upgrade/src/wb_upgrade.cpp
View file @
7db49cf6
This diff is collapsed.
Click to expand it.
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