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
7456d7d0
Commit
7456d7d0
authored
Dec 05, 2011
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Softing profiboard, MaxSlaveDiagLen added
parent
0660f0fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
profibus/lib/rt/src/os_linux/rt_io_m_pb_profiboard.c
profibus/lib/rt/src/os_linux/rt_io_m_pb_profiboard.c
+3
-1
profibus/wbl/mcomp/src/profibus.wb_load
profibus/wbl/mcomp/src/profibus.wb_load
+12
-2
No files found.
profibus/lib/rt/src/os_linux/rt_io_m_pb_profiboard.c
View file @
7456d7d0
...
...
@@ -167,7 +167,9 @@ static short fmb_set_configuration(T_PROFI_DEVICE_HANDLE *hDevice,
data
.
dp
.
max_slave_output_len
=
op
->
MaxSlaveOutputLen
;
data
.
dp
.
max_slave_input_len
=
op
->
MaxSlaveInputLen
;
data
.
dp
.
max_slave_diag_entries
=
op
->
MaxNumberSlaves
*
4
;
data
.
dp
.
max_slave_diag_len
=
60
;
data
.
dp
.
max_slave_diag_len
=
op
->
MaxSlaveDiagLen
;
if
(
data
.
dp
.
max_slave_diag_len
==
0
)
data
.
dp
.
max_slave_diag_len
=
60
;
data
.
dp
.
max_bus_para_len
=
1024
;
data
.
dp
.
max_slave_para_len
=
1024
;
...
...
profibus/wbl/mcomp/src/profibus.wb_load
View file @
7456d7d0
...
...
@@ -1888,7 +1888,7 @@ Volume Profibus $ClassVolume 0.0.250.7
Object RtBody $ObjBodyDef 1 16-JAN-2006 09:46:40.51
Body SysBody 16-JAN-2006 09:46:40.51
Attr StructName = "Pb_Profiboard"
Attr NextAix = "_X2
7
"
Attr NextAix = "_X2
8
"
EndBody
!/**
! Text description of the object (comment).
...
...
@@ -1993,6 +1993,15 @@ Volume Profibus $ClassVolume 0.0.250.7
EndBody
EndObject
!/**
! Maximum length for slave diagnostic.
!*/
Object MaxSlaveDiagLen $Attribute 27 05-DEC-2011 14:15:03.22
Body SysBody 05-DEC-2011 14:15:04.84
Attr PgmName = "MaxSlaveDiagLen"
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndObject
!/**
! Baud rate for the bus in Kbit/s. Possible values are 500, 1500, 3000, 6000, 12000.
! Note that the values for some of the following attributes are depending on the
! baud rate. For further information about these bus parameters, please refer to the
...
...
@@ -2199,12 +2208,13 @@ Volume Profibus $ClassVolume 0.0.250.7
EndObject
EndObject
Object Template Pb_Profiboard 2151120896 16-JAN-2006 09:59:41.00
Body RtBody 0
1-JAN-1970 01:00:00.00
Body RtBody 0
5-DEC-2011 14:15:48.65
Attr Process = 1
Attr BusNumber = 1
Attr MaxNumberSlaves = 48
Attr MaxSlaveOutputLen = 128
Attr MaxSlaveInputLen = 128
Attr MaxSlaveDiagLen = 60
Attr BaudRate = 12000
Attr StallTime = 3000
Attr Tsl = 1000
...
...
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