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
b05f084d
Commit
b05f084d
authored
May 16, 2006
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Attr ManMode added to Mode to make to remove code in object graph
parent
3323c8e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
src/lib/rt/src/rt_plc_pid.c
src/lib/rt/src/rt_plc_pid.c
+4
-1
src/wbl/pwrb/src/pwrb_c_mode.wb_load
src/wbl/pwrb/src/pwrb_c_mode.wb_load
+16
-1
No files found.
src/lib/rt/src/rt_plc_pid.c
View file @
b05f084d
/*
* Proview $Id: rt_plc_pid.c,v 1.
5 2005-09-01 14:57:56
claes Exp $
* Proview $Id: rt_plc_pid.c,v 1.
6 2006-05-16 11:48:54
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -290,6 +290,7 @@ void mode_exec(
if
(
object
->
OpMod
<=
1
)
{
object
->
Force
=
TRUE
;
object
->
ManMode
=
TRUE
;
object
->
AutMode
=
FALSE
;
object
->
CascMod
=
FALSE
;
/* External setpoint ? */
...
...
@@ -305,12 +306,14 @@ void mode_exec(
/* Auto */
if
(
object
->
OpMod
==
2
)
{
object
->
ManMode
=
FALSE
;
object
->
AutMode
=
TRUE
;
object
->
CascMod
=
FALSE
;
}
/* Cascade mode */
else
{
object
->
ManMode
=
FALSE
;
object
->
AutMode
=
FALSE
;
object
->
CascMod
=
TRUE
;
object
->
SetVal
=
object
->
XSetVal
;
...
...
src/wbl/pwrb/src/pwrb_c_mode.wb_load
View file @
b05f084d
!
! Proview $Id: pwrb_c_mode.wb_load,v 1.
8 2005-09-01 14:58:02
claes Exp $
! Proview $Id: pwrb_c_mode.wb_load,v 1.
9 2006-05-16 11:48:54
claes Exp $
! Copyright (C) 2005 SSAB Oxelösund AB.
!
! This program is free software; you can redistribute it and/or
...
...
@@ -238,6 +238,21 @@ SObject pwrb:Class
EndBody
EndObject
!/**
! Indicates if the control mode MANUAL is selected or not.
! FALSE means that MANUAL is not the control mode; TRUE
! means that MANUAL is the control mode.
! This attribute is used only as information.
!*/
Object ManMode $Intern 27
Body SysBody
Attr PgmName = "ManMode"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr TypeRef = "pwrs:Type-$Boolean"
Attr GraphName = "man"
EndBody
EndObject
!/**
! Specifies the actual control mode. The value is changed
! from the object display of the Mode object.
!
...
...
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