Thank you for your reply. Can I use CAA Netbase service with Raspberry Pi. Does R.Pi support this service?
Hello every one. I could send data with TCP IP client Server to the server. (Thanks to this forum) Now I have problem that i need to send a double value for example 70.0000 but server recieve it 70 not 70.000 Therfore it can not be detected by server. Clinet_Tx1 : ARRAY [0..gvlSetting.gc_wMaxTelegram] OF BYTE; Clinet_Tx1[0] := 128; Clinet_Tx1[1] := 9; Clinet_Tx1[2] := 0; Clinet_Tx1[3] := 0; Clinet_Tx1[4] := 140; Clinet_Tx1[5] := 16; Clinet_Tx1[6] := 0; Clinet_Tx1[7] := 0; Clinet_Tx1[8] := 70; Clinet_Tx1[9]...
Hello every one. I could send data with TCP IP client Server to the server. (Thanks to this forum) Now I have problem that i need to send a double value for example 70.0000 but server recieve it 70 not 70.000 Therfore it can not be detected by server. Clinet_Tx1 : ARRAY [0..gvlSetting.gc_wMaxTelegram] OF BYTE; Clinet_Tx1[0] := 128; Clinet_Tx1[1] := 9; Clinet_Tx1[2] := 0; Clinet_Tx1[3] := 0; Clinet_Tx1[4] := 140; Clinet_Tx1[5] := 16; Clinet_Tx1[6] := 0; Clinet_Tx1[7] := 0; Clinet_Tx1[8] := 70; Clinet_Tx1[9]...
Hello every one. I could send data with TCP IP client Server to the server. (Thanks to this forum) Now I have problem that i need to send a double value for example 70.0000 but server recieve it 70 not 70.000 Therfore it can not be detected by server. Clinet_Tx1 : ARRAY [0..gvlSetting.gc_wMaxTelegram] OF BYTE; Clinet_Tx1[0] := 128; Clinet_Tx1[1] := 9; Clinet_Tx1[2] := 0; Clinet_Tx1[3] := 0; Clinet_Tx1[4] := 140; Clinet_Tx1[5] := 16; Clinet_Tx1[6] := 0; Clinet_Tx1[7] := 0; Clinet_Tx1[8] := 70; Clinet_Tx1[9]...
Thank you so much. I could solve the problem. Clinet_Tx1 : ARRAY [0..gvlSetting.gc_wMaxTelegram] OF BYTE; Clinet_Tx1[0] := 128; Clinet_Tx1[1] := 9; Clinet_Tx1[2] := 0; Clinet_Tx1[3] := 0; Clinet_Tx1[4] := 140; Clinet_Tx1[5] := 16; Clinet_Tx1[6] := 0; Clinet_Tx1[7] := 0; Clinet_Tx1[8] := 70; Clinet_Tx1[9] := 0; Clinet_Tx1[10] := 0; Clinet_Tx1[11] := 0; // 0...3 Massage.Header // 4..7 Address //8 ..11 Value // Data uses little-endian format But now I want to send a Double data. (For example 70.000)...
Thank you so much. I could solve the problem. Clinet_Tx1 : ARRAY [0..gvlSetting.gc_wMaxTelegram] OF BYTE; Clinet_Tx1[0] := 128; Clinet_Tx1[1] := 9; Clinet_Tx1[2] := 0; Clinet_Tx1[3] := 0; Clinet_Tx1[4] := 140; Clinet_Tx1[5] := 16; Clinet_Tx1[6] := 0; Clinet_Tx1[7] := 0; Clinet_Tx1[8] := 70; Clinet_Tx1[9] := 0; Clinet_Tx1[10] := 0; Clinet_Tx1[11] := 0; But now I want to send a Double data. (For example 70.000) but Codesys send it in form of int. (70) And the device (Server) can not accept it. How...
Thank you so much. I could solve the problem. But now I want to send a Double data. (For example 70.000) but Codesys send it in form of int. (70) And the device (Server) can not accept it. Clinet_Tx1 : ARRAY [0..gvlSetting.gc_wMaxTelegram] OF BYTE; Clinet_Tx1[0] := 128; Clinet_Tx1[1] := 9; Clinet_Tx1[2] := 0; Clinet_Tx1[3] := 0; Clinet_Tx1[4] := 140; Clinet_Tx1[5] := 16; Clinet_Tx1[6] := 0; Clinet_Tx1[7] := 0; Clinet_Tx1[8] := 70; Clinet_Tx1[9] := 0; Clinet_Tx1[10] := 0; Clinet_Tx1[11] := 0; How...
Thank you so much. I could solve the problem. But now I want to send a Double data. (For example 70.000) but Codesys send it in form of int. (70) And the device (Server) can not accept it. How can I fix it? Sorry for a maybe simple question. I'm learning Codesys and I don't have any experience.
Hallo zusammen, Ich habe ein Problem. KΓΆnnten Sie bitte helfen. Ich muss mit TCP Client Server eine Nummer an Server schicken. Ich benutze CAA Netbase Library. Ich habe ein Array definiert: Clinet_Tx1 : ARRAY [0..gvlSetting.gc_wMaxTelegram] OF BYTE; Clinet_Tx1[0] := 128; Clinet_Tx1[1] := 9; Clinet_Tx1[2] := 0; Clinet_Tx1[3] := 0; Clinet_Tx1[4] := 140; Clinet_Tx1[5] := 16; Clinet_Tx1[6] := 0; Clinet_Tx1[7] := 0; Clinet_Tx1[8] := 70; Clinet_Tx1[9] := 0; Clinet_Tx1[10] := 0; Clinet_Tx1[11] := 0; 4 erste...
Hallo zusammen, Ich habe ein Problem. KΓΆnnten Sie bitte helfen. Ich muss mit TCP Client Server eine Nummer an Server schicken. Ich benutze CAA Netbase Library. Ich habe ein Array definiert: Clinet_Tx1 : ARRAY [0..gvlSetting.gc_wMaxTelegram] OF BYTE; Clinet_Tx1[0] := 128; Clinet_Tx1[1] := 9; Clinet_Tx1[2] := 0; Clinet_Tx1[3] := 0; Clinet_Tx1[4] := 140; Clinet_Tx1[5] := 16; Clinet_Tx1[6] := 0; Clinet_Tx1[7] := 0; Clinet_Tx1[8] := 70; Clinet_Tx1[9] := 0; Clinet_Tx1[10] := 0; Clinet_Tx1[11] := 0; 4 erste...
Hallo zusammen, Ich habe ein Problem. KΓΆnnten Sie bitte helfen. Ich muss mit TCP Client Server eine Nummer an Server schicken. Ich benutze CAA Netbase Library. Ich habe ein Array definiert: Clinet_Tx1 : ARRAY [0..gvlSetting.gc_wMaxTelegram] OF BYTE; Clinet_Tx1[0] := 128; Clinet_Tx1[1] := 9; Clinet_Tx1[2] := 0; Clinet_Tx1[3] := 0; Clinet_Tx1[4] := 140; Clinet_Tx1[5] := 16; Clinet_Tx1[6] := 0; Clinet_Tx1[7] := 0; Clinet_Tx1[8] := 70; Clinet_Tx1[9] := 0; Clinet_Tx1[10] := 0; Clinet_Tx1[11] := 0; 4 erste...
Hallo zusammen, Ich habe ein Problem. KΓΆnnten Sie bitte helfen. Ich muss mit TCP Client Server eine Nummer an Server schicken. Ich habe ein Array definiert: Clinet_Tx1 : ARRAY [0..gvlSetting.gc_wMaxTelegram] OF BYTE; Clinet_Tx1[0] := 128; Clinet_Tx1[1] := 9; Clinet_Tx1[2] := 0; Clinet_Tx1[3] := 0; Clinet_Tx1[4] := 140; Clinet_Tx1[5] := 16; Clinet_Tx1[6] := 0; Clinet_Tx1[7] := 0; Clinet_Tx1[8] := 70; Clinet_Tx1[9] := 0; Clinet_Tx1[10] := 0; Clinet_Tx1[11] := 0; 4 erste Bytes ist fΓΌr Massage Header,...
Hello every one. Does anybody know how I can define a Variable and assign a 12 Byte Hex Value? I have defined a LWord variable but I can assign only a 8 byte Hex. I need to send a 12 Byte Hex number. Thanks a lot.
Hello every one. Does anybody know how I can define a Variable and assign a 12 Byte Hex Value? I have defined a LWord variable but I can assign only a 8 byte Hex. I need to send a 12 Byte Hex number. Thanks a lot.
Hello everyone I could make a TCP/Ip Client Server conection according this page: https://faq.codesys.com/display/CDSFAQ/TCP%3A+Example+for+Server+and+Client Now I have a Server and I want to send data to this Server. in the data sheet it is written I sould send data to a specified register: Datasheet: Register 1000 for speed control. Register 1200 for direction // Data uses little-endian format // Commands are read or write to any of shared memory. // The shared memory are defined in TGM.h as follows:...
Hello everyone I could make a TCP/Ip Client Server conection according this page: https://faq.codesys.com/display/CDSFAQ/TCP%3A+Example+for+Server+and+Client Now I have a Server and I want to send data to this Server. in the data sheet it is written I sould send data to a specified register: Register 1000 for speed control. Register 1200 for direction // Data uses little-endian format // Commands are read or write to any of shared memory. // The shared memory are defined in TGM.h as follows: // enum...
Helo everyone I could make a TCP/Ip Client Server conection according this page: https://faq.codesys.com/display/CDSFAQ/TCP%3A+Example+for+Server+and+Client Now I have a Server and I want to send data to this Server. in the data sheet it is written I sould send data to a specified register: Register 1000 for speed control. Register 1200 for direction // Data uses little-endian format // Commands are read or write to any of shared memory. // The shared memory are defined in TGM.h as follows: // enum...
Helo everyone I could make a TCP/Ip Client Server conection according this page: https://faq.codesys.com/display/CDSFAQ/TCP%3A+Example+for+Server+and+Client Now I have a Server and I want to send data to this Server. in the data sheet it is written I sould send data to a specified register: Register 1000 for speed control. Register 1200 for direction // Data uses little-endian format // Commands are read or write to any of shared memory. // The shared memory are defined in TGM.h as follows: // enum...
Helo everyone I could make a TCP/Ip Client Server conection according this page: https://faq.codesys.com/display/CDSFAQ/TCP%3A+Example+for+Server+and+Client Now I have a Server and I want to send data to this Server. in the data sheet it is written I sould send data to a specified register: Register 1000 for speed control. Register 1200 for direction // Data uses little-endian format // Commands are read or write to any of shared memory. // The shared memory are defined in TGM.h as follows: // enum...
Helo everyone I could make a TCP/Ip Client Server conection according this page: https://faq.codesys.com/display/CDSFAQ/TCP%3A+Example+for+Server+and+Client Now I have a Server and I want to send data to this Server. in the data sheet it is written I sould send data to a specified register: Register 1000 for speed control. Register 1200 for direction // Data uses little-endian format // Commands are read or write to any of shared memory. // The shared memory are defined in TGM.h as follows: // enum...