hi!
i started to use the gx iec developer two years ago (now using
ver. 6.01).
about 6 months ago i started to programm q-series plc´s (mitsu).
now to the question:
it´s difficult to discribe, but i try to keep it easy as possible.
in the global variable list, it´s allowed to create variables (type integer) with fix adresses (variablename; mitsubishi-adress D100).
if you define a array of integer, you´re able to use a index:
var_1 .... array 0 .. 15 of integer .... mitsubishi-adress D200
var_1[3] ... allows you to read/write to D203
... but how i am able to adress at least one bit of an integer in this
array???
var_1[3].1 ???
at the moment i use the following solution:
var_1[3] WAND 16#0002 ==> var_x
var_x EQ 16#0002 IF TRUE the bit is set
at least i would prefer an easier solution.
i started to use the gx iec developer two years ago (now using
ver. 6.01).
about 6 months ago i started to programm q-series plc´s (mitsu).
now to the question:
it´s difficult to discribe, but i try to keep it easy as possible.
in the global variable list, it´s allowed to create variables (type integer) with fix adresses (variablename; mitsubishi-adress D100).
if you define a array of integer, you´re able to use a index:
var_1 .... array 0 .. 15 of integer .... mitsubishi-adress D200
var_1[3] ... allows you to read/write to D203
... but how i am able to adress at least one bit of an integer in this
array???
var_1[3].1 ???
at the moment i use the following solution:
var_1[3] WAND 16#0002 ==> var_x
var_x EQ 16#0002 IF TRUE the bit is set
at least i would prefer an easier solution.