First of all, big thanks for you @kaare_t for quick and right answer. I've based my new-edited script on your advices and it worked, but I have another stranger issue regarding to script's results. I used exactly your script and got weird results which you can see in attachements in this post. I plotted 50 points starting from D2000 to show more clear what is the problem.
Att.1. Why the obtained chart is so irregular with many peaks?It looks more similar to sawtooth wave. I must get more smooth sine wave chart. Is it some kind of problem with sampling frequency?
Att.2. Values in registers are in range of -32768 to 32767, i guess it's from Signed Word range, but is it possible to get, on chart, values e.g. in range 0-100? Should i make some conversion in GXWorks with received in D2000-D3499 values?
Att.3. On another screen i made script with exponential function instead of sine. You can see that all I got is something near rising sawtooth function. What is the simpliest way to get exp function with GOT's script?
I'm working with GOT1000 GT15-S and Mitsubishi FX3GE-24MT.