rusty icon indicating copy to clipboard operation
rusty copied to clipboard

Add validation for hardware access

Open ghaith opened this issue 1 year ago • 1 comments

We should add a validation to prevent/warn the user when accessing a hardware variable in the wrong direction i.e Reading an I variable or writing a Q variable

Originally posted by @mhasel in https://github.com/PLC-lang/rusty/issues/1265#issuecomment-2326415624

ghaith avatar Sep 04 '24 03:09 ghaith

Q is always bidirectional and is also allowed to be read and should not produce any error or warning. I should be an error when tryed to be written to

tisis2 avatar Sep 05 '24 08:09 tisis2