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
7dd8cd27
Commit
7dd8cd27
authored
Apr 22, 2015
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Profinet interface to Softing userspace stack
parent
a8ca8e8e
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
7435 additions
and
4159 deletions
+7435
-4159
profibus/exe/profinet_viewer/src/pn_viewer_pnac.cpp
profibus/exe/profinet_viewer/src/pn_viewer_pnac.cpp
+1
-1
profibus/lib/pnak_dummy/src/os_linux/pnak_dummy_functions.c
profibus/lib/pnak_dummy/src/os_linux/pnak_dummy_functions.c
+3
-3
profibus/lib/rt/src/os_linux/rt_io_m_pncontrollersoftingpnak.cpp
...s/lib/rt/src/os_linux/rt_io_m_pncontrollersoftingpnak.cpp
+41
-295
profibus/lib/rt/src/os_linux/rt_io_pnak_locals.h
profibus/lib/rt/src/os_linux/rt_io_pnak_locals.h
+3
-0
profibus/lib/rt/src/os_linux/rt_pn_iface.cpp
profibus/lib/rt/src/os_linux/rt_pn_iface.cpp
+308
-1
profibus/lib/rt/src/os_linux/rt_pnak.h
profibus/lib/rt/src/os_linux/rt_pnak.h
+1231
-604
profibus/lib/rt/src/os_linux/rt_profinet.h
profibus/lib/rt/src/os_linux/rt_profinet.h
+5846
-3253
src/tools/pwre/src/os_linux/pwre_configure.sh
src/tools/pwre/src/os_linux/pwre_configure.sh
+1
-1
wb/lib/wb/src/wb_lfu.cpp
wb/lib/wb/src/wb_lfu.cpp
+1
-1
No files found.
profibus/exe/profinet_viewer/src/pn_viewer_pnac.cpp
View file @
7dd8cd27
...
...
@@ -67,7 +67,7 @@ PnViewerPNAC::PnViewerPNAC( pwr_tStatus *sts, const char *dev_name)
local
=
new
io_sAgentLocal
;
pnak_init
();
*
sts
=
pnak_start_profistack
(
0
,
PNAK_
CONTROLLE
R_MODE
);
*
sts
=
pnak_start_profistack
(
0
,
PNAK_
SUPERVISO
R_MODE
);
if
(
*
sts
!=
PNAK_OK
)
{
printf
(
"Starting profistack returned with error code
\n
"
);
...
...
profibus/lib/pnak_dummy/src/os_linux/pnak_dummy_functions.c
View file @
7dd8cd27
/*
* Copyright (C) 20
10 SSAB Oxelsund
AB.
* Copyright (C) 20
05-2015 SSAB EMEA
AB.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
...
...
@@ -60,9 +60,9 @@ T_PNAK_RESULT pnak_get_alarm_ack_ind (unsigned short a1, T
/*--- Data interface functions ----------------------------------------------*/
T_PNAK_RESULT
pnak_set_iocr_data
(
unsigned
short
a1
,
unsigned
short
a2
,
const
unsigned
char
*
a3
,
unsigned
short
a4
)
{
return
PNAK_OK
;}
T_PNAK_RESULT
pnak_set_iocr_data
(
unsigned
short
a1
,
unsigned
short
a2
,
const
unsigned
char
*
a3
,
unsigned
short
a4
,
unsigned
char
a5
)
{
return
PNAK_OK
;}
T_PNAK_RESULT
pnak_get_iocr_data
(
unsigned
short
a1
,
unsigned
short
a2
,
unsigned
char
*
a3
,
unsigned
short
*
a4
,
unsigned
char
*
a5
)
{
return
PNAK_OK
;}
T_PNAK_RESULT
pnak_get_iocr_data
(
unsigned
short
a1
,
unsigned
short
a2
,
unsigned
char
*
a3
,
unsigned
short
*
a4
,
unsigned
char
*
a5
,
unsigned
char
*
a6
)
{
return
PNAK_OK
;}
T_PNAK_RESULT
pnak_get_consumer_data_changed_ind
(
unsigned
short
a1
,
T_PNAK_DATA_CONSUMER_DATA_CHANGED
*
a2
)
{
return
PNAK_OK
;}
T_PNAK_RESULT
pnak_get_provider_data_updated
(
unsigned
short
a1
,
T_PNAK_DATA_PROVIDER_DATA_UPDATED
*
a2
)
{
return
PNAK_OK
;}
...
...
profibus/lib/rt/src/os_linux/rt_io_m_pncontrollersoftingpnak.cpp
View file @
7dd8cd27
This diff is collapsed.
Click to expand it.
profibus/lib/rt/src/os_linux/rt_io_pnak_locals.h
View file @
7dd8cd27
...
...
@@ -191,6 +191,9 @@ class io_sAgentLocal {
pthread_t
handle_events
;
agent_args
args
;
pthread_mutex_t
mutex
;
pthread_cond_t
cond
;
};
...
...
profibus/lib/rt/src/os_linux/rt_pn_iface.cpp
View file @
7dd8cd27
This diff is collapsed.
Click to expand it.
profibus/lib/rt/src/os_linux/rt_pnak.h
View file @
7dd8cd27
This diff is collapsed.
Click to expand it.
profibus/lib/rt/src/os_linux/rt_profinet.h
View file @
7dd8cd27
This diff is collapsed.
Click to expand it.
src/tools/pwre/src/os_linux/pwre_configure.sh
View file @
7dd8cd27
...
...
@@ -462,7 +462,7 @@ else
pwre_config_check_lib libhdf5 LIBHDF5 lib lib 0
"/usr/lib/libhdf5.so:/usr/lib/
$hwpl
-linux-
$gnu
/libhdf5.so"
pwre_config_check_lib mq MQ lib mq 1
"/usr/lib/libdmq.so:/usr/local/dmq/lib/libdmq.so"
pwre_config_check_lib wmq WMQ lib wmq 1
"/usr/lib/libmqic.so"
pwre_config_check_lib libp
nioif PNAK lib pnak 1
"/usr/lib/libpnioif.a:/usr/local/lib/libpnioif
.a"
pwre_config_check_lib libp
rofinet PNAK lib pnak 1
"/usr/lib/libprofinet
.a"
pwre_config_check_lib libusb LIBUSB lib libusb 1
"/usr/lib/libusb-1.0.so:/usr/lib/
$hwpl
-linux-
$gnu
/libusb-1.0.so"
pwre_config_check_lib powerlink POWERLINK lib powerlink 1
"
$epl
/build/Examples/X86/Generic/powerlink_user_lib/libpowerlink.a"
pwre_config_check_lib powerlinkcn POWERLINKCN lib powerlinkcn 1
"
$epl
/buildcn/Examples/X86/Generic/powerlink_user_lib/libpowerlink.a"
...
...
wb/lib/wb/src/wb_lfu.cpp
View file @
7dd8cd27
...
...
@@ -2146,7 +2146,7 @@ pwr_tStatus lfu_SaveDirectoryVolume(
sprintf
(
&
str
[
strlen
(
str
)],
"-lpwr_rt "
);
if
(
bop
->
SystemModules
&
pwr_mBuildOptionsMask_SoftingPNAK
)
sprintf
(
&
str
[
strlen
(
str
)],
"-lp
nioif
"
);
sprintf
(
&
str
[
strlen
(
str
)],
"-lp
rofinet
"
);
else
sprintf
(
&
str
[
strlen
(
str
)],
"-lpwr_pnak_dummy "
);
...
...
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