Activity for master-student

  • master-student master-student posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I am using Beagle Bone Black as device(similar to raspberry pi) I created a ST program to read one-wire temperature file and it works fine when I try it by logging in. But once I made the boot application and when I restart the beagle bone the application it is not working. I tried changing the file location and then restarted the beagle bone and the application seems to be working. Does anyone have any Idea why exactly this file is not compatible?. Thank you in advance.

  • master-student master-student posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    hi, I have a similar issue. My code reads value on logins but when i create boor application it cant access the file(one-wire file). How can I check if codesys has certain permissions? Here is a link to the details: https://stackoverflow.com/questions/73442159/unable-to-open-a-file-on-boot-application

  • master-student master-student posted a comment on discussion Automation Server πŸ‡¬πŸ‡§

    I installed the latest runtime on my beagle bone through codesys ide

  • master-student master-student posted a comment on discussion Automation Server πŸ‡¬πŸ‡§

    thanks,it worked perfectly

  • master-student master-student posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    I am using Beagle Bone Black as device(similar to raspberry pi), I created a ST program to read one-wire temperature file and make a string value out of it and it works fine when I try it in codesys. but once I made the boot application and when I restart the beagle bone the application it is not working. I tried changing the file location and then restarted the beagle bone and the application seems to be working. Does anyone have any Idea why exactly this file is not compatible?. Thank you in advance....

  • master-student master-student posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I am using Beagle Bone Black as device(similar to raspberry pi), I created a ST program to read one-wire temperature file and make a string value out of it and it works fine when I try it in codesys. but once I made the boot application and when I restart the beagle bone the application it is not working. I tried changing the file location and then restarted the beagle bone and the application seems to be working. Does anyone have any Idea why exactly this file is not compatible?. Thank you in advance....

  • master-student master-student modified a comment on discussion Deutsch πŸ‡©πŸ‡ͺ

    hi, looks lik your configuration is right. I am guessing that you are using raspberry pi as the device. first step is to install mosquitto brocker on rasp pi. then run it in the rasp pi using the command 'mosquitto -v' thnen load the codesys programm on to the rasp pi. Make sure you are using the right ip, or you can simply use locakhost as host name.

  • master-student master-student posted a comment on discussion Deutsch πŸ‡©πŸ‡ͺ

    hi, looks lik your configuration is right. I am guess that you are using raspberry pi as the device. first step is to install mosquitto brocker on rasp pi. then run it in the rasp pi using the command 'mosquitto -v' thnen load the codesys programm on to the rasp pi. Make sure you are using the right ip, or you can simply use locakhost as host name.

  • master-student master-student posted a comment on discussion Deutsch πŸ‡©πŸ‡ͺ

    hi, I am using a beaglebone black to send data from temperature sensor to my pc through lan cable. Meaning I am not using online mode. but I had similar problem with connection to brocker. what i did is : I turned on mosquitto brocker in my Beaglebone black (BBB) terminal using the command (mosquitto -v) and i run the code again in BBB and the client is connecting to the brocker and i receaved a notification in the BBB terminal. hope this will be helpful.

  • master-student master-student posted a comment on discussion Deutsch πŸ‡©πŸ‡ͺ

    Ich habe das mqtt-Beispielprojekt befolgt, das in der Bibliothek enthalten ist, und es scheint, dass der mqtt_client eine Verbindung zum Brocker herstellt. aber es gibt einen Fehler im VerΓΆffentlichungs- und Abonnementteil. bitte helfen. Danke

  • master-student master-student posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    I followed the mqtt example project provided in with the library and it seems the the mqtt_client is connecting to the brocker. but there is an error in the publishing and subscribing part. please help. thanks

  • master-student master-student posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I followed the mqtt example project provided in with the library and it seems the the mqtt_client is connecting to the brocker. but there is an error in the publishing and subscribing part. please help. thanks

  • master-student master-student modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thank you so much. It worked!! 1) I removed old version by going to tools/update beaglebone black and then downloaded the new version of the CODESYS Control for BeagleBone SL and installed. 2) Installed the new version in tools/update beaglebone black. 3) Also I updated the device by right clicking the device in the device tree and by selecting the update device option

  • master-student master-student modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thank you so much. It worked!! 1) I downloaded the new version of the CODESYS Control for BeagleBone SL and installed and then removed old version by going to tools/update beaglebone black. 2) Installed the new version in tools/update beaglebone black. 3) Also I updated the device by right clicking the device in the device tree and by selecting the update device option

  • master-student master-student modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thank you so much. It worked!! 1) I downloaded the new version of the Beaglebone control and installed and then removed old version by going to tools/update beaglebone black. 2) Installed the new version in tools/update beaglebone black. 3) Also I updated the device by right clicking the device in the device tree and by selecting the update device option

  • master-student master-student modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thank you so much. It worked!! I downloaded the new version of the Beaglebone control and installed and then removed old version by going to tools/update beaglebone black. Then i installed the new version in tools/update beaglebone black. Also I updated the device by right clicking the device in the device tree and by selecting the update device option

  • master-student master-student modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thank you so much. It worked!! I downloaded the new version of the Beaglebone control and installed and then removed old version by going to tools/update beaglebone black. Then i installed the new version in tools/update beaglebone black. Also I updated the device by right clicking the device in the device tree by selecting the update device option

  • master-student master-student posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thank you so much. It worked!!

  • master-student master-student posted a comment on discussion Deutsch πŸ‡©πŸ‡ͺ

    Hallo, ich erhalte 3 Fehler, wenn ich ein beliebiges Programm einschließlich der MQTT-Bibliothek für meine SPS (Beaglebone Black) kompiliere. Ich erhalte diese Fehler, auch wenn ich nur die MQTT sl-Bibliothek in mein anderes Projekt einfüge, das zuvor gut funktioniert hat. Hat jemand eine Idee?

  • master-student master-student modified a comment on discussion Automation Server πŸ‡¬πŸ‡§

    Hi, I am getting 3 errors when I compile any program including MQTT library to my PLC (Beaglebone Black). I am getting these errors, even if I just include MQTT sl library to my other project which was working fine before. Does anybody have an Idea?

  • master-student master-student posted a comment on discussion Automation Server πŸ‡¬πŸ‡§

    Hi, I am getting 3 errors when I compile any program including MQTT library to my PLC (Beaglebone Black). [-img src=MQTT Error msg.JPG width=50%: missing =-] I am getting these errors, even if I just include MQTT sl library to my other project which was working fine before. Does anybody have an Idea?

  • master-student master-student posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Anyone have an Idea?

  • master-student master-student modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, I am getting 3 errors when I compile any program including MQTT library to my PLC (Beaglebone Black). I am getting these errors, even if I just include MQTT sl library to my other project which was working fine before. Does anybody have an Idea?

  • master-student master-student modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, I am getting 3 errors when I compile any program including MQTT library to my PLC (Beaglebone Black). [-img src=MQTT Library error.JPG width=50%: missing =-] This is the error message [-img src=MQTT Error msg.JPG width=50%: missing =-] I am getting these errors, even if I just include MQTT sl library to my other project which was working fine before. Does anybody have an Idea?

  • master-student master-student modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, I am getting 3 errors when I compile any program including MQTT library to my PLC (Beaglebone Black)[-img src=MQTT Library error.JPG width=50%: missing =-] This is the error message [-img src=MQTT Error msg.JPG width=50%: missing =-] I am getting these errors, even if I just include MQTT sl library to my other project which was working fine before. Does anybody have an Idea?

  • master-student master-student posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, I am getting 3 errors when I compile the program including MQTT library to my PLC (Beaglebone Black)[-img src=MQTT Library error.JPG width=50%: missing =-] This is the error message [-img src=MQTT Error msg.JPG width=50%: missing =-] I am getting these errors, even if I just include MQTT sl library to my other project which was working fine before. Does anybody have an Idea?

  • master-student master-student posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    This is the exact same problem with me as well. could someone please take a look? Thanks

  • master-student master-student modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, I am able to read a file and make a string from that. But the read action is only happening once so that the string stays constant. I want the the string to be updated after every one second. This is the code, VAR sFileName : FILE.CAA.FILENAME; FileOpen : File.Open; FileClose : File.Close; FileRead : File.Read; iState : UINT; hfile : FILE.CAA.HANDLE; sReadLine : STRING(1000); END_VAR VAR_INPUT xInit : BOOL; END_VAR VAR_OUTPUT xError : BOOL; xDone : BOOL; END_VAR CASE iState OF 0: sFileName :=...

  • master-student master-student posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, I am able to read a file and make a string from that. But the read action is only happening once so that the string stays constant. This is the code, VAR sFileName : FILE.CAA.FILENAME; FileOpen : File.Open; FileClose : File.Close; FileRead : File.Read; iState : UINT; hfile : FILE.CAA.HANDLE; sReadLine : STRING(1000); END_VAR VAR_INPUT xInit : BOOL; END_VAR VAR_OUTPUT xError : BOOL; xDone : BOOL; END_VAR CASE iState OF 0: sFileName := '/sys/bus/w1/devices/28-44260f1e64ff/w1_slave'; xDone := FALSE;...

  • master-student master-student posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hi, I am having a similar issue. I need to get readings from a temp sensor and make a string by opening and reading a file. it seems you already got the solution for a similar issue. Could you may be share the code you made please?. That would be very helpful. Thanks

  • master-student master-student modified a comment on discussion Engineering πŸ‡¬πŸ‡§

  • master-student master-student modified a comment on discussion Engineering πŸ‡¬πŸ‡§

  • master-student master-student modified a comment on discussion Engineering πŸ‡¬πŸ‡§

  • master-student master-student posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thanks, I am trying to use the GVL examples but I am getting the following error "C0077: Unknown type: 'CAA_FILENAME'. any idea?

  • master-student master-student posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thanks, I am trying to use the GVL examples but I am getting the following error "C0077: Unknown type: 'CAA_FILENAME'. any idea?

  • master-student master-student posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thanks, I am trying to use the GVL examples but I am getting the following error "C0077: Unknown type: 'CAA_FILENAME'. any idea?

  • master-student master-student posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thanks, I am trying to use the GVL examples but I am getting the following error "C0077: Unknown type: 'CAA_FILENAME'. any idea?

  • master-student master-student posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, Thanks for the input. I tried working with CAA file and the examples but i did not managed to come up with a solution. I first opened a directory and then a opened file but can't copy a value to a string, out of it. Could you may be tell me what function should I use exactly use or an example for the problem? Thanks

  • master-student master-student modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    I want to create a program to extract value from a file and create a sting (later I would want to use this string as an input value). Also i found this solution to open the file and read the values. But I did not managed to make a string. VAR_INPUT FileName : STRING := '/sys/bus/w1/devices/28-44260f1e64ff/w1_slave'; END_VAR VAR_OUTPUT Done : BOOL := FALSE; ErrCode : SysFile.SYS_FILE_STATUS := SysFile.SYS_FILE_STATUS.FS_NO_FILE; Data : ARRAY[0..MAX_BUFFER] OF BYTE; BytesRead : __XWORD := 0; END_VAR...

  • master-student master-student posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I want to create a program to extract value from a file and create a sting (later I would want to use this string as an input value). Also i found this solution to open the file and read the values VAR_INPUT FileName : STRING := '/sys/bus/w1/devices/28-44260f1e64ff/w1_slave'; END_VAR VAR_OUTPUT Done : BOOL := FALSE; ErrCode : SysFile.SYS_FILE_STATUS := SysFile.SYS_FILE_STATUS.FS_NO_FILE; Data : ARRAY[0..MAX_BUFFER] OF BYTE; BytesRead : __XWORD := 0; END_VAR VAR pResult : POINTER TO SysFile.RTS_IEC_RESULT;...

  • master-student master-student posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Nice that you got the issue solved, I am also having issues with connecting DS18B20 with Beaglebone instead raspberry pi. Could you please take a look at the issue. Tanks

  • master-student master-student posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi again, I want to connect the DS18B20 temp sensor to my Beaglebone black with Codesys Ladder Diagram. I managed to make the program attached below but it is not showing any values. I have added the raspberry library for DS18B20. Could someone please help?.

  • master-student master-student modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, Thanks for your response. installed both beaglebone and raspberry pI Sl packages. created a standard project and selected CODESYS Controll for beaglebone sl. In Tools > Device Repository I saw all the devices. I suppose I should use DS18B20 device in my project,but how to use this? Thanks.

  • master-student master-student posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, Thanks for your response. installed both beaglebone and raspberry pI Sl packages. created a standard project and selected CODESYS Controll for beaglebone sl. In Tools > Device Repository I saw all the devices. I suppose I should use DS18B20 device in my project,but how to use this? Thanks.

  • master-student master-student posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I am a master student and quit new to Codesys. I would like to know if I can get values of DS18B20 1wire sensor on Beaglebone black with Codesys?. Thanks in advance:)

1