Search the Community
Showing results for tags 'gxw2'.
Found 3 results
Hallo. Im trying to make a fb where I have an array of sdt as an input output type. The reason is to have write and read access to my connected global vars inside the fb. This works fine in most cases. But when trying to use a bmov where moving an array of sdt input to the array of sdt I/O I get strange results. The first array element is correct. But then rest are mostly zeroes. It is writing zeroes. I tried the same outside the fb, and it works fine. Only thing I can think of is that inside the fb all vars gets a local random register. Maybe this can cause it to fail? the array of sdt input and array of sdt I/O are of same sdt type The sdt consist of mixed data types I’m using gx works 2 with a q plc can someone shed some light on this matter? and will using the array of sdt as input on fb cause more execution time? I’m thinking the cpu maybe have to cope the vars to local before using them?
HwT posted a topic in Download CommentsView File FX0N analoge module, scaling and offset. This is just an example how to convert an analog signal (0-10V) Library used: AnalogFX_V310 Submitter HwT Submitted 03/13/16 Category PLC Sample Code