How can I do this??
If I receive a initial step figure 10 and end step figure 20 from a HMI,
how can I point these step into my DB200's step (100 steps in DB200)
I got 12 different items in each step, step one is from DB200.DBD0 TO DB200.DBW30
I also will get the Item No (1~12) from HMI, when operator enter 1 that means the first Item which will be at DB200.DBW0,DB200.DBW32...DB200.DBW3200
Item 2 is in DB200.DBW4, DB200.DBW36..... and so on
then the operator will enter the Initial step and end step, if the item is 1, from initial step 10 to end step 20, then the fillvalue will automatic put the value into DB address
Because the HMI input is a decimal value ( like 1~100), this won't automaticlly put the value into the DB address,
So Do I need to define the initial step and end step to point to the DB address
also the Item no (1~12)
it's something like this :
when item no = 2;
initial step =1
end step=10
move iFillValue into DB200.DBW4, DB200.DBW36....DB200.DBW324
if item no= 1;
move IrFillValue into DB200.DBW0, DB200.DBW32....DB200.DBW320
If I receive a initial step figure 10 and end step figure 20 from a HMI,
how can I point these step into my DB200's step (100 steps in DB200)
I got 12 different items in each step, step one is from DB200.DBD0 TO DB200.DBW30
I also will get the Item No (1~12) from HMI, when operator enter 1 that means the first Item which will be at DB200.DBW0,DB200.DBW32...DB200.DBW3200
Item 2 is in DB200.DBW4, DB200.DBW36..... and so on
then the operator will enter the Initial step and end step, if the item is 1, from initial step 10 to end step 20, then the fillvalue will automatic put the value into DB address
Because the HMI input is a decimal value ( like 1~100), this won't automaticlly put the value into the DB address,
So Do I need to define the initial step and end step to point to the DB address
also the Item no (1~12)
it's something like this :
when item no = 2;
initial step =1
end step=10
move iFillValue into DB200.DBW4, DB200.DBW36....DB200.DBW324
if item no= 1;
move IrFillValue into DB200.DBW0, DB200.DBW32....DB200.DBW320