diff --git a/Modbus/ClientUDP.can b/Modbus/ClientUDP.can
deleted file mode 100644
index 23ee950..0000000
--- a/Modbus/ClientUDP.can
+++ /dev/null
@@ -1,128 +0,0 @@
-/*@!Encoding:1252*/
-
-includes
-{
- #include "ModbusUdpClientCommon.cin"
-}
-
-variables
-{
- msTimer muster;
- byte gX[2] = {1, 0};
-}
-
-// Get information of local network interface such like ip address
-
-on preStart
-{
- writeClear(0);
- setStartdelay(1000);
-}
-
-on start
-{
- long fehler;
-
- ModbusInit("192.168.1.3", 502);
-}
-
-on key 'r'
-{
- ModbusReadBits(0, 512);
-}
-
-on key 'a'
-{
- byte x[16] = {1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0};
- ModbusWriteBitsB(0, 16, x);
-}
-
-on key 's'
-{
- byte x[16] = {0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1};
- ModbusWriteBitsB(0, 16, x);
-}
-
-on key 'Y'
-{
- ModbusWriteBit(0, 0);
-}
-on key 'y'
-{
- ModbusWriteBit(0, 1);
-}
-
-on key 'X'
-{
- ModbusWriteBit(1, 0);
-}
-on key 'x'
-{
- ModbusWriteBit(1, 1);
-}
-
-on key 'C'
-{
- ModbusWriteBit(2, 0);
-}
-on key 'c'
-{
- ModbusWriteBit(2, 1);
-}
-
-on key 'V'
-{
- ModbusWriteBit(3, 0);
-}
-on key 'v'
-{
- ModbusWriteBit(3, 1);
-}
-
-on key '+'
-{
- byte x[2] = {0xFF, 0xFF};
- ModbusWriteBits(0, 16, x);
-}
-on key '-'
-{
- byte x[2] = {0x00, 0x00};
- ModbusWriteBits(0, 16, x);
-}
-
-on key 't'
-{
- setTimerCyclic(muster, 100);
-}
-on key 'T'
-{
- cancelTimer(muster);
-}
-
-on timer muster
-{
- /*if (gX[0] != 0)
- {
- if (gX[0] == 0x80)
- {
- gX[0] = 0x00;
- gX[1] = 0x01;
- }
- else
- gX[0] <<= 1;
- }
- else
- {
- if (gX[1] == 0x80)
- {
- gX[0] = 0x01;
- gX[1] = 0x00;
- }
- else
- gX[1] <<= 1;
- }
- ModbusWriteBits(0, 16, gX);*/
- ModbusReadBits(0, 512);
-}
-
-/**/
diff --git a/Modbus/Common.cin b/Modbus/Common.cin
index 3329959..1edac38 100644
--- a/Modbus/Common.cin
+++ b/Modbus/Common.cin
@@ -17,7 +17,7 @@ void bin_to_strhex(byte bin[], char result[])
result[i * 3 + 2] = ' ';
}
- if (elCount(bin) > 20)
+ if (elCount(bin) > 20) // trailing "..."
{
result[56] = '.';
result[57] = '.';
diff --git a/Modbus/ClientTCP.can b/Modbus/ModbusClientTCP.can
similarity index 50%
rename from Modbus/ClientTCP.can
rename to Modbus/ModbusClientTCP.can
index 8b4db34..2dd44f2 100644
--- a/Modbus/ClientTCP.can
+++ b/Modbus/ModbusClientTCP.can
@@ -26,6 +26,48 @@ on start
ModbusInit("192.168.1.3", 502);
}
+
+// Modbus events ----------------------------------------------------------------------
+void OnModbusReadBitsFailed(enum ModbusRequestError error, enum ModbusException ex, struct ModbusApHeader mbap)
+{
+}
+void OnModbusReadRegistersFailed(enum ModbusRequestError error, enum ModbusException ex, struct ModbusApHeader mbap)
+{
+}
+void OnModbusWriteBitFailed(enum ModbusRequestError error, enum ModbusException ex, struct ModbusApHeader mbap)
+{
+}
+void OnModbusWriteRegisterFailed(enum ModbusRequestError error, enum ModbusException ex, struct ModbusApHeader mbap)
+{
+}
+void OnModbusWriteBitsFailed(enum ModbusRequestError error, enum ModbusException ex, struct ModbusApHeader mbap)
+{
+}
+void OnModbusWriteRegistersFailed(enum ModbusRequestError error, enum ModbusException ex, struct ModbusApHeader mbap)
+{
+}
+
+void OnModbusReadBitsSuccess(byte result[])
+{
+}
+void OnModbusReadRegistersSuccess(byte result[])
+{
+}
+void OnModbusWriteBitSuccess(byte result[])
+{
+}
+void OnModbusWriteRegisterSuccess(byte result[])
+{
+}
+void OnModbusWriteBitsSuccess(byte result[])
+{
+}
+void OnModbusWriteRegistersSuccess(byte result[])
+{
+}
+
+
+// Key events -------------------------------------------------------------------------
on key 'r'
{
ModbusReadBits(0, 512);
diff --git a/Modbus/ModbusClientUDP.can b/Modbus/ModbusClientUDP.can
new file mode 100644
index 0000000..60d6464
--- /dev/null
+++ b/Modbus/ModbusClientUDP.can
@@ -0,0 +1,170 @@
+/*@!Encoding:1252*/
+
+includes
+{
+ #include "ModbusUdpClientCommon.cin"
+}
+
+variables
+{
+ msTimer muster;
+ byte gX[2] = {1, 0};
+}
+
+// Get information of local network interface such like ip address
+
+on preStart
+{
+ writeClear(0);
+ setStartdelay(1000);
+}
+
+on start
+{
+ long fehler;
+
+ ModbusInit("192.168.1.3", 502);
+}
+
+
+// Modbus events ----------------------------------------------------------------------
+void OnModbusReadBitsFailed(enum ModbusRequestError error, enum ModbusException ex, struct ModbusApHeader mbap)
+{
+}
+void OnModbusReadRegistersFailed(enum ModbusRequestError error, enum ModbusException ex, struct ModbusApHeader mbap)
+{
+}
+void OnModbusWriteBitFailed(enum ModbusRequestError error, enum ModbusException ex, struct ModbusApHeader mbap)
+{
+}
+void OnModbusWriteRegisterFailed(enum ModbusRequestError error, enum ModbusException ex, struct ModbusApHeader mbap)
+{
+}
+void OnModbusWriteBitsFailed(enum ModbusRequestError error, enum ModbusException ex, struct ModbusApHeader mbap)
+{
+}
+void OnModbusWriteRegistersFailed(enum ModbusRequestError error, enum ModbusException ex, struct ModbusApHeader mbap)
+{
+}
+
+void OnModbusReadBitsSuccess(byte result[])
+{
+}
+void OnModbusReadRegistersSuccess(byte result[])
+{
+}
+void OnModbusWriteBitSuccess(byte result[])
+{
+}
+void OnModbusWriteRegisterSuccess(byte result[])
+{
+}
+void OnModbusWriteBitsSuccess(byte result[])
+{
+}
+void OnModbusWriteRegistersSuccess(byte result[])
+{
+}
+
+
+// Key events -------------------------------------------------------------------------
+on key 'r'
+{
+ ModbusReadBits(0, 512);
+}
+
+on key 'a'
+{
+ byte x[16] = {1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0};
+ ModbusWriteBitsB(0, 16, x);
+}
+
+on key 's'
+{
+ byte x[16] = {0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1};
+ ModbusWriteBitsB(0, 16, x);
+}
+
+on key 'Y'
+{
+ ModbusWriteBit(0, 0);
+}
+on key 'y'
+{
+ ModbusWriteBit(0, 1);
+}
+
+on key 'X'
+{
+ ModbusWriteBit(1, 0);
+}
+on key 'x'
+{
+ ModbusWriteBit(1, 1);
+}
+
+on key 'C'
+{
+ ModbusWriteBit(2, 0);
+}
+on key 'c'
+{
+ ModbusWriteBit(2, 1);
+}
+
+on key 'V'
+{
+ ModbusWriteBit(3, 0);
+}
+on key 'v'
+{
+ ModbusWriteBit(3, 1);
+}
+
+on key '+'
+{
+ byte x[2] = {0xFF, 0xFF};
+ ModbusWriteBits(0, 16, x);
+}
+on key '-'
+{
+ byte x[2] = {0x00, 0x00};
+ ModbusWriteBits(0, 16, x);
+}
+
+on key 't'
+{
+ setTimerCyclic(muster, 100);
+}
+on key 'T'
+{
+ cancelTimer(muster);
+}
+
+on timer muster
+{
+ if (gX[0] != 0)
+ {
+ if (gX[0] == 0x80)
+ {
+ gX[0] = 0x00;
+ gX[1] = 0x01;
+ }
+ else
+ gX[0] <<= 1;
+ }
+ else
+ {
+ if (gX[1] == 0x80)
+ {
+ gX[0] = 0x01;
+ gX[1] = 0x00;
+ }
+ else
+ gX[1] <<= 1;
+ }
+ ModbusWriteBits(0, 16, gX);
+ //ModbusReadBits(0, 512);
+}
+
+/**/
diff --git a/Modbus/ModbusTcpClientCommon.cin b/Modbus/ModbusTcpClientCommon.cin
index 7243ff9..365d483 100644
--- a/Modbus/ModbusTcpClientCommon.cin
+++ b/Modbus/ModbusTcpClientCommon.cin
@@ -13,7 +13,12 @@ void ModbusConnectTo(char Remote_IP[], word Remote_Port)
void ModbusSend(byte buffer[])
{
- TcpSnd(buffer);
+ TcpSnd(buffer, elCount(buffer));
+}
+
+void ModbusSend(byte buffer[], word length)
+{
+ TcpSnd(buffer, length);
}
void ModbusRecv()
@@ -21,31 +26,9 @@ void ModbusRecv()
TcpRecv();
}
-
void OnTcpReceive(dword socket, long result, dword address, dword port, byte buffer[], dword size)
{
- if (result == 0)
- {
- if (size == 0)
- {
- // Size of zero indicates that the socket was closed by the communication peer.
- writeLineEx(0, 2, "<%NODE_NAME%> OnTcpReceive: Socket closed by peer");
- gSocket.Close();
- gSocketState = CLOSED;
- }
- else
- {
- // Sucessfully received some bytes over the TCP/IP connection.
- OnModbusReceive(buffer, size);
- TcpRecv();
- }
- }
- else
- {
- gIpLastErr = gSocket.GetLastSocketError();
- gSocket.GetLastSocketErrorAsString(gIpLastErrStr, elcount(gIpLastErrStr));
- writeLineEx(0, 2, "<%NODE_NAME%> OnTcpReceive error (%d): %s", gIpLastErr, gIpLastErrStr);
- gSocket.Close();
- gSocketState = CLOSED;
- }
+ OnModbusReceive(socket, result, address, port, buffer, size);
+ if (result == 0 && size != 0)
+ TcpRecv();
}
\ No newline at end of file
diff --git a/Modbus/ModbusUdpClientCommon.cin b/Modbus/ModbusUdpClientCommon.cin
index 3a0a796..d7705d5 100644
--- a/Modbus/ModbusUdpClientCommon.cin
+++ b/Modbus/ModbusUdpClientCommon.cin
@@ -13,7 +13,12 @@ void ModbusConnectTo(char Remote_IP[], word Remote_Port)
void ModbusSend(byte buffer[])
{
- UdpSnd(buffer);
+ UdpSnd(buffer, elCount(buffer));
+}
+
+void ModbusSend(byte buffer[], word length)
+{
+ UdpSnd(buffer, length);
}
void ModbusRecv()
@@ -21,31 +26,9 @@ void ModbusRecv()
UdpRecv();
}
-
void OnUdpReceiveFrom(dword socket, long result, dword address, dword port, byte buffer[], dword size)
{
- if (result == 0)
- {
- if (size == 0)
- {
- // Size of zero indicates that the socket was closed by the communication peer.
- writeLineEx(0, 2, "<%BASE_FILE_NAME%> OnTcpReceive: Socket closed by peer");
- gSocket.Close();
- gSocketState = CLOSED;
- }
- else
- {
- // Sucessfully received some bytes over the TCP/IP connection.
- OnModbusReceive(buffer, size);
- UdpRecv();
- }
- }
- else
- {
- gIpLastErr = gSocket.GetLastSocketError();
- gSocket.GetLastSocketErrorAsString(gIpLastErrStr, elcount(gIpLastErrStr));
- writeLineEx(0, 2, "<%BASE_FILE_NAME%> OnTcpReceive error (%d): %s", gIpLastErr, gIpLastErrStr);
- gSocket.Close();
- gSocketState = CLOSED;
- }
+ OnModbusReceive(socket, result, address, port, buffer, size);
+ if (result == 0 && size != 0)
+ UdpRecv();
}
\ No newline at end of file
diff --git a/Modbus/TcpCommon.cin b/Modbus/TcpCommon.cin
index 0120cc5..1e85748 100644
--- a/Modbus/TcpCommon.cin
+++ b/Modbus/TcpCommon.cin
@@ -22,7 +22,6 @@ word TcpOpenSocket()
CHAR errorText[200];
localIp = SetupIp(Local_IP);
- localPort = random(65535-10240)+10240;
if (localIp == INVALID_IP)
return INVALID_IP;
@@ -30,6 +29,7 @@ word TcpOpenSocket()
// Try to open socket
do
{
+ localPort = random(65536-10240)+10240;
gSocket = TcpSocket::Open(localIp, localPort);
if (gSocket.GetLastSocketError() != 0)
{
@@ -149,7 +149,7 @@ void TcpRecv()
return;
}
-void TcpSnd(byte buffer[])
+void TcpSnd(byte buffer[], word length)
{
char str[20*3];
@@ -170,9 +170,9 @@ void TcpSnd(byte buffer[])
}
bin_to_strhex(buffer, str);
- writeLineEx(0, 1, "<%NODE_NAME%> TcpSnd: %s (Länge: %d)", str, elCount(buffer));
+ writeLineEx(0, 1, "<%NODE_NAME%> TcpSnd: %s (Länge: %d)", str, length);
- if (gSocket.Send(buffer, elCount(buffer)) != 0)
+ if (gSocket.Send(buffer, length) != 0)
{
gIpLastErr = gSocket.GetLastSocketError();
diff --git a/Modbus/TcpUdpCommon.cin b/Modbus/TcpUdpCommon.cin
index 04ffaa6..173c2b7 100644
--- a/Modbus/TcpUdpCommon.cin
+++ b/Modbus/TcpUdpCommon.cin
@@ -22,10 +22,11 @@ dword SetupIp(char Local_IP[])
int adapterIndex;
const int size = 512;
char text[size] = "";
- dword addresses[1];
+ dword addresses[8];
dword address;
word adapterCount;
word i;
+ long error;
adapterCount = IpGetAdapterCount();
adapterIndex = @sysvar::TCPIP::AdapterIndex;
@@ -57,9 +58,16 @@ dword SetupIp(char Local_IP[])
break;
}
- if (IpGetAdapterAddress(adapterIndex, addresses, 1) != 0)
+ error = IpGetAdapterAddress(adapterIndex, addresses, elCount(addresses));
+ if (error == 8)
{
- writeLineEx(0, 3, "<%NODE_NAME%> Error: Could not retrieve IP address!");
+ writeLineEx(0, 3, "<%NODE_NAME%> Error 8: Could not retrieve IP address from interface #%d: The address array was insufficient", adapterIndex);
+ stop();
+ return INVALID_IP;
+ }
+ else if (error == 87)
+ {
+ writeLineEx(0, 3, "<%NODE_NAME%> Error 87: Could not retrieve IP address from interface #%d: The specified interface index was invalid", adapterIndex);
stop();
return INVALID_IP;
}
diff --git a/Modbus/UdpCommon.cin b/Modbus/UdpCommon.cin
index d1c9664..ef261cb 100644
--- a/Modbus/UdpCommon.cin
+++ b/Modbus/UdpCommon.cin
@@ -22,7 +22,6 @@ word UdpOpenSocket()
CHAR errorText[200];
localIp = SetupIp(Local_IP);
- localPort = random(65535-10240)+10240;
if (localIp == INVALID_IP)
return INVALID_IP;
@@ -30,6 +29,7 @@ word UdpOpenSocket()
// Try to open socket
do
{
+ localPort = random(65536-10240)+10240;
gSocket = UdpSocket::Open(localIp, localPort);
if (gSocket.GetLastSocketError() != 0)
{
@@ -114,7 +114,7 @@ void UdpRecv()
return;
}
-void UdpSnd(byte buffer[])
+void UdpSnd(byte buffer[], word length)
{
char str[20*3];
@@ -135,9 +135,9 @@ void UdpSnd(byte buffer[])
}
bin_to_strhex(buffer, str);
- writeLineEx(0, 1, "<%BASE_FILE_NAME%> UdpSnd: %s (Länge: %d)", str, elCount(buffer));
+ writeLineEx(0, 1, "<%BASE_FILE_NAME%> UdpSnd: %s (Länge: %d)", str, length);
- if (gSocket.SendTo(gRemoteIP, gRemotePort, buffer, elCount(buffer)) != 0)
+ if (gSocket.SendTo(gRemoteIP, gRemotePort, buffer, length) != 0)
{
gIpLastErr = gSocket.GetLastSocketError();
diff --git a/Modbus/modbus.cfg b/Modbus/modbus.cfg
index 4e06ea3..a56433f 100644
--- a/Modbus/modbus.cfg
+++ b/Modbus/modbus.cfg
@@ -1,17 +1,17 @@
-;CANoe Version |4|7|1|42353 modbus
+;CANoe Version |4|7|1|42336 modbus
Version: 8.2.40 Build 40
32 PRO
10
-APPDIR Vector.CANoe.Debugger.DLL
-Vector.CANoe.Debugger, Version=8.2.40.0, Culture=neutral, PublicKeyToken=null
-Vector.CANoe.Debugger.DebuggerComponent
-1
-1.0.0
APPDIR Vector.CANoe.SignalGenerators.DLL
Vector.CANoe.SignalGenerators, Version=8.2.40.0, Culture=neutral, PublicKeyToken=null
Vector.CANoe.SignalGenerators.ComponentWrapper
-2
+1
1.0.1
+APPDIR Vector.CANoe.Debugger.DLL
+Vector.CANoe.Debugger, Version=8.2.40.0, Culture=neutral, PublicKeyToken=null
+Vector.CANoe.Debugger.DebuggerComponent
+2
+1.0.0
VGlobalConfiguration 1 Begin_Of_Object
17
VGlobalParameters 2 Begin_Of_Object
@@ -416,14 +416,17 @@ VCaplOptionsStreamer 3 Begin_Of_Object
End_Of_Object VCaplOptionsStreamer 3
VSVConfigurationStreamer 3 Begin_Of_Object
1
-701
+1394
-
+
+
+
+
2
@@ -692,11 +695,11 @@ Begin_Of_Multi_Line_String
Copyright (c) 2001-2006 Actipro Software LLC. All rights reserved.
http://www.ActiproSoftware.com/Products/DotNet/
--->
+ation="111, 442" FloatingSize="1192, 514" HasOptions="False" ImageIndex="-1" Text="Trace" TitleBarText="Trace">
+14911-9568-49CC-A9CE-3B0905658C4A}" Guid="db27ffca-d17e-40f0-a70b-be70fe5eb4ec" State="DockableInsideHost" DockedSize="381, 0" FloatingLocation="1151, 79" FloatingSize="300, 180">
End_Of_Serialized_Data 3
End_Of_Object VDesktop 3
VDesktop 3 Begin_Of_Object
@@ -1330,9 +1333,37 @@ Grafik-Fenster
237
0
0
+1
0
0
0
+-11
+0
+0
+0
+0
+0
+0
+0
+400
+0
+Tahoma
+0
+1
+0
+0
+0
+-11
+0
+0
+0
+34
+0
+0
+0
+400
+0
+Tahoma
0
1
1
@@ -1516,7 +1547,7 @@ End_Of_Serialized_Data 14
6
1
14
-ver=2: FT TF TF FF FT FT;F T GLLogger;F T TCPIP;T F _Statistics
+ver=2: FT TF TF FF FT FT;F T GLLogger;F T Modbus;F T TCPIP;T F _Statistics
End_Of_Serialized_Data 14
7
0
@@ -1542,10 +1573,7 @@ End_Of_Serialized_Data 14
16
0
17
-1
-14
-ver=2: FT
-End_Of_Serialized_Data 14
+0
18
0
19
@@ -4280,7 +4308,7 @@ END_OF_DOCK_INFO
0
0
1
-859 382
+1188 382
END_OF_DESKTOP_DATA
6
0 1 0 0 -1 -1 44 44 1544 1005
@@ -4331,11 +4359,11 @@ End_Of_Object VGrMnBox 3
VDOLocalInfoStruct 3 Begin_Of_Object
3
1
-94
+108
VDAOBus 4 Begin_Of_Object
1
1
-2
+3
VDAOGBFunctionBlock 5 Begin_Of_Object
1
37
@@ -4483,16 +4511,16 @@ VProgrammedNode 7 Begin_Of_Object
VConfigurationRoot 8 Begin_Of_Object
1
End_Of_Object VConfigurationRoot 8
- 1 "socket.can"
+ 1 "ClientUDP.can"
1
-J:\HsKA\NB7\Bachelorthesis\CANoe\Modbus\socket.cbf
-
+J:\HsKA\NB7\Bachelorthesis\CANoe\Modbus\ClientUDP.cbf
+<< default >>
5
-ECU 2
+ClientUDP
ECU 2
EOF_TITLE_INFO
-
+<< default >>
1
0
1
@@ -4521,7 +4549,7 @@ EOF_MBSSDATA
EOF_NLDATA
0
EOF_ASSEMBLYDATA
- 1 "socket.cbf"
+ 1 "ClientUDP.cbf"
VIPBStackSetting 8 Begin_Of_Object
3
0
@@ -4576,11 +4604,6 @@ NDebugger::VDebuggerHost 8 Begin_Of_Object
8
NDebugger::VFile 9 Begin_Of_Object
1
- 1 "socket.can"
-0
-End_Of_Object NDebugger::VFile 9
-NDebugger::VFile 9 Begin_Of_Object
-1
1 "Common.cin"
4
End_Of_Object NDebugger::VFile 9
@@ -4596,16 +4619,6 @@ NDebugger::VFile 9 Begin_Of_Object
End_Of_Object NDebugger::VFile 9
NDebugger::VFile 9 Begin_Of_Object
1
- 1 "ModbusCommon.cin"
-7
-End_Of_Object NDebugger::VFile 9
-NDebugger::VFile 9 Begin_Of_Object
-1
- 1 "ModbusUdpCommon.cin"
-8
-End_Of_Object NDebugger::VFile 9
-NDebugger::VFile 9 Begin_Of_Object
-1
1 "TcpUdpCommon.cin"
9
End_Of_Object NDebugger::VFile 9
@@ -4614,6 +4627,21 @@ NDebugger::VFile 9 Begin_Of_Object
1 "UdpCommon.cin"
10
End_Of_Object NDebugger::VFile 9
+NDebugger::VFile 9 Begin_Of_Object
+1
+ 1 "ClientUDP.can"
+11
+End_Of_Object NDebugger::VFile 9
+NDebugger::VFile 9 Begin_Of_Object
+1
+ 1 "ModbusClientCommon.cin"
+12
+End_Of_Object NDebugger::VFile 9
+NDebugger::VFile 9 Begin_Of_Object
+1
+ 1 "ModbusUdpClientCommon.cin"
+13
+End_Of_Object NDebugger::VFile 9
VNETStandaloneComponent 9 Begin_Of_Object
1
VNETControlBox 10 Begin_Of_Object
@@ -4624,7 +4652,7 @@ VBoxRoot 12 Begin_Of_Object
1
3
1 -1 2 3 -1 -1 -8 -30 171 76 688 306
-Debugger - socket
+Debugger - ClientUDP
1
MDI_DOCK_INFO_END
@@ -4690,7 +4718,7 @@ End_Of_Object VUniqueBox 11
1 -1 0 0 0 0 0 0 0 0 0 0
0
End_Of_Object VNETControlBox 10
-114
+132
APPDIR Vector.CANoe.Debugger.DLL
Vector.CANoe.Debugger, Version=8.2.40.0, Culture=neutral, PublicKeyToken=null
Vector.CANoe.Debugger.DebuggerComponent
@@ -4732,17 +4760,35 @@ TypeRef:3
3
Int32
NrOfFiles
-1
+4
Int32
FileID0
-0
+11
Int32
CurrentLine0
0
Int32
-SelectedFileID
+FileID1
+4
+Int32
+CurrentLine1
0
Int32
+FileID2
+9
+Int32
+CurrentLine2
+0
+Int32
+FileID3
+10
+Int32
+CurrentLine3
+0
+Int32
+SelectedFileID
+11
+Int32
NrOfWatchedVariables
0
String
@@ -4828,7 +4874,139 @@ VSimulinkModelViewerConfiguration 7 Begin_Of_Object
End_Of_Object VSimulinkModelViewerConfiguration 7
1
0
-2546375561
+2490614275
+0
+NodeSignalPanelBustypeCount 0
+End_Of_Object VSimulationNode 6
+NULL
+
+EndOfComment
+0
+1
+End_Of_Object VDAOGBFunctionBlock 5
+VDAOGBFunctionBlock 5 Begin_Of_Object
+1
+101
+3
+TABPredecessor:
+52
+TABSuccessor:
+2
+VSimulationNode 6 Begin_Of_Object
+3
+VProgrammedNode 7 Begin_Of_Object
+4
+VConfigurationRoot 8 Begin_Of_Object
+1
+End_Of_Object VConfigurationRoot 8
+ 1 "ClientTCP.can"
+1
+J:\HsKA\NB7\Bachelorthesis\CANoe\Modbus\ClientTCP.cbf
+<< default >>
+
+5
+ClientTCP
+ECU 4
+EOF_TITLE_INFO
+<< default >>
+1
+0
+1
+1
+0
+1
+0
+1 0 2 0
+SS_BEGIN_COMMON_INFO
+1
+4
+Behavior
+1
+Buses
+1
+Misc
+1
+Timing
+1
+SS_END_COMMON_INFO
+
+EOF_MBSSDATA
+1
+0 1
+0
+EOF_NLDATA
+0
+EOF_ASSEMBLYDATA
+ 1 "ClientTCP.cbf"
+VIPBStackSetting 8 Begin_Of_Object
+3
+0
+1
+VIPBAdapterSetting 9 Begin_Of_Object
+4
+1
+9
+02:68:EA:7A:15:00
+End_Of_Serialized_Data 9
+9
+192.168.1.5
+End_Of_Serialized_Data 9
+9
+255.255.255.0
+End_Of_Serialized_Data 9
+9
+0.0.0.0
+End_Of_Serialized_Data 9
+1
+VPersistentIFv4Address 10 Begin_Of_Object
+1
+VPersistentIFAddress 11 Begin_Of_Object
+1
+VPersistentAddress 12 Begin_Of_Object
+1
+End_Of_Object VPersistentAddress 12
+End_Of_Object VPersistentIFAddress 11
+10
+192.168.1.5
+End_Of_Serialized_Data 10
+10
+255.255.255.0
+End_Of_Serialized_Data 10
+End_Of_Object VPersistentIFv4Address 10
+0
+1
+11
+Ethernet
+1
+0
+0
+End_Of_Object VIPBAdapterSetting 9
+0
+1
+0
+End_Of_Object VIPBStackSetting 8
+7
+NULL
+End_Of_Serialized_Data 7
+End_Of_Object VProgrammedNode 7
+0
+0
+Startdelay 0 0 0
+Jitter 0 0 1 0 0 0 0
+0
+EOF_NLDATA
+3
+VSimulinkModelViewerConfiguration 7 Begin_Of_Object
+2
+ 1 ""
+ 1 ""
+ 1 ""
+150
+0
+End_Of_Object VSimulinkModelViewerConfiguration 7
+1
+0
+2653277962
0
NodeSignalPanelBustypeCount 0
End_Of_Object VSimulationNode 6
@@ -5063,7 +5241,7 @@ VDAOGBFunctionBlock 5 Begin_Of_Object
TABPredecessor:
46
TABSuccessor:
-2
+101
VSimulationNode 6 Begin_Of_Object
3
VProgrammedNode 7 Begin_Of_Object
@@ -5197,7 +5375,7 @@ VDAOGBFunctionBlock 5 Begin_Of_Object
2
0
TABPredecessor:
-52
+101
TABSuccessor:
0
VCardConf 6 Begin_Of_Object
@@ -5215,7 +5393,7 @@ NULL
End_Of_Object VDOLocalInfoStruct 3
0.000000
0 0
-1 1 0 59420 1 233 1 2882400001 419 652 305 689 2882400002 0 0 0 0 0 0 1 2882400001 1278 1278 307 307 2882400002 0 0 0 347718376 348326584 348467900 3
+1 1 0 59420 1 233 1 2882400001 90 323 305 689 2882400002 0 0 0 0 0 0 1 2882400001 1278 1278 307 307 2882400002 0 0 0 361415696 361661552 7670396 3
SS_BEGIN_COMMON_INFO
1
0
@@ -5227,7 +5405,7 @@ Ethernet
11
1
1
-348555200 1 0 0 0 1 1 0 0 0 2000 1
+7639664 1 0 0 0 1 1 0 0 0 2000 1
SS_BEGIN_COMMON_INFO
1
2
@@ -5336,7 +5514,7 @@ End_Of_Serialized_Data 2
End_Of_Object VWriteBox 2
VWinStore 2 Begin_Of_Object
1
-22 2 3 -32088 -32000 -1 -1 -10088 -10000 -9070 -9233
+22 2 3 -1 -1 -1 -1 -10088 -10000 -9070 -9233
End_Of_Child_List
End_Of_Object VWinStore 2
VWinStore 2 Begin_Of_Object
@@ -5627,8 +5805,10 @@ SymbSelHeaderMgrBegin
SymbSelHeaderMgrEnd
End
Begin
-3 0 0
-0
+3 0 7
+1
+Systemvariablen
+ ( 1 ( 1 ( 0 ) 0 ) 0 )
SymbSelHeaderMgrBegin
1 4
0 1 200 0 0
@@ -5653,7 +5833,7 @@ FiltersEnd
END_OF_WORKSPACE_MEMBER_DATA
END_OF_WORKSPACE_MEMBER
1
-1
+0
0
END_OF_WORKSPACE_DATA