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
ac0f2f1f
Commit
ac0f2f1f
authored
Oct 11, 2012
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rt_rtt, fix for show nmps picture
parent
79771aad
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3085 additions
and
2131 deletions
+3085
-2131
src/lib/dtt/src/dtt_rttsys.c
src/lib/dtt/src/dtt_rttsys.c
+9
-9
src/lib/dtt/src/pwr_nmpsclasses.h
src/lib/dtt/src/pwr_nmpsclasses.h
+2271
-1724
src/lib/dtt/src/pwr_remoteclasses.h
src/lib/dtt/src/pwr_remoteclasses.h
+805
-0
src/lib/dtt/src/pwr_ssabclasses.h
src/lib/dtt/src/pwr_ssabclasses.h
+0
-398
No files found.
src/lib/dtt/src/dtt_rttsys.c
View file @
ac0f2f1f
...
...
@@ -85,7 +85,7 @@
#include "dtt_appl_rttsys_m.rdecl"
#include "pwr_baseclasses.h"
#include "pwr_nmpsclasses.h"
#include "pwr_
ssab
classes.h"
#include "pwr_
remote
classes.h"
/*_Local rtt database____________________________________________________*/
RTT_RTTSYSDB_START
...
...
@@ -153,18 +153,18 @@ typedef struct {
typedef
struct
{
pwr_tFloat32
*
DataP
;
pwr_tObjid
Data_ObjId
;
pwr_tBoolean
Data_Front
;
pwr_tBoolean
Data_Back
;
gdh_tDlid
Data_Dlid
;
pwr_tBoolean
Data_Select
;
pwr_tBoolean
Data_OldSelect
;
pwr_tObjid
Data_ObjId
pwr_dAlignLW
;
pwr_tBoolean
Data_Front
pwr_dAlignW
;
pwr_tBoolean
Data_Back
pwr_dAlignW
;
gdh_tDlid
Data_Dlid
pwr_dAlignW
;
pwr_tBoolean
Data_Select
pwr_dAlignW
;
pwr_tBoolean
Data_OldSelect
pwr_dAlignW
;
}
plc_t_DataInfo
;
typedef
struct
{
pwr_tFloat32
*
DataP
;
pwr_tObjid
Data_ObjId
;
gdh_tDlid
Data_Dlid
;
pwr_tObjid
Data_ObjId
pwr_dAlignW
;
gdh_tDlid
Data_Dlid
pwr_dAlignW
;
}
plc_t_DataInfoMirCell
;
typedef
struct
{
...
...
src/lib/dtt/src/pwr_nmpsclasses.h
View file @
ac0f2f1f
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/lib/dtt/src/pwr_remoteclasses.h
0 → 100644
View file @
ac0f2f1f
This diff is collapsed.
Click to expand it.
src/lib/dtt/src/pwr_ssabclasses.h
deleted
100644 → 0
View file @
79771aad
#ifndef pwr_ssabclasses_h
#define pwr_ssabclasses_h
#ifndef pwr_class_h
#include "pwr_class.h"
#endif
#ifndef pwr_cClass_Buff1440
#define pwr_cClass_Buff1440 16973984
/* Class: Buff1440
Body: RtBody */
typedef
struct
{
pwr_tInt16
Data
[
720
];
}
pwr_sClass_Buff1440
;
#endif
#ifndef pwr_cClass_Buff256
#define pwr_cClass_Buff256 16973976
/* Class: Buff256
Body: RtBody */
typedef
struct
{
pwr_tInt16
Data
[
128
];
}
pwr_sClass_Buff256
;
#endif
#ifndef pwr_cClass_Buff32k
#define pwr_cClass_Buff32k 16974000
/* Class: Buff32k
Body: RtBody */
typedef
struct
{
pwr_tInt16
Data
[
16384
];
}
pwr_sClass_Buff32k
;
#endif
#ifndef pwr_cClass_Buff4096
#define pwr_cClass_Buff4096 16973992
/* Class: Buff4096
Body: RtBody */
typedef
struct
{
pwr_tInt16
Data
[
2048
];
}
pwr_sClass_Buff4096
;
#endif
#ifndef pwr_cClass_LoggConfig
#define pwr_cClass_LoggConfig 16973840
/* Class: LoggConfig
Body: RtBody */
typedef
struct
{
pwr_tString40
LoggFile
;
pwr_tBoolean
NewVersion
;
pwr_tUInt32
Identity
;
pwr_tUInt32
LoggCount
;
pwr_tUInt32
FileOpenCount
;
}
pwr_sClass_LoggConfig
;
#endif
#ifndef pwr_cClass_LocTrans
#define pwr_cClass_LocTrans 16974008
/* Class: LocTrans
Body: RtBody */
typedef
struct
{
pwr_tString80
Description
;
pwr_tBoolean
DataValid
;
}
pwr_sClass_LocTrans
;
#endif
#ifndef pwr_cClass_MultiCast
#define pwr_cClass_MultiCast 16973864
/* Class: MultiCast
Body: RtBody */
typedef
struct
{
pwr_tUInt16
Address
[
16
];
}
pwr_sClass_MultiCast
;
#endif
#ifndef pwr_cClass_RemAi
#define pwr_cClass_RemAi 16973904
/* Class: RemAi
Body: RtBody */
typedef
struct
{
pwr_tString80
Description
;
}
pwr_sClass_RemAi
;
#endif
#ifndef pwr_cClass_RemAo
#define pwr_cClass_RemAo 16973912
/* Class: RemAo
Body: RtBody */
typedef
struct
{
pwr_tString80
Description
;
}
pwr_sClass_RemAo
;
#endif
#ifndef pwr_cClass_RemChan_Ai
#define pwr_cClass_RemChan_Ai 16973944
/* Class: RemChan_Ai
Body: RtBody */
typedef
struct
{
pwr_tString80
Description
;
pwr_tObjid
SigChanCon
;
pwr_tString40
Identity
;
pwr_tFloat32
*
ActualValue
;
pwr_tUInt32
SensorPolyType
;
pwr_tFloat32
SensorPolyCoef0
;
pwr_tFloat32
SensorPolyCoef1
;
pwr_tFloat32
SensorPolyCoef2
;
pwr_tUInt32
ConvOff
;
}
pwr_sClass_RemChan_Ai
;
#endif
#ifndef pwr_cClass_RemChan_Ao
#define pwr_cClass_RemChan_Ao 16973952
/* Class: RemChan_Ao
Body: RtBody */
typedef
struct
{
pwr_tString80
Description
;
pwr_tObjid
SigChanCon
;
pwr_tString40
Identity
;
pwr_tFloat32
*
ActualValue
;
pwr_tFloat32
OutPolyCoef0
;
pwr_tFloat32
OutPolyCoef1
;
pwr_tFloat32
OutMaxLimit
;
pwr_tFloat32
OutMinLimit
;
pwr_tUInt32
ConvOff
;
pwr_tInt16
OldValue
;
char
filler_0
[
2
];
pwr_tBoolean
PwrIsMaster
;
}
pwr_sClass_RemChan_Ao
;
#endif
#ifndef pwr_cClass_RemChan_Co
#define pwr_cClass_RemChan_Co 16973960
/* Class: RemChan_Co
Body: RtBody */
typedef
struct
{
pwr_tString80
Description
;
pwr_tObjid
SigChanCon
;
pwr_tString40
Identity
;
pwr_tInt32
*
ActualValue
;
pwr_tInt32
*
ExtendedValue
;
pwr_tUInt32
NoOfBits
;
pwr_tUInt32
ConvOff
;
pwr_tUInt32
SyncRawValue
;
pwr_tBoolean
CounterZeroFlag
;
pwr_tBoolean
CounterSyncFlag
;
}
pwr_sClass_RemChan_Co
;
#endif
#ifndef pwr_cClass_RemChan_Di
#define pwr_cClass_RemChan_Di 16973928
/* Class: RemChan_Di
Body: RtBody */
typedef
struct
{
pwr_tString80
Description
;
pwr_tObjid
SigChanCon
;
pwr_tString40
Identity
;
pwr_tBoolean
*
ActualValue
;
pwr_tUInt32
ConvOff
;
pwr_tUInt32
BuffOff
;
pwr_tUInt8
ConvMask
;
char
filler_0
[
3
];
}
pwr_sClass_RemChan_Di
;
#endif
#ifndef pwr_cClass_RemChan_Do
#define pwr_cClass_RemChan_Do 16973936
/* Class: RemChan_Do
Body: RtBody */
typedef
struct
{
pwr_tString80
Description
;
pwr_tObjid
SigChanCon
;
pwr_tString40
Identity
;
pwr_tBoolean
*
ActualValue
;
pwr_tUInt32
ConvOff
;
pwr_tUInt32
BuffOff
;
pwr_tUInt8
ConvMask
;
char
filler_0
[
3
];
pwr_tBoolean
PwrIsMaster
;
pwr_tBoolean
OldValue
;
}
pwr_sClass_RemChan_Do
;
#endif
#ifndef pwr_cClass_RemChan_Dv
#define pwr_cClass_RemChan_Dv 16973968
/* Class: RemChan_Dv
Body: RtBody */
typedef
struct
{
pwr_tString80
Description
;
pwr_tObjid
SigChanCon
;
pwr_tBoolean
*
ActualValue
;
pwr_tUInt32
ConvOff
;
pwr_tUInt32
BuffOff
;
pwr_tUInt8
ConvMask
;
char
filler_0
[
3
];
pwr_tBoolean
PwrIsMaster
;
pwr_tBoolean
OldValue
;
}
pwr_sClass_RemChan_Dv
;
#endif
#ifndef pwr_cClass_RemCo
#define pwr_cClass_RemCo 16973920
/* Class: RemCo
Body: RtBody */
typedef
struct
{
pwr_tString80
Description
;
}
pwr_sClass_RemCo
;
#endif
#ifndef pwr_cClass_RemDi
#define pwr_cClass_RemDi 16973880
/* Class: RemDi
Body: RtBody */
typedef
struct
{
pwr_tString80
Description
;
}
pwr_sClass_RemDi
;
#endif
#ifndef pwr_cClass_RemDo
#define pwr_cClass_RemDo 16973888
/* Class: RemDo
Body: RtBody */
typedef
struct
{
pwr_tString80
Description
;
}
pwr_sClass_RemDo
;
#endif
#ifndef pwr_cClass_RemDv
#define pwr_cClass_RemDv 16973896
/* Class: RemDv
Body: RtBody */
typedef
struct
{
pwr_tString80
Description
;
}
pwr_sClass_RemDv
;
#endif
#ifndef pwr_cClass_RemNode
#define pwr_cClass_RemNode 16973856
/* Class: RemNode
Body: RtBody */
typedef
struct
{
pwr_tString80
Description
;
pwr_tString40
NodeName
;
pwr_tUInt16
Address
[
4
];
pwr_tUInt32
TransportType
;
pwr_tUInt32
NumberOfRestarts
;
pwr_tFloat32
CycleTime
;
pwr_tFloat32
ErrTime
;
pwr_tFloat32
IOCycleTime
;
pwr_tFloat32
IOStallTime
;
pwr_tUInt32
IOStallAction
;
pwr_tObjid
IODataArea
;
pwr_tUInt32
NumberOfTrans
;
pwr_tUInt32
NumberOfDI
;
pwr_tUInt32
NumberOfDO
;
pwr_tUInt32
NumberOfAI
;
pwr_tUInt32
NumberOfAO
;
pwr_tUInt32
NumberOfDV
;
pwr_tUInt32
NumberOfCo
;
pwr_tInt32
PollDiff
;
pwr_tUInt32
ErrTransCount
;
pwr_tBoolean
Poll
;
pwr_tBoolean
IOStallFlag
;
}
pwr_sClass_RemNode
;
#endif
#ifndef pwr_cClass_RemTrans
#define pwr_cClass_RemTrans 16973872
/* Class: RemTrans
Body: RtBody */
typedef
struct
{
pwr_tString80
Description
;
pwr_tString40
TransName
;
pwr_tUInt16
Address
[
4
];
pwr_tUInt32
Direction
;
pwr_tUInt32
DataLength
;
pwr_tUInt32
LoggLevel
;
pwr_tUInt32
MaxBuffers
;
pwr_tUInt32
Buffers
;
pwr_tUInt32
MaxLength
;
pwr_tUInt32
LastSts
;
pwr_tTime
TransTime
;
pwr_tUInt32
TransCount
;
pwr_tUInt32
BuffCount
;
pwr_tUInt32
LostCount
;
pwr_tUInt32
ErrCount
;
pwr_tBoolean
DataValid
;
pwr_tString40
StructName
;
pwr_tString80
StructFile
;
}
pwr_sClass_RemTrans
;
#endif
#endif
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