I am having the same problem. 'Update Raspberry PI' disappeared from the 'Tools' menu. Using RaspberryPI 3B+, Codesys V3.5 Sp21 + RaspberryPI Package 4.16. I installed the package as Administrator, executed Codesys as Administrator I also tried to connect using the deploy (even with ssh and everything enabled on the RaspberryPi I received password denied). I used in the past the same equipment with Codesys V3.5 Sp18 and RaspberryPI Package 4.08, it was really easy. (I also did a brand new RaspbianOs...
aliazzz, In the case of simple digital inputs and outputs doesn't make sense to create an indirect addressing. But in my case and others more complex cases, you cannot addressing bit by bit, because is a byte oriented on the hardware declaration and you have bits and words and some words need to use a ROL to have the correct value, because it repeats several times make sense create an FB the do the work and organize the data to be copied to an udt, that's a resource used even in some automotive standards...
In my case this not make any sense, since I want to create a FB which I can call several times for several different IOLink Devices, in that case my first address must be a parameter. I have declarated on my software 2000 inputs, if I create inside of the FB one array with 2000 elements and call this FB several times it will cause a a memory problem. I know that I have maximum 32 bytes input and I also know that we not going to use 32 bytes, it will be less than that. So, in my case the best option...
In my case this not make any sense, since I want to create a FB which I can call several times for several different IOLink Devices, in that case my first address must be a parameter. I have declarated on my software 2000 inputs, if I create inside of the FB one array with 2000 elements and call this FB several time will cause a a memory problem, by I know that I have maximum 32 bytes input and I also konw that we not going to use 32 bytes will be less than that. So in my case, the best option is:...
Hi guys, I want to do a simple indirect address using Codesys V3.5. On Simenes I can simple check any input using %IW[Index]. Which is not allowed on Codesys. The Idea is have a FB to pickup all information from a IO_Link device, so one of the inputs will be the first address (Ex: Index:= 240), and on my code I should be able to use Status:= %IW[index+2], but so far, I didn't see any resource for that. Anyone with an idea? Thanks a lot
Hi guys, I want to do a simple indirect address using Codesys V3.5. On Simenes I can simple check any input using %IW[Index]. Which is not allowed on Codesys. The Idea is have a FB to pickup all information from a IO_Link device, so one of the inputs will be the first address (Ex: Index:= 240), and on my code I should be able to use Status:= IW[index+2], but so far, I didn't see any resource for that. Anyone with an idea? Thanks a lot