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.