casper2002
Member
Dear All,
I am newer member in this forum for the smartest guys.
and sorry for my bad English
I am using GX IEC DEVELOPER for MITSUBISHI, and I am trying to make my own function block in POU but I faced a problem with timer as the following:
I can't succes to define timer coil as variable so I had to defined it as TC52, but the problem when I duplicated the FB many time in main header, only one works
I believe the problem happened because of constant Timer coil name.
So I hope your support, to solve this issue, and tell me how to define a variable for timer coil and enable me to define it as much I want in the global variables
Kindly find the attachment
Thank you all, and I will appreciate your cooperative a lot
I am newer member in this forum for the smartest guys.
and sorry for my bad English
I am using GX IEC DEVELOPER for MITSUBISHI, and I am trying to make my own function block in POU but I faced a problem with timer as the following:
I can't succes to define timer coil as variable so I had to defined it as TC52, but the problem when I duplicated the FB many time in main header, only one works
I believe the problem happened because of constant Timer coil name.
So I hope your support, to solve this issue, and tell me how to define a variable for timer coil and enable me to define it as much I want in the global variables
Kindly find the attachment
Thank you all, and I will appreciate your cooperative a lot