It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
What values can we get from the manual?

X < 20 = 30
X >= 40 AND X < 60 AND Y >= 40 AND Y < 80 = 50
X >= 60 AND Y >= 40 AND Y < 80 = 80
X >= 60 AND !(X >= 60 AND Y >= 40 AND Y < 80) = 30
X >= 20 AND X < 60 AND !(X >= 40 AND X < 60 AND Y >= 40 AND Y < 80) = 0

note:
X < 20 = 30
X > 80 = 30
X < 40 = 0
X < 60 AND Y >= 40 AND Y < 80 = 50
Attachments:
poseidon.png (35 Kb)
dammit.jpg (200 Kb)
ahhh.jpg (199 Kb)
works1.jpg (198 Kb)
Post edited March 11, 2017 by disi
I use five X ranges (0..19, 20..39, 40..59, 60..79 and 80..100) and three Y ranges (0..39, 40..79 and 80..100). The value inside the inner square is the outer value + 50. I create 5 pairs of numbers (based on X): a base value and the value 0 (range 1, 2, 5) or 50 (range 3, 4) and then adding the second value based on the Y coordinate.

pavo
Attachments:
You can simplify further by first checking whether X is in the +50 range, and send 50 or 0. Then check if X is in the 'original' 30 or 0 range. i.e. the first processor sends two values.

The second simply checks if y is in the +50 range, and if yes takes the first value from x (0 or 50) and ignores it otherwise. Then it adds the second value (0 or 30) and Bob's your uncle.
Attachments:
poseidon.jpg (469 Kb)