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
5c39762a
Commit
5c39762a
authored
Feb 05, 2007
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work in On/Off burners
parent
d29de810
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
bcomp/lib/rt/src/rt_plc_bcomp.c
bcomp/lib/rt/src/rt_plc_bcomp.c
+4
-4
bcomp/wbl/bcomp/src/basecomponent.wb_load
bcomp/wbl/bcomp/src/basecomponent.wb_load
+2
-2
No files found.
bcomp/lib/rt/src/rt_plc_bcomp.c
View file @
5c39762a
/*
* Proview $Id: rt_plc_bcomp.c,v 1.
3 2007-01-30 07:15:04
claes Exp $
* Proview $Id: rt_plc_bcomp.c,v 1.
4 2007-02-05 09:44:21
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -401,7 +401,7 @@ void CompOnOffBurnerFo_exec( plc_sThread *tp,
if
(
!
co
->
Executing
)
{
o
->
Status
=
co
->
Status
=
0
;
co
->
BrTime
=
0
;
co
->
TrendStatus
=
co
->
Number
;
co
->
TrendStatus
=
(
pwr_tFloat32
)
co
->
Number
;
return
;
}
...
...
@@ -418,7 +418,7 @@ void CompOnOffBurnerFo_exec( plc_sThread *tp,
if
(
(
o
->
Status
&&
!
co
->
ManStatus
)
||
(
!
o
->
Status
&&
co
->
ManStatus
))
co
->
BrTime
=
0
;
o
->
Status
=
co
->
Status
=
co
->
ManStatus
;
co
->
TrendStatus
=
co
->
Number
+
(
co
->
Status
?
1
:
0
);
co
->
TrendStatus
=
(
pwr_tFloat32
)
co
->
Number
+
0
.
8
*
(
co
->
Status
?
1
:
0
);
co
->
BrTime
+=
*
o
->
ScanTime
;
return
;
}
...
...
@@ -452,7 +452,7 @@ void CompOnOffBurnerFo_exec( plc_sThread *tp,
co
->
BrTime
=
0
;
}
co
->
BrTime
+=
*
o
->
ScanTime
;
co
->
TrendStatus
=
co
->
Number
+
(
co
->
Status
?
1
:
0
);
co
->
TrendStatus
=
(
pwr_tFloat32
)
co
->
Number
+
0
.
8
*
(
co
->
Status
?
1
:
0
);
o
->
Status
=
co
->
Status
;
}
...
...
bcomp/wbl/bcomp/src/basecomponent.wb_load
View file @
5c39762a
...
...
@@ -60088,7 +60088,7 @@ Alarm HH, H, L, LL"
Body SysBody 04-OCT-2005 10:53:23.13
Attr PgmName = "AlarmStatus"
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "
val
"
Attr GraphName = "
ala
"
EndBody
EndObject
Object PlcConnect $Intern 4 04-OCT-2005 10:53:23.13
...
...
@@ -107833,7 +107833,7 @@ Err (error) = err"
Body SysBody 25-JAN-2007 13:58:55.48
Attr PgmName = "TrendStatus"
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$
In
t32"
Attr TypeRef = "pwrs:Type-$
Floa
t32"
EndBody
EndObject
Object PulseOn $Attribute 10 25-JAN-2007 13:34:02.65
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