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
a5aba434
Commit
a5aba434
authored
May 18, 2011
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UDP IO implemented
parent
44c43e96
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
703 additions
and
6 deletions
+703
-6
otherio/lib/rt/src/os_linux/rt_io_m_udp_io.c
otherio/lib/rt/src/os_linux/rt_io_m_udp_io.c
+432
-0
otherio/lib/rt/src/rt_io_otherio.meth
otherio/lib/rt/src/rt_io_otherio.meth
+1
-0
otherio/wbl/mcomp/src/otherio.wb_load
otherio/wbl/mcomp/src/otherio.wb_load
+209
-6
src/wbl/pwrb/src/pwrb_td_updownenum.wb_load
src/wbl/pwrb/src/pwrb_td_updownenum.wb_load
+61
-0
No files found.
otherio/lib/rt/src/os_linux/rt_io_m_udp_io.c
0 → 100644
View file @
a5aba434
This diff is collapsed.
Click to expand it.
otherio/lib/rt/src/rt_io_otherio.meth
View file @
a5aba434
...
...
@@ -15,4 +15,5 @@ Velleman_K8055_Board
Hilscher_cifX_Master
Hilscher_cifX_Module
USB_Joystick
UDP_IO
#endif
\ No newline at end of file
otherio/wbl/mcomp/src/otherio.wb_load
View file @
a5aba434
Volume OtherIO $ClassVolume 0.0.250.10
Body SysBody 01-JAN-1970 01:00:00.00
Attr NextOix = "_X2
24
"
Attr NextCix = "_X2
3
"
Attr NextOix = "_X2
33
"
Attr NextCix = "_X2
4
"
Attr NextTix[0] = "_X10"
EndBody
Object Type $TypeHier 1 15-NOV-2007 14:35:37.90
...
...
@@ -3658,5 +3658,208 @@ Volume OtherIO $ClassVolume 0.0.250.10
EndBody
EndObject
EndObject
Object UDP_IO $ClassDef 23 18-MAY-2011 07:45:49.88
Body SysBody 18-MAY-2011 07:45:57.07
Attr Editor = 0
Attr Method = 0
Attr Flags = 51280
EndBody
Object RtBody $ObjBodyDef 1 18-MAY-2011 08:04:16.85
Body SysBody 18-MAY-2011 07:46:04.28
Attr StructName = "UDP_IO"
Attr NextAix = "_X24"
EndBody
Object Description $Attribute 1 18-MAY-2011 07:46:23.42
Body SysBody 18-MAY-2011 07:46:34.66
Attr PgmName = "Description"
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
Object Process $Attribute 18 18-MAY-2011 08:11:20.37
Body SysBody 18-MAY-2011 08:11:20.37
Attr PgmName = "Process"
Attr TypeRef = "pwrb:Type-IoProcessMask"
EndBody
EndObject
Object ThreadObject $Attribute 19 18-MAY-2011 08:11:20.45
Body SysBody 18-MAY-2011 08:11:20.45
Attr PgmName = "ThreadObject"
Attr TypeRef = "pwrs:Type-$Objid"
EndBody
EndObject
Object Device $Attribute 2 18-MAY-2011 07:46:57.02
Body SysBody 18-MAY-2011 07:47:17.37
Attr PgmName = "Device"
Attr TypeRef = "pwrs:Type-$String32"
EndBody
EndObject
Object RemoteHostName $Attribute 3 18-MAY-2011 07:47:46.07
Body SysBody 18-MAY-2011 07:48:06.35
Attr PgmName = "RemoteHostName"
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object RemoteAddress $Attribute 4 18-MAY-2011 07:48:27.99
Body SysBody 18-MAY-2011 07:48:40.22
Attr PgmName = "RemoteAddress"
Attr TypeRef = "pwrs:Type-$String40"
EndBody
EndObject
Object RemotePort $Attribute 5 18-MAY-2011 07:49:24.89
Body SysBody 18-MAY-2011 07:49:32.49
Attr PgmName = "RemotePort"
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
Object LocalPort $Attribute 6 18-MAY-2011 07:49:42.02
Body SysBody 18-MAY-2011 08:08:29.57
Attr PgmName = "LocalPort"
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
Object ByteOrdering $Attribute 20 18-MAY-2011 09:20:56.59
Body SysBody 18-MAY-2011 09:20:56.59
Attr PgmName = "ByteOrdering"
Attr TypeRef = "pwrb:Type-ByteOrderingEnum"
EndBody
EndObject
Object Link $Attribute 7 18-MAY-2011 07:56:48.39
Body SysBody 18-MAY-2011 08:30:57.24
Attr PgmName = "Link"
Attr Flags = 1024
Attr TypeRef = "pwrb:Type-UpDownEnum"
EndBody
EndObject
Object LinkTimeout $Attribute 16 18-MAY-2011 08:05:56.37
Body SysBody 18-MAY-2011 08:06:01.94
Attr PgmName = "LinkTimeout"
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
Object Status $Attribute 17 18-MAY-2011 08:07:25.83
Body SysBody 18-MAY-2011 08:31:10.19
Attr PgmName = "Status"
Attr Flags = 1024
Attr TypeRef = "pwrs:Type-$Status"
EndBody
EndObject
Object EnableHeader $Attribute 8 18-MAY-2011 07:57:46.56
Body SysBody 18-MAY-2011 07:57:52.66
Attr PgmName = "EnableHeader"
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
Object MessageId $Attribute 23 18-MAY-2011 13:18:27.54
Body SysBody 18-MAY-2011 13:20:04.49
Attr PgmName = "MessageId"
Attr Flags = 2
Attr Elements = 2
Attr TypeRef = "pwrs:Type-$UInt16"
EndBody
EndObject
Object UseKeepAlive $Attribute 9 18-MAY-2011 07:58:13.34
Body SysBody 18-MAY-2011 07:58:16.49
Attr PgmName = "UseKeepAlive"
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
Object KeepAliveTime $Attribute 10 18-MAY-2011 07:58:36.77
Body SysBody 18-MAY-2011 07:58:43.14
Attr PgmName = "KeepAliveTime"
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
Object KeepAliveDiff $Attribute 11 18-MAY-2011 07:59:05.34
Body SysBody 18-MAY-2011 08:31:23.43
Attr PgmName = "KeepAliveDiff"
Attr Flags = 1024
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object ErrorCount $Attribute 13 18-MAY-2011 08:04:23.30
Body SysBody 18-MAY-2011 08:31:32.05
Attr PgmName = "ErrorCount"
Attr Flags = 1024
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
Object ErrorSoftLimit $Attribute 14 18-MAY-2011 08:05:05.42
Body SysBody 18-MAY-2011 08:05:08.80
Attr PgmName = "ErrorSoftLimit"
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
Object ErrorHardLimit $Attribute 15 18-MAY-2011 08:05:13.78
Body SysBody 18-MAY-2011 08:05:16.85
Attr PgmName = "ErrorHardLimit"
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
Object InputAreaSize $Attribute 21 18-MAY-2011 09:21:36.79
Body SysBody 18-MAY-2011 09:22:16.57
Attr PgmName = "InputAreaSize"
Attr Flags = 1024
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
Object OutputAreaSize $Attribute 22 18-MAY-2011 09:21:59.29
Body SysBody 18-MAY-2011 09:22:22.58
Attr PgmName = "OutputAreaSize"
Attr Flags = 1024
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
EndObject
Object IoMethods $RtMethod 225 18-MAY-2011 08:11:44.90
Object IoCardInit $Method 226 18-MAY-2011 08:11:44.90
Body SysBody 18-MAY-2011 08:12:40.76
Attr MethodName = "UDP_IO-IoCardInit"
EndBody
EndObject
Object IoCardClose $Method 227 18-MAY-2011 08:11:44.90
Body SysBody 18-MAY-2011 08:13:01.42
Attr MethodName = "UDP_IO-IoCardClose"
EndBody
EndObject
Object IoCardRead $Method 228 18-MAY-2011 08:11:44.90
Body SysBody 18-MAY-2011 08:13:09.78
Attr MethodName = "UDP_IO-IoCardRead"
EndBody
EndObject
Object IoCardWrite $Method 233 18-MAY-2011 08:12:06.25
Body SysBody 18-MAY-2011 08:12:27.21
Attr MethodName = "UDP_IO-IoCardWrite"
EndBody
EndObject
EndObject
Object ConfiguratorPoson $Menu 229 18-MAY-2011 08:11:44.90
Object Pointed $Menu 230 18-MAY-2011 08:11:44.90
Object Connect $MenuButton 231 18-MAY-2011 08:11:44.90
Body SysBody 18-MAY-2011 08:11:44.90
Attr ButtonName = "Connect PlcThread"
Attr MethodName = "$Objid-Connect"
Attr MethodArguments[0] = "ThreadObject"
Attr MethodArguments[1] = "PlcThread"
Attr FilterName = "$Objid-IsOkConnect"
Attr FilterArguments[0] = "ThreadObject"
Attr FilterArguments[1] = "PlcThread"
EndBody
EndObject
EndObject
EndObject
Object PostCreate $DbCallBack 232 18-MAY-2011 08:11:44.90
Body SysBody 18-MAY-2011 08:11:44.90
Attr MethodName = "BaseIOCard-PostCreate"
EndBody
EndObject
Object Template UDP_IO 2153742336 01-JAN-1970 01:00:00.00
Body RtBody 18-MAY-2011 08:34:31.13
Attr Process = 1
Attr Device = "eth0"
Attr LinkTimeout = 3.000000e+00
Attr KeepAliveTime = 1.000000e+00
EndBody
EndObject
EndObject
EndObject
EndVolume
src/wbl/pwrb/src/pwrb_td_updownenum.wb_load
0 → 100644
View file @
a5aba434
!
! Proview $Id$
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! pwrb_td_updownenum.wb_load -- Defines the enum type UpDown
!
SObject pwrb:Type
!/**
! @Version 1.0
! @Group Types
! Enumeration for up/down.
!*/
Object UpDownEnum $TypeDef 56
Body SysBody
Attr TypeRef = "pwrs:Type-$Enum"
Attr PgmName = "UpDownEnum"
EndBody
!/**
! Down.
!*/
Object Down $Value
Body SysBody
Attr PgmName = "Down"
Attr Text = "Down"
Attr Value = 0
EndBody
EndObject
!/**
! Up.
!*/
Object Up $Value
Body SysBody
Attr PgmName = "Up"
Attr Text = "Up"
Attr Value = 1
EndBody
EndObject
EndObject
EndSObject
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