I have to make a bar graph that reads a value called "Turn" and depending on the value read is saved in one of the three graphs. By testing the script, it sends me an error and does not compile.
shift = system.tag.read ('Shift'). value
if turn.value > = 600 AND turn.value < 1400 system.tag.write (bar chart 1)
if turn.value> = 1400 AND turn.value < 2200 system.tag.write (bar chart 2)
if turn.value> = 2200 AND shift.value < 600 system.tag.write (bar chart 3)