naturephoenix
Member
OP
Is this possible somehow:
i want to call specific FB with dynamic DB, so like this
if MW50 = 2 then
FB40.DB102();
end_if;
if MW50 = 3 then
FB40.DB103();
end_if;
if MW50 = 4 then
FB40.DB104();
end_if;
Is this possible to do somehow in SCL without if else statements,
something using WORD_TO_BLOCK_DB() function or w/e
i want to call specific FB with dynamic DB, so like this
if MW50 = 2 then
FB40.DB102();
end_if;
if MW50 = 3 then
FB40.DB103();
end_if;
if MW50 = 4 then
FB40.DB104();
end_if;
Is this possible to do somehow in SCL without if else statements,
something using WORD_TO_BLOCK_DB() function or w/e