-Menü

Beiträge anzeigen

Dieser Abschnitt erlaubt es Ihnen, alle Beiträge anzusehen, die von diesem Mitglied geschrieben wurden. Beachten Sie, dass Sie nur Beiträge sehen können, die in Teilen des Forums geschrieben wurden, auf die Sie aktuell Zugriff haben.

Beiträge anzeigen-Menü

Themen - bartmarchand

#1
BECKHOFF / Send/receive string with UDP
21. April 2019, 15:47:29
Hi there,

I'm trying to send this string: '20 00 00 00 16 02 62 3A D5 ED A3 01 AE 08 2D 46 61 41 A7 F6 DC AF D3 E6 00 00 1E' of hexadecimal values over UDP to an IP address.
I should receive this answer: '28 00 00 00 11 00 02 98 D8 63 35 D2 EA F6 C3 DC 00 01 7B 02 00' for further analysis.

I think I could use the http demo example for this, however, I do not understand the url_text syntax for this.
Can you point me in the right direction?
#2
BECKHOFF / Connection with Influxdb - cURL
12. Januar 2018, 20:12:16
Hello,

I'm trying to connect with Influxdb HTTP API.
The working cURL command on my debian system is: curl -i -XPOST 'http://localhost:8086/write?db=mydb'; --data-binary 'cpu_load_short,host=server01,region=us-west value=0.64 1434055562000000000'

I've tried the same command in the http demo, but there is a http get 252.
What is the syntax for using cURL?
Thanks
#3
Codesys 2 / Rasberry Pi DLOG_FILE_CSV_DEMO
09. März 2017, 16:09:28
Hi, I'm trying to get the DLOG_FILE_CSV_DEMO to work in codesys 3 on a raspberry PI.
If I compare the running program with a Beckhoff CX, i notice that the timestamp does not change on the PI.
Also the filename stays the same and the file is not written on the SD card. There are no errors.
- What is wrong with the timestamp in the real time view, it stays like '#A-#D-#H-#N:#R:#T'
- What is the format to write to the sd card of a raspberry Pi on linux?