alanyap
Member
Hey guys, i'm studying my colleague's programming...
im wondering how he can do this type of STL writings?
The first picture is my colleague's work, there are a few Functions block inside, where FB42 CONT_S is the PID function called from the standard library, then, FB42 was put inside another FB11 where it contains the processes for the whole PID processes. FB65 calls FB11 and links the DB from PIW and IW. There is an instance DB65 for the FB65.
from my works, i managed to create until FB11 where everything looks same. but at FB65, where it needs to 'linked' with the PIW and IW, there is some addressing issue where i cannot link the inputs and outputs of the PID Process to my peripherals and internal addresses.
please refer to the pictures embedded below.
this picture is my colleague's work
This picture is my work.
BTW, my colleague is overseas now handling other job.
So, i temporary unable to contact him until he is back..
So, which should i make first? since the DB65 is the instance block for FB65, is the addresses should be made inside FB65?
Please Advice... Thanks alot!!
im wondering how he can do this type of STL writings?
The first picture is my colleague's work, there are a few Functions block inside, where FB42 CONT_S is the PID function called from the standard library, then, FB42 was put inside another FB11 where it contains the processes for the whole PID processes. FB65 calls FB11 and links the DB from PIW and IW. There is an instance DB65 for the FB65.
from my works, i managed to create until FB11 where everything looks same. but at FB65, where it needs to 'linked' with the PIW and IW, there is some addressing issue where i cannot link the inputs and outputs of the PID Process to my peripherals and internal addresses.
please refer to the pictures embedded below.
this picture is my colleague's work
This picture is my work.
BTW, my colleague is overseas now handling other job.
So, i temporary unable to contact him until he is back..
So, which should i make first? since the DB65 is the instance block for FB65, is the addresses should be made inside FB65?
Please Advice... Thanks alot!!