Commit a5aba434 authored by Claes Sjofors's avatar Claes Sjofors

UDP IO implemented

parent 44c43e96
This diff is collapsed.
......@@ -15,4 +15,5 @@ Velleman_K8055_Board
Hilscher_cifX_Master
Hilscher_cifX_Module
USB_Joystick
UDP_IO
#endif
\ No newline at end of file
Volume OtherIO $ClassVolume 0.0.250.10
Body SysBody 01-JAN-1970 01:00:00.00
Attr NextOix = "_X224"
Attr NextCix = "_X23"
Attr NextOix = "_X233"
Attr NextCix = "_X24"
Attr NextTix[0] = "_X10"
EndBody
Object Type $TypeHier 1 15-NOV-2007 14:35:37.90
......@@ -3262,13 +3262,13 @@ Volume OtherIO $ClassVolume 0.0.250.10
! are placed as children to the USB_Joystick object. The USB_Joystick
! can also work as a super class to joystick classes containg the channel
! objects as internal objects.
!
!
! The axes are configured by ChanAi or ChanIi objects, and the buttons by
! ChanDi objects. The Identity attribute in each channel should be set to
! the name of the corresponding axis or button.
!
!
! Use the program rt_joystick to examine the configuration of the joystick.
!
!
! The following identity names are supported:
! Axes: X, Y, Z, Rx, Ry, Rz, Throttle, Rudder, Wheel, Gas, Brake,
! Hat0X, Hat0Y, Hat1X, Hat1Y, Hat2X, Hat2Y, Hat3X, Hat3Y
......@@ -3279,7 +3279,7 @@ Volume OtherIO $ClassVolume 0.0.250.10
! BaseBtn6, BtnDead, BtnA, BtnB, BtnC, BtnX, BtnY, BtnZ, BtnTL,
! BtnTR, BtnTL2, BtnTR2, BtnSelect, BtnStart, BtnMode, BtnThumbL,
! BtnThumbR", WheelBtn, Gear up.
!
!
! @b See also
! @classlink BaseIORack basecomponent_baseiorack.html
!*/
......@@ -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
!
! 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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment