Hello,
I'm new to PLCs, now I learned about the "." operator, but it seems limited to specified registers only. So, for example, this works:
D100.1 := 1;
Question 1 - Is it possible to somehow access a specific bit of a label? Something like:
myLabel.1 := 1;
Question 2 - Same, but this time with Z registers:
Z1 := 1;
myLabel.Z1 := 1;
Both examples throw a parser error. For now I'm sticking to assigning label value to a register, THEN changing the bit, THEN assigning the changed register back to my label, but it just looks ugly. Is there a better way to solve this? I'm using FX3G series.