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
208197b5
Commit
208197b5
authored
Jul 11, 2011
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc ChanAi and ChanAo on Range attributes
parent
e2cd061c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
64 additions
and
0 deletions
+64
-0
src/doc/orm/src/orm_chanai_conv.png
src/doc/orm/src/orm_chanai_conv.png
+0
-0
src/doc/orm/src/orm_chanao_conv.png
src/doc/orm/src/orm_chanao_conv.png
+0
-0
src/wbl/pwrb/src/pwrb_c_chanai.wb_load
src/wbl/pwrb/src/pwrb_c_chanai.wb_load
+35
-0
src/wbl/pwrb/src/pwrb_c_chanao.wb_load
src/wbl/pwrb/src/pwrb_c_chanao.wb_load
+29
-0
No files found.
src/doc/orm/src/orm_chanai_conv.png
0 → 100644
View file @
208197b5
9.39 KB
src/doc/orm/src/orm_chanao_conv.png
0 → 100644
View file @
208197b5
10.6 KB
src/wbl/pwrb/src/pwrb_c_chanai.wb_load
View file @
208197b5
...
...
@@ -59,6 +59,22 @@ SObject pwrb:Class
! -- sensor function s, is determined by SensorTypeCode
! -- sensor polynomial p, is determined by SensorPolyType
! -- filter function f, is determined by FilterType in Ai object
!
! For linear conversion the conversion from rawvalue to engineering value can be
! specified by four ranges
!
! - raw value range RawValRangeLow - RawValRangeHigh
! - channel signal value range ChannelSigValRangeLow - ChannelSigValRangeHigh
! - sensor signal value range SensorSigValRangeLow - SensorSigValRangeHigh
! - actual value range ActValRangeLow - ActValRangeHigh
!
! Raw value is the value read by the card or received from the bus. This converted to
! the signal value of the channel, typically +/-10 V, +/-5 V or +/-20 mA. The part of
! this range that is actually utilized by the sensor, that could be for example 4-20 mA
! is then converted to engineering unit.
!
! @image orm_chanai_conv.png
!
!
! @b Hints
! ChanAi objects are configured below a suitable card
...
...
@@ -162,6 +178,10 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! The Low and High values of RawValRange specifies the
! raw value range of the channel.
!*/
Object RawValRangeLow $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
...
...
@@ -172,6 +192,10 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! The Low and High values of ChannelSigValRange specifies the
! signal range of the channel.
!*/
Object ChannelSigValRangeLow $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
...
...
@@ -246,6 +270,12 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! The Low and High values of SensorSigValRange specifies the
! part of the ChannelSigValRange that is used by the sensor.
! For example, the channel can have a signal range of -20 - 20 mA
! but the sensor only utilizes 4 - 20 mA.
!*/
Object SensorSigValRangeLow $Attribute 20
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
...
...
@@ -256,6 +286,11 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! The Low and High values of ActValRange specifies the
! range of the ActualValue of the signal. These values are
! correlated to the SensorSigValRange.
!*/
Object ActValRangeLow $Attribute 22
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
...
...
src/wbl/pwrb/src/pwrb_c_chanao.wb_load
View file @
208197b5
...
...
@@ -54,6 +54,16 @@ SObject pwrb:Class
! the output is based on FixedOutValue. Otherwise TestOn
! will settles which attribute the output is based on.
!
! For linear conversion, the conversion from engineering value to raw value can
! be specified by four ranges
!
! - raw value range RawValRangeLow - RawValRangeHigh
! - channel signal value range ChannelSigValRangeLow - ChannelSigValRangeHigh
! - sensor signal value range SensorSigValRangeLow - SensorSigValRangeHigh
! - actual value range ActValRangeLow - ActValRangeHigh
!
! @image orm_chanao_conv.png
!
! @bHints
! ChanAo objects are configured below a suitable card
! object.
...
...
@@ -193,6 +203,11 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! The Low and High values of ActValRange specifies the
! range of the ActualValue of the signal. These values are
! correlated to the SensorSigValRange.
!*/
Object ActValRangeLow $Attribute 12
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
...
...
@@ -217,6 +232,12 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! The Low and High values of SensorSigValRange specifies the
! part of the ChannelSigValRange that is used by the sensor.
! For example, the channel can have a signal range of -20 - 20 mA
! but the sensor only utilizes 4 - 20 mA.
!*/
Object SensorSigValRangeLow $Attribute 16
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
...
...
@@ -232,6 +253,10 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$String16"
EndBody
EndObject
!/**
! The Low and High values of ChannelSigValRange specifies the
! signal range of the channel.
!*/
Object ChannelSigValRangeLow $Attribute 19
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
...
...
@@ -242,6 +267,10 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! The Low and High values of RawValRange specifies the
! raw value range of the channel.
!*/
Object RawValRangeLow $Attribute 21
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
...
...
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