I have a program used stl and fbd programing ,when i want to know the datablock number, i find temp98
Problem is how i can know the datablock number used
exemple:
SET
L #IN0
T #TEMP98 // <------?
OPN DB [#TEMP98]
A M 0.3
JC M014
L 0
T DBD 396
T DBD 376
T DBD 368
T DBD 364
T DBW 388
T DBD 520
T DBD 524
T DBB 43
T DBB 533
SET
R DBX 400.1
R DBX 402.1
M014: NOP 0
L #IN0
T #TEMP98 // temp98 is temporary local data,but how i can find the value of temp98 in DB Data block
OPN DB [#TEMP98] // here DB temp98 is DB1 OR DB 132 OR DB 25 How i can find the data block number
L #IN0 probably some input to your block, which contain block number to open
T #TEMP98 temp98 store to local memory
OPN DB [#TEMP98] opend DB in input #IN0
You have to look at the interface of the fb - what is #INO - Input, Output, IN_OUT, STAT, TEMP?
IF #INO is an Input / IN_OUT than it is definied in your main-program. If it is definied as STAT or TEMP than you have to find a place like L... T #INO.
Thanks brother
I'm working for the comments and symbols to make the program easy understand
Thanks
------------------------------------------
Hello
I have this program ,the problem is when i want to find temp47.temp55 block FB134 network 30 i cant find the value ON and OFF come from
If anybody can help me please
Link of program: https://www.mediafire.com/file/kyaqcy30 ... 8.rar/file
Thanks