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
0fe77e06
Commit
0fe77e06
authored
Nov 03, 2011
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Profinet configurator, rename of module names allowed, and some V2.25 attributes added
parent
256a4065
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
profibus/lib/cow/src/cow_pn_gsdml.cpp
profibus/lib/cow/src/cow_pn_gsdml.cpp
+5
-0
profibus/lib/cow/src/cow_pn_gsdml.h
profibus/lib/cow/src/cow_pn_gsdml.h
+5
-0
No files found.
profibus/lib/cow/src/cow_pn_gsdml.cpp
View file @
0fe77e06
...
...
@@ -231,6 +231,8 @@ static gsdml_sAttribute attrlist[] = {
{
"PowerOnToCommReady"
,
gsdml_eTag_DeviceAccessPointItem
,
gsdml_eTag_
,
gsdml_eType_Unsigned32
,
sizeof
(
gsdml_tUnsigned32
),
offsetof
(
gsdml_sDeviceAccessPointItem
,
PowerOnToCommReady
),
0
,
"0"
},
{
"ParameterizationSpeedupSupported"
,
gsdml_eTag_DeviceAccessPointItem
,
gsdml_eTag_
,
gsdml_eType_Boolean
,
sizeof
(
gsdml_tBoolean
),
offsetof
(
gsdml_sDeviceAccessPointItem
,
ParameterizationSpeedSupported
),
0
,
"false"
},
{
"NameOfStationNotTransferable"
,
gsdml_eTag_DeviceAccessPointItem
,
gsdml_eTag_
,
gsdml_eType_Boolean
,
sizeof
(
gsdml_tBoolean
),
offsetof
(
gsdml_sDeviceAccessPointItem
,
NameOfStationNotTransferable
),
0
,
"false"
},
{
"DeviceAccessSupported"
,
gsdml_eTag_DeviceAccessPointItem
,
gsdml_eTag_
,
gsdml_eType_Boolean
,
sizeof
(
gsdml_tBoolean
),
offsetof
(
gsdml_sDeviceAccessPointItem
,
DeviceAccessSupported
),
0
,
"false"
},
{
"SharedDeviceSupported"
,
gsdml_eTag_DeviceAccessPointItem
,
gsdml_eTag_
,
gsdml_eType_Boolean
,
sizeof
(
gsdml_tBoolean
),
offsetof
(
gsdml_sDeviceAccessPointItem
,
SharedDeviceSupported
),
0
,
"false"
},
//
// ModuleInfo
//
...
...
@@ -426,6 +428,7 @@ static gsdml_sAttribute attrlist[] = {
//
// InterfaceSubmoduleItem
//
{
"ID"
,
gsdml_eTag_InterfaceSubmoduleItem
,
gsdml_eTag_
,
gsdml_eType_Id
,
sizeof
(
gsdml_tId
),
offsetof
(
gsdml_sInterfaceSubmoduleItem
,
ID
),
0
,
""
},
{
"SubslotNumber"
,
gsdml_eTag_InterfaceSubmoduleItem
,
gsdml_eTag_
,
gsdml_eType_Unsigned16
,
sizeof
(
gsdml_tUnsigned16
),
offsetof
(
gsdml_sInterfaceSubmoduleItem
,
SubslotNumber
),
0
,
"32768"
},
{
"TextId"
,
gsdml_eTag_InterfaceSubmoduleItem
,
gsdml_eTag_
,
gsdml_eType_RefId
,
sizeof
(
gsdml_tRefId
),
offsetof
(
gsdml_sInterfaceSubmoduleItem
,
TextId
),
0
,
""
},
{
"SupportedRT_Class"
,
gsdml_eTag_InterfaceSubmoduleItem
,
gsdml_eTag_
,
gsdml_eType_Enum
,
sizeof
(
gsdml_tEnum
),
offsetof
(
gsdml_sInterfaceSubmoduleItem
,
SupportedRT_Class
),
0
,
"Class1"
},
...
...
@@ -462,6 +465,7 @@ static gsdml_sAttribute attrlist[] = {
{
"NumberOfAdditionalOutputCR"
,
gsdml_eTag_ApplicationRelations
,
gsdml_eTag_InterfaceSubmoduleItem
,
gsdml_eType_Unsigned16
,
sizeof
(
gsdml_tUnsigned16
),
offsetof
(
gsdml_sInterfaceSubmoduleItem_ApplicationRelations
,
NumberOfAdditionalOutputCR
),
0
,
"0"
},
{
"NumberOfAdditionalMulticastProviderCR"
,
gsdml_eTag_ApplicationRelations
,
gsdml_eTag_InterfaceSubmoduleItem
,
gsdml_eType_Unsigned16
,
sizeof
(
gsdml_tUnsigned16
),
offsetof
(
gsdml_sInterfaceSubmoduleItem_ApplicationRelations
,
NumberOfAdditionalMulticastProviderCR
),
0
,
"0"
},
{
"NumberOfMulticastConsumerCR"
,
gsdml_eTag_ApplicationRelations
,
gsdml_eTag_InterfaceSubmoduleItem
,
gsdml_eType_Unsigned16
,
sizeof
(
gsdml_tUnsigned16
),
offsetof
(
gsdml_sInterfaceSubmoduleItem_ApplicationRelations
,
NumberOfMulticastConsumerCR
),
0
,
"0"
},
{
"NumberOfAR"
,
gsdml_eTag_ApplicationRelations
,
gsdml_eTag_InterfaceSubmoduleItem
,
gsdml_eType_Unsigned16
,
sizeof
(
gsdml_tUnsigned16
),
offsetof
(
gsdml_sInterfaceSubmoduleItem_ApplicationRelations
,
NumberOfAR
),
0
,
"1"
},
{
"PullModuleAlarmSupported"
,
gsdml_eTag_ApplicationRelations
,
gsdml_eTag_InterfaceSubmoduleItem
,
gsdml_eType_Boolean
,
sizeof
(
gsdml_tBoolean
),
offsetof
(
gsdml_sInterfaceSubmoduleItem_ApplicationRelations
,
PullModuleAlarmSupported
),
0
,
"false"
},
// These should not exist in InterfaceSubmodulItem ...
{
"AR_BlockVersion"
,
gsdml_eTag_ApplicationRelations
,
gsdml_eTag_InterfaceSubmoduleItem
,
gsdml_eType_Unsigned16
,
0
,
0
,
1
,
""
},
...
...
@@ -490,6 +494,7 @@ static gsdml_sAttribute attrlist[] = {
//
// PortSubmoduleItem
//
{
"ID"
,
gsdml_eTag_PortSubmoduleItem
,
gsdml_eTag_
,
gsdml_eType_Id
,
sizeof
(
gsdml_tId
),
offsetof
(
gsdml_sPortSubmoduleItem
,
ID
),
0
,
""
},
{
"SubslotNumber"
,
gsdml_eTag_PortSubmoduleItem
,
gsdml_eTag_
,
gsdml_eType_Unsigned16
,
sizeof
(
gsdml_tUnsigned16
),
offsetof
(
gsdml_sPortSubmoduleItem
,
SubslotNumber
),
0
,
""
},
{
"TextId"
,
gsdml_eTag_PortSubmoduleItem
,
gsdml_eTag_
,
gsdml_eType_RefId
,
sizeof
(
gsdml_tRefId
),
offsetof
(
gsdml_sPortSubmoduleItem
,
TextId
),
0
,
""
},
{
"MAUType"
,
gsdml_eTag_PortSubmoduleItem
,
gsdml_eTag_
,
gsdml_eType_Enum
,
sizeof
(
gsdml_tEnum
),
offsetof
(
gsdml_sPortSubmoduleItem
,
MAUType
),
0
,
"100BASETXFD"
},
...
...
profibus/lib/cow/src/cow_pn_gsdml.h
View file @
0fe77e06
...
...
@@ -850,6 +850,7 @@ typedef struct {
gsdml_tUnsigned16
NumberOfAdditionalOutputCR
;
gsdml_tUnsigned16
NumberOfAdditionalMulticastProviderCR
;
gsdml_tUnsigned16
NumberOfMulticastConsumerCR
;
gsdml_tUnsigned16
NumberOfAR
;
gsdml_tBoolean
PullModuleAlarmSupported
;
}
gsdml_sInterfaceSubmoduleItem_ApplicationRelations
;
...
...
@@ -880,6 +881,7 @@ class gsdml_MediaRedundancy {
};
typedef
struct
{
gsdml_tId
ID
;
gsdml_tUnsigned16
SubslotNumber
;
gsdml_tRefId
TextId
;
gsdml_tEnum
SupportedRT_Class
;
...
...
@@ -914,6 +916,7 @@ class gsdml_InterfaceSubmoduleItem {
};
typedef
struct
{
gsdml_tId
ID
;
gsdml_tUnsigned16
SubslotNumber
;
gsdml_tRefId
TextId
;
gsdml_tEnum
MAUType
;
...
...
@@ -1066,6 +1069,8 @@ typedef struct {
gsdml_tUnsigned32
PowerOnToCommReady
;
gsdml_tBoolean
ParameterizationSpeedSupported
;
gsdml_tBoolean
NameOfStationNotTransferable
;
gsdml_tBoolean
DeviceAccessSupported
;
gsdml_tBoolean
SharedDeviceSupported
;
}
gsdml_sDeviceAccessPointItem
;
class
gsdml_DeviceAccessPointItem
{
...
...
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