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
2c49d76f
Commit
2c49d76f
authored
Apr 20, 2004
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
co_convert and doxygen tags collision fixed
parent
078bd813
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
128 additions
and
128 deletions
+128
-128
src/lib/rt/src/rt_c_node.c
src/lib/rt/src/rt_c_node.c
+1
-1
src/lib/rt/src/rt_c_plcthread.c
src/lib/rt/src/rt_c_plcthread.c
+1
-1
src/lib/rt/src/rt_csup.c
src/lib/rt/src/rt_csup.c
+1
-1
src/lib/rt/src/rt_plc_arithm.c
src/lib/rt/src/rt_plc_arithm.c
+17
-17
src/lib/rt/src/rt_plc_data.c
src/lib/rt/src/rt_plc_data.c
+5
-5
src/lib/rt/src/rt_plc_drive.c
src/lib/rt/src/rt_plc_drive.c
+4
-4
src/lib/rt/src/rt_plc_io.c
src/lib/rt/src/rt_plc_io.c
+5
-5
src/lib/rt/src/rt_plc_macro_div.h
src/lib/rt/src/rt_plc_macro_div.h
+5
-5
src/lib/rt/src/rt_plc_macro_grafcet.h
src/lib/rt/src/rt_plc_macro_grafcet.h
+15
-15
src/lib/rt/src/rt_plc_macro_io.h
src/lib/rt/src/rt_plc_macro_io.h
+43
-43
src/lib/rt/src/rt_plc_macro_logic.h
src/lib/rt/src/rt_plc_macro_logic.h
+15
-15
src/lib/rt/src/rt_plc_macro_string.h
src/lib/rt/src/rt_plc_macro_string.h
+9
-9
src/lib/rt/src/rt_plc_macro_sup.h
src/lib/rt/src/rt_plc_macro_sup.h
+2
-2
src/lib/rt/src/rt_plc_pid.c
src/lib/rt/src/rt_plc_pid.c
+5
-5
No files found.
src/lib/rt/src/rt_c_node.c
View file @
2c49d76f
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
static
pwr_sNode
*
np
=
0
;
static
pwr_sNode
*
np
=
0
;
/**
/*
_
*
@aref node Node
@aref node Node
*/
*/
...
...
src/lib/rt/src/rt_c_plcthread.c
View file @
2c49d76f
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
#define cNanoSec 1.0e-9
#define cNanoSec 1.0e-9
/**
/*
_
*
@aref plcthread PlcThread
@aref plcthread PlcThread
*/
*/
pwr_sClass_PlcThread
*
pwr_sClass_PlcThread
*
...
...
src/lib/rt/src/rt_csup.c
View file @
2c49d76f
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
#include "rt_errh.h"
#include "rt_errh.h"
/**
/*
_
*
@aref cyclesup CycleSup
@aref cyclesup CycleSup
*/
*/
lst_sEntry
*
lst_sEntry
*
...
...
src/lib/rt/src/rt_plc_arithm.c
View file @
2c49d76f
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
/* PLC RUTINER */
/* PLC RUTINER */
/**
/*
_
*
SUM
SUM
funktion: Add up to 8 analogue values.
funktion: Add up to 8 analogue values.
Each value is multiplied with a factor.
Each value is multiplied with a factor.
...
@@ -53,7 +53,7 @@ void sum_exec(
...
@@ -53,7 +53,7 @@ void sum_exec(
object
->
ActVal
=
sum
;
object
->
ActVal
=
sum
;
}
}
/**
/*
_
*
MAXMIN
MAXMIN
funktion: Select largest and smallest value of up to
funktion: Select largest and smallest value of up to
8 input values.
8 input values.
...
@@ -97,7 +97,7 @@ void maxmin_exec(
...
@@ -97,7 +97,7 @@ void maxmin_exec(
object
->
MinVal
=
minval
;
object
->
MinVal
=
minval
;
}
}
/**
/*
_
*
LIMIT
LIMIT
funktion: Upper and lower limit of analog value
funktion: Upper and lower limit of analog value
...
@@ -139,7 +139,7 @@ void limit_exec(
...
@@ -139,7 +139,7 @@ void limit_exec(
}
}
}
}
/**
/*
_
*
COMPH
COMPH
funktion: Compare Analog Value with high limit
funktion: Compare Analog Value with high limit
...
@@ -161,7 +161,7 @@ void comph_exec(
...
@@ -161,7 +161,7 @@ void comph_exec(
if
(
object
->
In
>
object
->
Lim
)
object
->
High
=
TRUE
;
if
(
object
->
In
>
object
->
Lim
)
object
->
High
=
TRUE
;
}
}
/**
/*
_
*
COMPL
COMPL
funktion: Compare Analog Value with low limit
funktion: Compare Analog Value with low limit
...
@@ -183,7 +183,7 @@ void compl_exec(
...
@@ -183,7 +183,7 @@ void compl_exec(
if
(
object
->
In
<
object
->
Lim
)
object
->
Low
=
TRUE
;
if
(
object
->
In
<
object
->
Lim
)
object
->
Low
=
TRUE
;
}
}
/**
/*
_
*
SELECT
SELECT
funktion: Select between two analog values depending on
funktion: Select between two analog values depending on
one logical control value
one logical control value
...
@@ -208,7 +208,7 @@ void select_exec(
...
@@ -208,7 +208,7 @@ void select_exec(
}
}
}
}
/**
/*
_
*
RAMP
RAMP
funktion: Limit output change.
funktion: Limit output change.
If external feedback is used we limit change
If external feedback is used we limit change
...
@@ -326,7 +326,7 @@ void ramp_exec(
...
@@ -326,7 +326,7 @@ void ramp_exec(
object
->
ActVal
=
out
;
/* New output */
object
->
ActVal
=
out
;
/* New output */
}
}
/**
/*
_
*
FILTER
FILTER
funktion: Exponential filter.
funktion: Exponential filter.
If external feedback is used we filter
If external feedback is used we filter
...
@@ -353,7 +353,7 @@ void filter_exec(
...
@@ -353,7 +353,7 @@ void filter_exec(
object
->
ActVal
=
object
->
In
;
object
->
ActVal
=
object
->
In
;
}
}
/**
/*
_
*
SPEED
SPEED
Function: Calculate difference divided to scantime
Function: Calculate difference divided to scantime
...
@@ -370,7 +370,7 @@ void speed_exec(
...
@@ -370,7 +370,7 @@ void speed_exec(
object
->
ActVal
=
(
object
->
In
-
old
)
/
*
object
->
ScanTime
*
object
->
TimFact
;
object
->
ActVal
=
(
object
->
In
-
old
)
/
*
object
->
ScanTime
*
object
->
TimFact
;
}
}
/**
/*
_
*
TIMINT
TIMINT
Function: Integration in time
Function: Integration in time
...
@@ -391,7 +391,7 @@ void timint_exec(
...
@@ -391,7 +391,7 @@ void timint_exec(
object
->
ActVal
+=
*
object
->
InP
*
*
object
->
ScanTime
/
object
->
TimFact
;
object
->
ActVal
+=
*
object
->
InP
*
*
object
->
ScanTime
/
object
->
TimFact
;
}
}
/**
/*
_
*
CURVE
CURVE
Funktion: Interpollation in a table
Funktion: Interpollation in a table
...
@@ -446,7 +446,7 @@ void curve_exec(
...
@@ -446,7 +446,7 @@ void curve_exec(
#define table_exec(tableobject) /* Table. No code for execution */
#define table_exec(tableobject) /* Table. No code for execution */
#endif
#endif
/**
/*
_
*
ADELAY
ADELAY
Funktion:
Funktion:
...
@@ -529,7 +529,7 @@ void adelay_exec(
...
@@ -529,7 +529,7 @@ void adelay_exec(
object
->
ActVal
=
object
->
TimVect
[
actindex
];
object
->
ActVal
=
object
->
TimVect
[
actindex
];
}
}
/**
/*
_
*
PISPEED
PISPEED
function: Measure flow with pulse input
function: Measure flow with pulse input
...
@@ -557,7 +557,7 @@ void pispeed_exec(
...
@@ -557,7 +557,7 @@ void pispeed_exec(
object
->
TimFact
/
*
object
->
ScanTime
;
object
->
TimFact
/
*
object
->
ScanTime
;
}
}
/**
/*
_
*
DtoMask
DtoMask
funktion: Assamble digital signals to integer bitmask
funktion: Assamble digital signals to integer bitmask
...
@@ -585,7 +585,7 @@ void DtoMask_exec(
...
@@ -585,7 +585,7 @@ void DtoMask_exec(
object
->
Mask
=
val
;
object
->
Mask
=
val
;
}
}
/**
/*
_
*
MaskToD
MaskToD
funktion: Deassamble integer bitmask to digital signals
funktion: Deassamble integer bitmask to digital signals
...
@@ -611,7 +611,7 @@ void MaskToD_exec(
...
@@ -611,7 +611,7 @@ void MaskToD_exec(
}
}
}
}
/**
/*
_
*
DtoEnum
DtoEnum
funktion: Select enumeration value from digital inputs
funktion: Select enumeration value from digital inputs
...
@@ -639,7 +639,7 @@ void DtoEnum_exec(
...
@@ -639,7 +639,7 @@ void DtoEnum_exec(
object
->
Enum
=
val
;
object
->
Enum
=
val
;
}
}
/**
/*
_
*
EnumToD
EnumToD
funktion: Identify enumeration value.
funktion: Identify enumeration value.
...
...
src/lib/rt/src/rt_plc_data.c
View file @
2c49d76f
...
@@ -30,7 +30,7 @@ typedef struct {
...
@@ -30,7 +30,7 @@ typedef struct {
/* PLC RUTINER */
/* PLC RUTINER */
/**
/*
_
*
@aref dpcollect DpCollect
@aref dpcollect DpCollect
*/
*/
void
DpCollect_exec
(
void
DpCollect_exec
(
...
@@ -48,7 +48,7 @@ void DpCollect_exec(
...
@@ -48,7 +48,7 @@ void DpCollect_exec(
}
}
}
}
/**
/*
_
*
@aref apcollect ApCollect
@aref apcollect ApCollect
*/
*/
void
ApCollect_exec
(
void
ApCollect_exec
(
...
@@ -66,7 +66,7 @@ void ApCollect_exec(
...
@@ -66,7 +66,7 @@ void ApCollect_exec(
}
}
}
}
/**
/*
_
*
@aref dpdistribute DpDistribute
@aref dpdistribute DpDistribute
*/
*/
void
DpDistribute_exec
(
void
DpDistribute_exec
(
...
@@ -78,7 +78,7 @@ void DpDistribute_exec(
...
@@ -78,7 +78,7 @@ void DpDistribute_exec(
min
(
object
->
MaxIndex
,
24
)
*
sizeof
(
pwr_tBoolean
));
min
(
object
->
MaxIndex
,
24
)
*
sizeof
(
pwr_tBoolean
));
}
}
/**
/*
_
*
@aref apdistribute ApDistribute
@aref apdistribute ApDistribute
*/
*/
void
ApDistribute_exec
(
void
ApDistribute_exec
(
...
@@ -90,7 +90,7 @@ void ApDistribute_exec(
...
@@ -90,7 +90,7 @@ void ApDistribute_exec(
min
(
object
->
MaxIndex
,
24
)
*
sizeof
(
pwr_tFloat32
));
min
(
object
->
MaxIndex
,
24
)
*
sizeof
(
pwr_tFloat32
));
}
}
/**
/*
_
*
@aref datacollect DataCollect
@aref datacollect DataCollect
*/
*/
void
DataCollect_exec
(
void
DataCollect_exec
(
...
...
src/lib/rt/src/rt_plc_drive.c
View file @
2c49d76f
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
#include "rt_plc.h"
#include "rt_plc.h"
#include "rt_plc_timer.h"
#include "rt_plc_timer.h"
/**
/*
_
*
Drive
Drive
Function:
Function:
Simple Drive with interlocks and
Simple Drive with interlocks and
...
@@ -126,7 +126,7 @@ void drive_exec (
...
@@ -126,7 +126,7 @@ void drive_exec (
object
->
Ind
=
(
object
->
Status
==
4
)
&&
!
object
->
Local
;
object
->
Ind
=
(
object
->
Status
==
4
)
&&
!
object
->
Local
;
}
}
/**
/*
_
*
Valve
Valve
Function:
Function:
Magnetic valve with time alarm
Magnetic valve with time alarm
...
@@ -250,7 +250,7 @@ void valve_exec (
...
@@ -250,7 +250,7 @@ void valve_exec (
object
->
ManClose
=
FALSE
;
object
->
ManClose
=
FALSE
;
}
}
/**
/*
_
*
MValve
MValve
Function:
Function:
Motor-valve
Motor-valve
...
@@ -504,7 +504,7 @@ void mvalve_exec (
...
@@ -504,7 +504,7 @@ void mvalve_exec (
object
->
ManStop
=
FALSE
;
object
->
ManStop
=
FALSE
;
}
}
/**
/*
_
*
Posit
Posit
Function:
Function:
Order a drive to a preset position.
Order a drive to a preset position.
...
...
src/lib/rt/src/rt_plc_io.c
View file @
2c49d76f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#include "rt_plc.h"
#include "rt_plc.h"
#include "rt_plc_timer.h"
#include "rt_plc_timer.h"
/**
/*
_
*
PiPos
PiPos
Function:
Function:
Handles input from pulse-interface-card
Handles input from pulse-interface-card
...
@@ -72,7 +72,7 @@ void pipos_exec (
...
@@ -72,7 +72,7 @@ void pipos_exec (
object
->
CalOrder2Old
=
object
->
CalOrder2
;
object
->
CalOrder2Old
=
object
->
CalOrder2
;
}
}
/**
/*
_
*
Count
Count
Function:
Function:
Handles all functions for flank counter
Handles all functions for flank counter
...
@@ -128,7 +128,7 @@ void count_exec (
...
@@ -128,7 +128,7 @@ void count_exec (
object
->
Equal
=
object
->
Accum
==
object
->
Preset
;
object
->
Equal
=
object
->
Accum
==
object
->
Preset
;
}
}
/**
/*
_
*
BCDDO
BCDDO
Function:
Function:
Converts float to 4-digit BCD value.
Converts float to 4-digit BCD value.
...
@@ -169,7 +169,7 @@ void bcddo_exec (
...
@@ -169,7 +169,7 @@ void bcddo_exec (
object
->
Rest
=
rest
;
object
->
Rest
=
rest
;
}
}
/**
/*
_
*
DIBCD
DIBCD
function: Converts 4-digit BCD value to float.
function: Converts 4-digit BCD value to float.
...
@@ -215,7 +215,7 @@ void dibcd_exec (
...
@@ -215,7 +215,7 @@ void dibcd_exec (
object
->
Error
=
err
;
object
->
Error
=
err
;
}
}
/**
/*
_
*
Gray
Gray
Function:
Function:
Gray converts up to 16 digital Gray coded input signals
Gray converts up to 16 digital Gray coded input signals
...
...
src/lib/rt/src/rt_plc_macro_div.h
View file @
2c49d76f
...
@@ -9,31 +9,31 @@
...
@@ -9,31 +9,31 @@
#define Backup_init(object, data)\
#define Backup_init(object, data)\
strcpy( &(object->DataName), data);
strcpy( &(object->DataName), data);
/**
/*
_
*
@aref windowplc WindowPlc
@aref windowplc WindowPlc
*/
*/
#define windowplc_exec(object)\
#define windowplc_exec(object)\
if ( object->ScanOff) return;
if ( object->ScanOff) return;
/**
/*
_
*
@aref windowcond WindowCond
@aref windowcond WindowCond
*/
*/
#define windowcond_exec(object)\
#define windowcond_exec(object)\
if ( object->ScanOff) return;
if ( object->ScanOff) return;
/**
/*
_
*
@aref windoworderact WindowOrderact
@aref windoworderact WindowOrderact
*/
*/
#define windoworderact_exec(object)\
#define windoworderact_exec(object)\
if ( object->ScanOff) return;
if ( object->ScanOff) return;
/**
/*
_
*
@aref windowsubstep WindowSubstep
@aref windowsubstep WindowSubstep
*/
*/
#define windowsubstep_exec(object)\
#define windowsubstep_exec(object)\
if ( object->ScanOff) return;
if ( object->ScanOff) return;
/**
/*
_
*
@aref scantime ScanTime
@aref scantime ScanTime
*/
*/
#define ScanTime_exec(object)\
#define ScanTime_exec(object)\
...
...
src/lib/rt/src/rt_plc_macro_grafcet.h
View file @
2c49d76f
...
@@ -14,7 +14,7 @@ static pwr_tBoolean **ppointer;
...
@@ -14,7 +14,7 @@ static pwr_tBoolean **ppointer;
static
pwr_tBoolean
test
;
static
pwr_tBoolean
test
;
static
pwr_tBoolean
order_old
;
static
pwr_tBoolean
order_old
;
/**
/*
_
*
InitStep
InitStep
Sequence-step that is set on reset-order for sequence.
Sequence-step that is set on reset-order for sequence.
...
@@ -29,7 +29,7 @@ static pwr_tBoolean order_old;
...
@@ -29,7 +29,7 @@ static pwr_tBoolean order_old;
chain \
chain \
obj->Status[1] = obj->Status[0]
obj->Status[1] = obj->Status[0]
/**
/*
_
*
Step
Step
Sequence-step that is reset on reset-order for sequence.
Sequence-step that is reset on reset-order for sequence.
...
@@ -43,7 +43,7 @@ static pwr_tBoolean order_old;
...
@@ -43,7 +43,7 @@ static pwr_tBoolean order_old;
chain \
chain \
obj->Status[1] = obj->Status[0]
obj->Status[1] = obj->Status[0]
/**
/*
_
*
SubStep
SubStep
Sequence-step that includes a sub-sequence.
Sequence-step that includes a sub-sequence.
...
@@ -57,7 +57,7 @@ static pwr_tBoolean order_old;
...
@@ -57,7 +57,7 @@ static pwr_tBoolean order_old;
chain \
chain \
subseq
subseq
/**
/*
_
*
SSBegin
SSBegin
First sequence-step in subsequence.
First sequence-step in subsequence.
...
@@ -73,7 +73,7 @@ static pwr_tBoolean order_old;
...
@@ -73,7 +73,7 @@ static pwr_tBoolean order_old;
chain \
chain \
obj->Status[1] = obj->Status[0]
obj->Status[1] = obj->Status[0]
/**
/*
_
*
SSEnd
SSEnd
Last sequence-step in subsequence.
Last sequence-step in subsequence.
...
@@ -88,7 +88,7 @@ static pwr_tBoolean order_old;
...
@@ -88,7 +88,7 @@ static pwr_tBoolean order_old;
substep->Status[1] = obj->Status[1] = obj->Status[0]
substep->Status[1] = obj->Status[1] = obj->Status[0]
/**
/*
_
*
Trans
Trans
Transition of active status from one or more step to one or
Transition of active status from one or more step to one or
...
@@ -129,7 +129,7 @@ static pwr_tBoolean order_old;
...
@@ -129,7 +129,7 @@ static pwr_tBoolean order_old;
} \
} \
}
}
/**
/*
_
*
Order
Order
@aref order Order
@aref order Order
*/
*/
...
@@ -142,7 +142,7 @@ static pwr_tBoolean order_old;
...
@@ -142,7 +142,7 @@ static pwr_tBoolean order_old;
chain \
chain \
}
}
/**
/*
_
*
DOrder
DOrder
@aref dorder DOrder
@aref dorder DOrder
*/
*/
...
@@ -167,7 +167,7 @@ static pwr_tBoolean order_old;
...
@@ -167,7 +167,7 @@ static pwr_tBoolean order_old;
obj->Status[1] = stepobj->Status[0] || stepobj->Status[1]; \
obj->Status[1] = stepobj->Status[0] || stepobj->Status[1]; \
obj->Old = stepobj->Status[0];
obj->Old = stepobj->Status[0];
/**
/*
_
*
LOrder
LOrder
@aref lorder LOrder
@aref lorder LOrder
*/
*/
...
@@ -194,7 +194,7 @@ static pwr_tBoolean order_old;
...
@@ -194,7 +194,7 @@ static pwr_tBoolean order_old;
obj->Status[1] = stepobj->Status[0] || stepobj->Status[1]; \
obj->Status[1] = stepobj->Status[0] || stepobj->Status[1]; \
obj->StatusOld = stepobj->Status[0]
obj->StatusOld = stepobj->Status[0]
/**
/*
_
*
POrder
POrder
@aref porder POrder
@aref porder POrder
*/
*/
...
@@ -204,7 +204,7 @@ static pwr_tBoolean order_old;
...
@@ -204,7 +204,7 @@ static pwr_tBoolean order_old;
obj->Status[1] = stepobj->Status[0] || stepobj->Status[1]; \
obj->Status[1] = stepobj->Status[0] || stepobj->Status[1]; \
obj->StatusOld = stepobj->Status[0]
obj->StatusOld = stepobj->Status[0]
/**
/*
_
*
COrder
COrder
@aref corder COrder
@aref corder COrder
*/
*/
...
@@ -214,7 +214,7 @@ static pwr_tBoolean order_old;
...
@@ -214,7 +214,7 @@ static pwr_tBoolean order_old;
obj->Status[0] = stepobj->Status[0] && obj->Cond; \
obj->Status[0] = stepobj->Status[0] && obj->Cond; \
obj->Status[1] = stepobj->Status[0] || stepobj->Status[1]
obj->Status[1] = stepobj->Status[0] || stepobj->Status[1]
/**
/*
_
*
SOrder
SOrder
@aref sorder SOrder
@aref sorder SOrder
*/
*/
...
@@ -226,7 +226,7 @@ static pwr_tBoolean order_old;
...
@@ -226,7 +226,7 @@ static pwr_tBoolean order_old;
obj->Status[1] = obj->Status[0] || stepobj->Status[1]; \
obj->Status[1] = obj->Status[0] || stepobj->Status[1]; \
obj->Reset = false
obj->Reset = false
/**
/*
_
*
Reset_So
Reset_So
@aref reset_so Reset_SO
@aref reset_so Reset_SO
*/
*/
...
@@ -234,7 +234,7 @@ static pwr_tBoolean order_old;
...
@@ -234,7 +234,7 @@ static pwr_tBoolean order_old;
#define reset_so_exec(sorderobj,in) \
#define reset_so_exec(sorderobj,in) \
if ( in ) sorderobj->Reset = true
if ( in ) sorderobj->Reset = true
/**
/*
_
*
SetCond
SetCond
Set condition
Set condition
...
@@ -244,7 +244,7 @@ static pwr_tBoolean order_old;
...
@@ -244,7 +244,7 @@ static pwr_tBoolean order_old;
#define setcond_exec(obj,in) \
#define setcond_exec(obj,in) \
obj->Cond = in
obj->Cond = in
/**
/*
_
*
CSub
CSub
Conditional sub-window
Conditional sub-window
...
...
src/lib/rt/src/rt_plc_macro_io.h
View file @
2c49d76f
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
/* PREPROCESSOR RUTINER */
/* PREPROCESSOR RUTINER */
/**
/*
_
*
STODO
STODO
store digital output
store digital output
@aref stodo StoDo
@aref stodo StoDo
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
#define stodo_exec(obj,in) \
#define stodo_exec(obj,in) \
obj->ActualValue = in;
obj->ActualValue = in;
/**
/*
_
*
STODV
STODV
store digital value
store digital value
@aref stodv StoDv
@aref stodv StoDv
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
#define stodv_exec(obj,in) \
#define stodv_exec(obj,in) \
obj->ActualValue = in;
obj->ActualValue = in;
/**
/*
_
*
STODP
STODP
Store into digital parameter
Store into digital parameter
@aref stodp StoDp
@aref stodp StoDp
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#define stodp_exec(ut,in) \
#define stodp_exec(ut,in) \
ut = in;
ut = in;
/**
/*
_
*
STOAO
STOAO
store into analog output
store into analog output
@aref stoao StoAo
@aref stoao StoAo
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
#define stoao_exec(obj,in) \
#define stoao_exec(obj,in) \
obj->ActualValue = in;
obj->ActualValue = in;
/**
/*
_
*
STOAV
STOAV
store into analog value
store into analog value
@aref stoav StoAv
@aref stoav StoAv
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
#define stoav_exec(obj,in) \
#define stoav_exec(obj,in) \
obj->ActualValue = in;
obj->ActualValue = in;
/**
/*
_
*
STOAP
STOAP
Store into analog parameter
Store into analog parameter
@aref stoap StoAp
@aref stoap StoAp
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
#define stoap_exec(ut,in) \
#define stoap_exec(ut,in) \
ut = in;
ut = in;
/**
/*
_
*
CSTOAO
CSTOAO
store conditionally into analog output
store conditionally into analog output
@aref cstoao CStoAo
@aref cstoao CStoAo
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
#define cstoao_exec(obj,in,cond) \
#define cstoao_exec(obj,in,cond) \
if ( cond ) obj->ActualValue = in;
if ( cond ) obj->ActualValue = in;
/**
/*
_
*
CSTOAV
CSTOAV
store conditionally into analog value
store conditionally into analog value
@aref cstoav CStoAv
@aref cstoav CStoAv
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
#define cstoav_exec(obj,in,cond) \
#define cstoav_exec(obj,in,cond) \
if ( cond ) obj->ActualValue = in;
if ( cond ) obj->ActualValue = in;
/**
/*
_
*
CSTOAP
CSTOAP
Store conditionally into analog parameter
Store conditionally into analog parameter
@aref cstoap CStoAp
@aref cstoap CStoAp
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
#define cstoap_exec(ut,in,cond) \
#define cstoap_exec(ut,in,cond) \
if ( cond ) ut = in;
if ( cond ) ut = in;
/**
/*
_
*
SETDO
SETDO
Set digital output if true
Set digital output if true
@aref setdo SetDo
@aref setdo SetDo
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
#define setdo_exec(obj,in) \
#define setdo_exec(obj,in) \
if ( in ) obj->ActualValue = true;
if ( in ) obj->ActualValue = true;
/**
/*
_
*
SETDV
SETDV
Set digital value if true
Set digital value if true
@aref setdv SetDv
@aref setdv SetDv
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
#define setdv_exec(obj,in) \
#define setdv_exec(obj,in) \
if ( in ) obj->ActualValue = true;
if ( in ) obj->ActualValue = true;
/**
/*
_
*
SETDP
SETDP
Set digital parameter if true
Set digital parameter if true
@aref setdp SetDp
@aref setdp SetDp
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
#define setdp_exec(ut,in) \
#define setdp_exec(ut,in) \
if ( in ) ut = true;
if ( in ) ut = true;
/**
/*
_
*
RESDO
RESDO
Reset digital output if true
Reset digital output if true
@aref resdo ResDo
@aref resdo ResDo
...
@@ -111,7 +111,7 @@
...
@@ -111,7 +111,7 @@
#define resdo_exec(obj,in) \
#define resdo_exec(obj,in) \
if ( in ) obj->ActualValue = false;
if ( in ) obj->ActualValue = false;
/**
/*
_
*
RESDV
RESDV
Reset digital value if true
Reset digital value if true
@aref resdv ResDv
@aref resdv ResDv
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
#define resdv_exec(obj,in) \
#define resdv_exec(obj,in) \
if ( in ) obj->ActualValue = false;
if ( in ) obj->ActualValue = false;
/**
/*
_
*
RESDP
RESDP
Reset digital parameter if true
Reset digital parameter if true
@aref resdp ResDp
@aref resdp ResDp
...
@@ -127,7 +127,7 @@
...
@@ -127,7 +127,7 @@
#define resdp_exec(ut,in) \
#define resdp_exec(ut,in) \
if ( in ) ut = false;
if ( in ) ut = false;
/**
/*
_
*
StoIp
StoIp
Store integer parameter
Store integer parameter
@aref stoip StoIp
@aref stoip StoIp
...
@@ -135,7 +135,7 @@
...
@@ -135,7 +135,7 @@
#define StoIp_exec(ut,in) \
#define StoIp_exec(ut,in) \
ut = in;
ut = in;
/**
/*
_
*
CStoIp
CStoIp
Store conditionally integer parameter
Store conditionally integer parameter
@aref cstoip CStoIp
@aref cstoip CStoIp
...
@@ -143,7 +143,7 @@
...
@@ -143,7 +143,7 @@
#define CStoIp_exec(ut,in,cond) \
#define CStoIp_exec(ut,in,cond) \
if ( cond ) ut = in;
if ( cond ) ut = in;
/**
/*
_
*
StoAtoIp
StoAtoIp
Store analog value into integer parameter
Store analog value into integer parameter
@aref stoatoip StoAtoIp
@aref stoatoip StoAtoIp
...
@@ -151,7 +151,7 @@
...
@@ -151,7 +151,7 @@
#define StoAtoIp_exec(ut,in) \
#define StoAtoIp_exec(ut,in) \
ut = in > 0 ? in + 0.5 : in - 0.5;
ut = in > 0 ? in + 0.5 : in - 0.5;
/**
/*
_
*
CStoAtoIp
CStoAtoIp
Store conditionally analog value into integer parameter
Store conditionally analog value into integer parameter
@aref cstoatoip CStoAtoIp
@aref cstoatoip CStoAtoIp
...
@@ -159,7 +159,7 @@
...
@@ -159,7 +159,7 @@
#define CStoAtoIp_exec(ut,in,cond) \
#define CStoAtoIp_exec(ut,in,cond) \
if ( cond ) ut = in > 0 ? in + 0.5 : in - 0.5;
if ( cond ) ut = in > 0 ? in + 0.5 : in - 0.5;
/**
/*
_
*
GetIpToA
GetIpToA
Get Integer parameter as an analog value
Get Integer parameter as an analog value
@aref getiptoa GetIpToA
@aref getiptoa GetIpToA
...
@@ -167,7 +167,7 @@
...
@@ -167,7 +167,7 @@
#define GetIpToA_exec(object,in) \
#define GetIpToA_exec(object,in) \
object->ActVal = in;
object->ActVal = in;
/**
/*
_
*
STODI
STODI
store digital input (Simulate)
store digital input (Simulate)
@aref stodi StoDi
@aref stodi StoDi
...
@@ -175,7 +175,7 @@
...
@@ -175,7 +175,7 @@
#define stodi_exec(obj,in) \
#define stodi_exec(obj,in) \
obj->ActualValue = in;
obj->ActualValue = in;
/**
/*
_
*
SETDI
SETDI
Set digital input if true (Simulate)
Set digital input if true (Simulate)
@aref setdi SetDi
@aref setdi SetDi
...
@@ -183,7 +183,7 @@
...
@@ -183,7 +183,7 @@
#define setdi_exec(obj,in) \
#define setdi_exec(obj,in) \
if ( in ) obj->ActualValue = true;
if ( in ) obj->ActualValue = true;
/**
/*
_
*
RESDI
RESDI
Reset digital input if true (Simulate)
Reset digital input if true (Simulate)
@aref resdi ResDi
@aref resdi ResDi
...
@@ -191,7 +191,7 @@
...
@@ -191,7 +191,7 @@
#define resdi_exec(obj,in) \
#define resdi_exec(obj,in) \
if ( in ) obj->ActualValue = false;
if ( in ) obj->ActualValue = false;
/**
/*
_
*
STOAI
STOAI
store analog input (Simulate)
store analog input (Simulate)
@aref stoai StoAi
@aref stoai StoAi
...
@@ -199,7 +199,7 @@
...
@@ -199,7 +199,7 @@
#define stoai_exec(obj,in) \
#define stoai_exec(obj,in) \
obj->ActualValue = in;
obj->ActualValue = in;
/**
/*
_
*
CSTOAI
CSTOAI
store conditionally into analog input (Simulate)
store conditionally into analog input (Simulate)
@aref cstoai CStoAi
@aref cstoai CStoAi
...
@@ -207,7 +207,7 @@
...
@@ -207,7 +207,7 @@
#define cstoai_exec(obj,in,cond) \
#define cstoai_exec(obj,in,cond) \
if ( cond ) obj->ActualValue = in;
if ( cond ) obj->ActualValue = in;
/**
/*
_
*
STOPI
STOPI
store into co (Simulate)
store into co (Simulate)
@aref stopi StoPi
@aref stopi StoPi
...
@@ -216,7 +216,7 @@
...
@@ -216,7 +216,7 @@
rawvalue->RawValue = in; \
rawvalue->RawValue = in; \
absvalue->RawValue = in;
absvalue->RawValue = in;
/**
/*
_
*
StoIo
StoIo
Store integer output
Store integer output
@aref stoio StoIo
@aref stoio StoIo
...
@@ -224,7 +224,7 @@
...
@@ -224,7 +224,7 @@
#define stoio_exec(obj,in) \
#define stoio_exec(obj,in) \
obj->ActualValue = in;
obj->ActualValue = in;
/**
/*
_
*
CStoIo
CStoIo
store conditionally into integer output
store conditionally into integer output
@aref cstoio CStoIo
@aref cstoio CStoIo
...
@@ -232,7 +232,7 @@
...
@@ -232,7 +232,7 @@
#define cstoio_exec(obj,in,cond) \
#define cstoio_exec(obj,in,cond) \
if ( cond ) obj->ActualValue = in;
if ( cond ) obj->ActualValue = in;
/**
/*
_
*
StoIv
StoIv
Store integer value
Store integer value
@aref stoiv StoIv
@aref stoiv StoIv
...
@@ -240,7 +240,7 @@
...
@@ -240,7 +240,7 @@
#define stoiv_exec(obj,in) \
#define stoiv_exec(obj,in) \
obj->ActualValue = in;
obj->ActualValue = in;
/**
/*
_
*
CStoIv
CStoIv
store conditionally into integer value
store conditionally into integer value
@aref cstoiv CStoIv
@aref cstoiv CStoIv
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
#define cstoiv_exec(obj,in,cond) \
#define cstoiv_exec(obj,in,cond) \
if ( cond ) obj->ActualValue = in;
if ( cond ) obj->ActualValue = in;
/**
/*
_
*
StoIi
StoIi
store integer input (Simulate)
store integer input (Simulate)
@aref stoii StoIi
@aref stoii StoIi
...
@@ -256,7 +256,7 @@
...
@@ -256,7 +256,7 @@
#define stoii_exec(obj,in) \
#define stoii_exec(obj,in) \
obj->ActualValue = in;
obj->ActualValue = in;
/**
/*
_
*
CStoIi
CStoIi
store conditionally into integer input (Simulate)
store conditionally into integer input (Simulate)
@aref cstoii CStoIi
@aref cstoii CStoIi
...
@@ -264,70 +264,70 @@
...
@@ -264,70 +264,70 @@
#define cstoii_exec(obj,in,cond) \
#define cstoii_exec(obj,in,cond) \
if ( cond ) obj->ActualValue = in;
if ( cond ) obj->ActualValue = in;
/**
/*
_
*
AtoI
AtoI
@aref atoi AtoI
@aref atoi AtoI
*/
*/
#define AtoI_exec(obj,in) \
#define AtoI_exec(obj,in) \
obj->ActVal = in > 0 ? in + 0.5 : in - 0.5;
obj->ActVal = in > 0 ? in + 0.5 : in - 0.5;
/**
/*
_
*
ItoA
ItoA
@aref itoa ItoA
@aref itoa ItoA
*/
*/
#define ItoA_exec(obj,in) \
#define ItoA_exec(obj,in) \
obj->ActVal = in;
obj->ActVal = in;
/**
/*
_
*
StoDattr
StoDattr
@aref stodattr StoDattr
@aref stodattr StoDattr
*/
*/
#define StoDattr_exec(attr,in) \
#define StoDattr_exec(attr,in) \
attr = in;
attr = in;
/**
/*
_
*
SetDattr
SetDattr
@aref setdattr SetDattr
@aref setdattr SetDattr
*/
*/
#define SetDattr_exec(attr,in) \
#define SetDattr_exec(attr,in) \
if ( in) attr = true;
if ( in) attr = true;
/**
/*
_
*
ResDattr
ResDattr
@aref resdattr ResDattr
@aref resdattr ResDattr
*/
*/
#define ResDattr_exec(attr,in) \
#define ResDattr_exec(attr,in) \
if ( in) attr = false;
if ( in) attr = false;
/**
/*
_
*
StoIattr
StoIattr
@aref stoiattr StoIattr
@aref stoiattr StoIattr
*/
*/
#define StoIattr_exec(attr,in) \
#define StoIattr_exec(attr,in) \
attr = in;
attr = in;
/**
/*
_
*
CStoIattr
CStoIattr
@aref cstoiattr CStoIattr
@aref cstoiattr CStoIattr
*/
*/
#define CStoIattr_exec(attr,in,cond) \
#define CStoIattr_exec(attr,in,cond) \
if ( cond) attr = in;
if ( cond) attr = in;
/**
/*
_
*
StoAattr
StoAattr
@aref stoaattr StoAattr
@aref stoaattr StoAattr
*/
*/
#define StoAattr_exec(attr,in) \
#define StoAattr_exec(attr,in) \
attr = in;
attr = in;
/**
/*
_
*
CStoAattr
CStoAattr
@aref cstoaattr CStoAattr
@aref cstoaattr CStoAattr
*/
*/
#define CStoAattr_exec(attr,in,cond) \
#define CStoAattr_exec(attr,in,cond) \
if ( cond) attr = in;
if ( cond) attr = in;
/**
/*
_
*
StoSattr
StoSattr
@aref stosattr StoSattr
@aref stosattr StoSattr
*/
*/
...
@@ -335,7 +335,7 @@
...
@@ -335,7 +335,7 @@
strncpy( attr, in, size); \
strncpy( attr, in, size); \
attr[size-1] = 0;
attr[size-1] = 0;
/**
/*
_
*
CStoSattr
CStoSattr
@aref cstosattr CStoSattr
@aref cstosattr CStoSattr
*/
*/
...
...
src/lib/rt/src/rt_plc_macro_logic.h
View file @
2c49d76f
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
/* PREPROCESSOR ROUTINES FOR LOGIC CONTROL */
/* PREPROCESSOR ROUTINES FOR LOGIC CONTROL */
/**
/*
_
*
And
And
and-gate
and-gate
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#define and_exec(obj,expr) \
#define and_exec(obj,expr) \
obj->Status = ( expr );
obj->Status = ( expr );
/**
/*
_
*
OR
OR
or-gate
or-gate
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#define or_exec(obj,expr) \
#define or_exec(obj,expr) \
obj->Status = ( expr );
obj->Status = ( expr );
/**
/*
_
*
XOR
XOR
exclusive or-block
exclusive or-block
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
#define xor_exec(obj,in1,in2) \
#define xor_exec(obj,in1,in2) \
obj->Status = !(in1 == in2 );
obj->Status = !(in1 == in2 );
/**
/*
_
*
EDGE
EDGE
detects logic rise.
detects logic rise.
...
@@ -46,21 +46,21 @@
...
@@ -46,21 +46,21 @@
/**
/*
_
*
AARITHM
AARITHM
@aref aarithm AArithm
@aref aarithm AArithm
*/
*/
#define aarithm_exec(obj,expr) \
#define aarithm_exec(obj,expr) \
obj->ActVal = expr;
obj->ActVal = expr;
/**
/*
_
*
DARITHM
DARITHM
@aref darithm DArithm
@aref darithm DArithm
*/
*/
#define darithm_exec(obj,expr) \
#define darithm_exec(obj,expr) \
obj->Status = expr;
obj->Status = expr;
/**
/*
_
*
CARITHM
CARITHM
@aref carithm CArithm
@aref carithm CArithm
*/
*/
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
expr\
expr\
}
}
/**
/*
_
*
SR_S
SR_S
@aref sr_s SR_S
@aref sr_s SR_S
*/
*/
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
obj->Status = true; \
obj->Status = true; \
else if (reset) obj->Status = false;
else if (reset) obj->Status = false;
/**
/*
_
*
SR_R
SR_R
@aref sr_r SR_R
@aref sr_r SR_R
*/
*/
...
@@ -87,14 +87,14 @@
...
@@ -87,14 +87,14 @@
obj->Status = false; \
obj->Status = false; \
else if (set) obj->Status = true;
else if (set) obj->Status = true;
/**
/*
_
*
INV
INV
@aref inv Inv
@aref inv Inv
*/
*/
#define inv_exec(obj,in) \
#define inv_exec(obj,in) \
obj->Status = !in;
obj->Status = !in;
/**
/*
_
*
PULSE
PULSE
@aref pulse Pulse
@aref pulse Pulse
*/
*/
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
obj->Status = obj->TimerFlag; \
obj->Status = obj->TimerFlag; \
obj->StatusOld = in;
obj->StatusOld = in;
/**
/*
_
*
WAIT
WAIT
@aref wait Wait
@aref wait Wait
*/
*/
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
obj->StatusOld = in; \
obj->StatusOld = in; \
obj->Status = in && !obj->TimerFlag;
obj->Status = in && !obj->TimerFlag;
/**
/*
_
*
TIMER
TIMER
@aref timer Timer
@aref timer Timer
*/
*/
...
@@ -132,7 +132,7 @@
...
@@ -132,7 +132,7 @@
obj->StatusOld = in; \
obj->StatusOld = in; \
obj->Status = in || obj->TimerFlag;
obj->Status = in || obj->TimerFlag;
/**
/*
_
*
WAITH
WAITH
@aref waith Waith
@aref waith Waith
*/
*/
...
@@ -162,7 +162,7 @@
...
@@ -162,7 +162,7 @@
obj->Status = false; \
obj->Status = false; \
}
}
/**
/*
_
*
STRCAT
STRCAT
@aref strcat Strcat
@aref strcat Strcat
*/
*/
...
...
src/lib/rt/src/rt_plc_macro_string.h
View file @
2c49d76f
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
/* Preprocessor routines for string operations */
/* Preprocessor routines for string operations */
/**
/*
_
*
STOSV
STOSV
store string value
store string value
@aref stosv StoSv
@aref stosv StoSv
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
strncpy( obj->ActualValue, in, sizeof(obj->ActualValue)); \
strncpy( obj->ActualValue, in, sizeof(obj->ActualValue)); \
obj->ActualValue[sizeof(obj->ActualValue)-1] = 0;
obj->ActualValue[sizeof(obj->ActualValue)-1] = 0;
/**
/*
_
*
CSTOSV
CSTOSV
store conditionally into string value
store conditionally into string value
@aref cstosv CStoSv
@aref cstosv CStoSv
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
obj->ActualValue[sizeof(obj->ActualValue)-1] = 0; \
obj->ActualValue[sizeof(obj->ActualValue)-1] = 0; \
}
}
/**
/*
_
*
STRCAT
STRCAT
@aref strcat Strcat
@aref strcat Strcat
*/
*/
...
@@ -37,28 +37,28 @@
...
@@ -37,28 +37,28 @@
strncat(obj->ActVal, str2, sizeof(obj->ActVal)-strlen(str1)); \
strncat(obj->ActVal, str2, sizeof(obj->ActVal)-strlen(str1)); \
obj->ActVal[sizeof(obj->ActVal)-1] = 0;
obj->ActVal[sizeof(obj->ActVal)-1] = 0;
/**
/*
_
*
ATOSTR
ATOSTR
@aref atostr AtoStr
@aref atostr AtoStr
*/
*/
#define AtoStr_exec(obj,in) \
#define AtoStr_exec(obj,in) \
sprintf(obj->ActVal, obj->Format, in);
sprintf(obj->ActVal, obj->Format, in);
/**
/*
_
*
DTOSTR
DTOSTR
@aref dtostr DtoStr
@aref dtostr DtoStr
*/
*/
#define DtoStr_exec(obj,in) \
#define DtoStr_exec(obj,in) \
sprintf(obj->ActVal, obj->Format, in);
sprintf(obj->ActVal, obj->Format, in);
/**
/*
_
*
ITOSTR
ITOSTR
@aref itostr ItoStr
@aref itostr ItoStr
*/
*/
#define ItoStr_exec(obj,in) \
#define ItoStr_exec(obj,in) \
sprintf(obj->ActVal, obj->Format, in);
sprintf(obj->ActVal, obj->Format, in);
/**
/*
_
*
STOSP
STOSP
Store into string attribute
Store into string attribute
@aref stosp StoSp
@aref stosp StoSp
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
strncpy( ut, in, size); \
strncpy( ut, in, size); \
ut[size-1] = 0;
ut[size-1] = 0;
/**
/*
_
*
CSTOSP
CSTOSP
Store conditionally into string attribute
Store conditionally into string attribute
@aref cstosp CStoSp
@aref cstosp CStoSp
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
ut[size-1] = 0; \
ut[size-1] = 0; \
}
}
/**
/*
_
*
SUBSTR
SUBSTR
@aref substr SubStr
@aref substr SubStr
*/
*/
...
...
src/lib/rt/src/rt_plc_macro_sup.h
View file @
2c49d76f
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
o->Acked = TRUE;
o->Acked = TRUE;
#endif
#endif
/**
/*
_
*
Name:
Name:
ASup_exec(object, In, con)
ASup_exec(object, In, con)
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
o->CheckReturn = FALSE; \
o->CheckReturn = FALSE; \
o->Acked = TRUE;
o->Acked = TRUE;
#endif
#endif
/**
/*
_
*
Name:
Name:
DSup_exec(object, In, con)
DSup_exec(object, In, con)
...
...
src/lib/rt/src/rt_plc_pid.c
View file @
2c49d76f
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
/* PLC RUTINER */
/* PLC RUTINER */
/**
/*
_
*
INC3P
INC3P
function: accumulate output change from controller
function: accumulate output change from controller
and convert to Open or Close orders.
and convert to Open or Close orders.
...
@@ -130,7 +130,7 @@ void inc3p_exec(
...
@@ -130,7 +130,7 @@ void inc3p_exec(
}
}
}
}
/**
/*
_
*
POS3P
POS3P
function: Compare controller output to actual position
function: Compare controller output to actual position
Open or close if outside of deadzone.
Open or close if outside of deadzone.
...
@@ -203,7 +203,7 @@ void pos3p_exec(
...
@@ -203,7 +203,7 @@ void pos3p_exec(
object
->
TimerCount
=
0
;
object
->
TimerCount
=
0
;
}
}
}
}
/**
/*
_
*
OUT2P
OUT2P
function: Konvert analog controll output to binary on / off
function: Konvert analog controll output to binary on / off
...
@@ -252,7 +252,7 @@ void out2p_exec(
...
@@ -252,7 +252,7 @@ void out2p_exec(
}
}
}
}
/**
/*
_
*
MODE
MODE
function: Set controller or drive in different operation mode.
function: Set controller or drive in different operation mode.
Pass analog values depending on mode.
Pass analog values depending on mode.
...
@@ -317,7 +317,7 @@ void mode_exec(
...
@@ -317,7 +317,7 @@ void mode_exec(
}
}
}
}
/**
/*
_
*
PID
PID
function: PID or PD Controller with basic facilities
function: PID or PD Controller with basic facilities
Possible to turn off integration and to force
Possible to turn off integration and to force
...
...
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