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
962afb16
Commit
962afb16
authored
May 31, 2011
by
Claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cifx dummy archive added
parent
e7083f64
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
533 additions
and
103 deletions
+533
-103
otherio/lib/cifx_dummy/src/cifx_dummy_functions.c
otherio/lib/cifx_dummy/src/cifx_dummy_functions.c
+42
-0
otherio/lib/cifx_dummy/src/os_templ/hw_templ/makefile
otherio/lib/cifx_dummy/src/os_templ/hw_templ/makefile
+15
-0
otherio/lib/rt/src/os_linux/rt_io_m_hilscher_cifx_pncontroller.cpp
...ib/rt/src/os_linux/rt_io_m_hilscher_cifx_pncontroller.cpp
+152
-101
otherio/wbl/mcomp/src/otherio.wb_load
otherio/wbl/mcomp/src/otherio.wb_load
+314
-0
profibus/lib/rt/src/os_linux/rt_io_pn_locals.h
profibus/lib/rt/src/os_linux/rt_io_pn_locals.h
+3
-2
profibus/wbl/mcomp/src/profibus.wb_load
profibus/wbl/mcomp/src/profibus.wb_load
+7
-0
No files found.
otherio/lib/cifx_dummy/src/cifx_dummy_functions.c
0 → 100644
View file @
962afb16
/*
Dummy for libcifx.a
*/
#include <stdint.h>
typedef
void
*
CIFXHANDLE
;
typedef
struct
{
char
p
[
10
];
}
CIFX_PACKET
;
struct
CIFX_LINUX_INIT
{
char
p
[
10
];
};
int32_t
cifXDriverInit
(
const
struct
CIFX_LINUX_INIT
*
init_params
)
{
return
-
1
;}
int32_t
xSysdeviceOpen
(
CIFXHANDLE
hDriver
,
char
*
szBoard
,
CIFXHANDLE
*
phSysdevice
)
{
return
-
1
;}
int32_t
xSysdeviceInfo
(
CIFXHANDLE
hSysdevice
,
uint32_t
ulCmd
,
uint32_t
ulSize
,
void
*
pvInfo
)
{
return
-
1
;}
int32_t
xChannelCommonStatusBlock
(
CIFXHANDLE
hChannel
,
uint32_t
ulCmd
,
uint32_t
ulOffset
,
uint32_t
ulDataLen
,
void
*
pvData
)
{
return
-
1
;}
int32_t
xChannelHostState
(
CIFXHANDLE
hChannel
,
uint32_t
ulCmd
,
uint32_t
*
pulState
,
uint32_t
ulTimeout
)
{
return
-
1
;}
int32_t
xChannelBusState
(
CIFXHANDLE
hChannel
,
uint32_t
ulCmd
,
uint32_t
*
pulState
,
uint32_t
ulTimeout
)
{
return
-
1
;}
int32_t
xDriverOpen
(
CIFXHANDLE
*
phDriver
)
{
return
-
1
;}
int32_t
xChannelOpen
(
CIFXHANDLE
hDriver
,
char
*
szBoard
,
uint32_t
ulChannel
,
CIFXHANDLE
*
phChannel
)
{
return
-
1
;
}
int32_t
xChannelReset
(
CIFXHANDLE
hChannel
,
uint32_t
ulResetMode
,
uint32_t
ulTimeout
)
{
return
-
1
;
}
int32_t
xDriverEnumBoards
(
CIFXHANDLE
hDriver
,
uint32_t
ulBoard
,
uint32_t
ulSize
,
void
*
pvBoardInfo
)
{
return
-
1
;}
int32_t
xDriverEnumChannels
(
CIFXHANDLE
hDriver
,
uint32_t
ulBoard
,
uint32_t
ulChannel
,
uint32_t
ulSize
,
void
*
pvChannelInfo
)
{
return
-
1
;
}
int32_t
xChannelPutPacket
(
CIFXHANDLE
hChannel
,
CIFX_PACKET
*
ptSendPkt
,
uint32_t
ulTimeout
)
{
return
-
1
;}
int32_t
xChannelGetPacket
(
CIFXHANDLE
hChannel
,
uint32_t
ulSize
,
CIFX_PACKET
*
ptRecvPkt
,
uint32_t
ulTimeout
)
{
return
-
1
;
}
int32_t
xChannelIORead
(
CIFXHANDLE
hChannel
,
uint32_t
ulAreaNumber
,
uint32_t
ulOffset
,
uint32_t
ulDataLen
,
void
*
pvData
,
uint32_t
ulTimeout
)
{
return
-
1
;}
int32_t
xDriverGetErrorDescription
(
int32_t
lError
,
char
*
szBuffer
,
uint32_t
ulBufferLen
)
{
return
-
1
;}
int32_t
xChannelIOWrite
(
CIFXHANDLE
hChannel
,
uint32_t
ulAreaNumber
,
uint32_t
ulOffset
,
uint32_t
ulDataLen
,
void
*
pvData
,
uint32_t
ulTimeout
)
{
return
-
1
;}
int32_t
xDriverClose
(
CIFXHANDLE
hDriver
)
{
return
-
1
;}
otherio/lib/cifx_dummy/src/os_templ/hw_templ/makefile
0 → 100644
View file @
962afb16
include
$(pwre_dir_symbols)
-include
$(pwre_kroot)/tools/bld/src/$(os_name)/$(hw_name)/$(type_name)_generic.mk
ifeq
($($(type_name)_generic_mk),)
-include
$(pwre_kroot)/tools/bld/src/$(os_name)/$(type_name)_generic.mk
endif
ifeq
($($(type_name)_generic_mk),)
include
$(pwre_kroot)/tools/bld/src/$(type_name)_generic.mk
endif
-include
../../special.mk
-include
../special.mk
-include
special.mk
otherio/lib/rt/src/os_linux/rt_io_m_hilscher_cifx_pncontroller.cpp
View file @
962afb16
This diff is collapsed.
Click to expand it.
otherio/wbl/mcomp/src/otherio.wb_load
View file @
962afb16
This diff is collapsed.
Click to expand it.
profibus/lib/rt/src/os_linux/rt_io_pn_locals.h
View file @
962afb16
...
...
@@ -27,6 +27,7 @@ typedef struct _io_sPnRackLocal {
unsigned
short
bytes_of_output
;
unsigned
char
*
inputs
;
unsigned
char
*
outputs
;
void
*
userdata
;
}
io_sPnRackLocal
;
typedef
struct
_io_sPnCardLocal
{
...
...
profibus/wbl/mcomp/src/profibus.wb_load
View file @
962afb16
...
...
@@ -2808,6 +2808,9 @@ Volume Profibus $ClassVolume 0.0.250.7
! @Group IO
! @Summary Defines that a Profinet controller stack is installed.
! Configures a Profinet controller stack.
!
! @b See also
! @classlink PnDevice profibus_pndevice.html
!*/
Object PnControllerSoftingPNAK $ClassDef 15 21-APR-2009 13:41:08.17
Body SysBody 21-APR-2009 13:41:08.17
...
...
@@ -2912,6 +2915,10 @@ Volume Profibus $ClassVolume 0.0.250.7
! @Group IO
! @Summary Configures one Profinet device.
! Configures one Profinet device.
!
! @b See also
! @classlink PnControllerSoftingPNAK profibus_pncontrollersoftingpnak.html
! @classlink Hilscher_cifX_PnController otherio_hilscher_cifx_pncontroller.html
!*/
Object PnDevice $ClassDef 16 21-APR-2009 13:41:08.17
Body SysBody 21-APR-2009 13:41:08.17
...
...
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