Thanks for your help again. So I now have what I want using the below commands. I needed to create the backup file incase of a power cut in which case I can simply rename it to the same name as the persvars recipe file and reload.
Thanks for your help again. So I now have what I want using the below commands. I needed to create the backup file incase of a power cut in which case I can simply rename it to the same name as the persvars recipe file and reload.
Thanks for your help again. So i now have what I want using the below commands. I needed to create the backup file incase of a power cut in which case i can simply rename it to the same name as the persvars file and reload.
Thanks for your help again. So i now have what I want using the below commands. I needed to create the backup file incase of a power cut in which case i can simply rename it to the same name as the persvars file and reload.
Thanks a lot for your reply. This is great. The only thing I'm missing now is an equivalent command to restore the persistant recipe values from the same file that is used in the "Read and Save Recipe" method. Just need the equivalent to use within my apllication of this. https://help.codesys.com/api-content/2/codesys/3.5.14.0/en/_cds_cmd_restore_values_recipe/#ce332025e1fecfdc0a8640e0010f14c-id-f0b9ec0b5e1fecfdc0a8640e002822d5 st Has anyone used this before??.
Thanks a lot for your reply. This is great. The only thing I'm missing now is an equivalent command to restore the persistant recipe values from the same file that is used in the "Read and Save Recipe" method. Has anyone used this before??.
Hi All. Reviving this old thread as I'm trying to find the same solution. The links above don't work any more. I need to programmatically save the current values of my persistent variables once a night to a recipe file to ensure they are backed up in case of a power failure. Below is the link to codesys help for "Save Current Values to Recipe" but nowhere does it show how to do it or an example. "Save Current Values to recipe". https://help.codesys.com/api-content/2/codesys/3.5.14.0/en/_cds_cmd_save_actual_values_recipe/#a55f55e211fe3c0a8640e015117a0-id-77c4fa7b5e211fe3c0a8640e01b800e5...
Hi all. I am working on a project where I have a cognex camera sending pictures to a directory on a Synology NAS. I want my pi codesys runtime to look at this directory on my NAS as an image pool and update its image on the visu when new images go to that directory from the camera. I have used image pools previously when working on codesys on a windows machine. However i want this to work only on the pi standlone so it wont have a windows directory to update its image pool. Is there someway i can...
Update after 6 months. Turns out I really needed it on the same local ethernet switch hardwired. Once i did this it worked!
Hi All. I'm at my wit's end with a Profinet Communication issue that I hope someone can help me with. I'm doing some testing with a raspberry pi 3b, codesys v3.5 with 2 profinet devices. The Profinet devices are on the same VLAN as my home network. eth0. I know ideally profinet would have its own dedicated VLAN but in this case I need to keep everything on the same network and from all my research this is fine to do. Both Profinet devices are below. 1. Rexroth Indradrive CS Servo drive. 2. Cognex...
Hi All. I'm at my wit's end with a Profinet Communication issue that I hope someone can help me with. I'm doing some testing with a raspberry pi 3b, codesys v3.5 with 2 profinet devices. The Profinet devices are on the same VLAN as my home network. eth0. I know ideally profinet would have its own dedicated VLAN but in this case I need to keep everything on the same network and from all my research this is fine to do. Both Profinet devices are below. 1. Rexroth Indradrive CS Servo drive. 2. Cognex...