Im a rockwell programmer, but I need to do some stuff in TIA Portal.
So in Rockwell i'd create a UDT structure and Pass that in and out of multiple add onStructures, each of these structures would have a Instanst structure in the Local or Global Tags this was used for thing like the timer memory and intermediates when doing calcs etc. Setpoints were either passed in at Addon Call or Read from the UDT.
SO In Tia Portal :
ive defined.
FB1 - FB_Scale_Analog - My Code = ADDON?
DB3- Mem_Analog CH1 - 1st memory Instance = Instanst structure ?
Data type - Sig_DataType - Structure for My Sensor = UDT?
Is a FB the Same as an Addon Insturction
Is the FB Instance ( Mem_AnalogCh1_1[DB3]) the same as the Addon Instance Structure in RockW
Can I pass an Custom Data type in/out like I do in rockwell - is this the correct way or do I just access every thing from the DB3, if this is the case should I define them as TEMP and will they be retained e.g. AnalogSetP - Real -> FB1->Temp or Static. Also what I call instance 2 of FB1?
Sorry for the scatterbrain question but i didn't know how to "google this"
So in Rockwell i'd create a UDT structure and Pass that in and out of multiple add onStructures, each of these structures would have a Instanst structure in the Local or Global Tags this was used for thing like the timer memory and intermediates when doing calcs etc. Setpoints were either passed in at Addon Call or Read from the UDT.
SO In Tia Portal :
ive defined.
FB1 - FB_Scale_Analog - My Code = ADDON?
DB3- Mem_Analog CH1 - 1st memory Instance = Instanst structure ?
Data type - Sig_DataType - Structure for My Sensor = UDT?
Is a FB the Same as an Addon Insturction
Is the FB Instance ( Mem_AnalogCh1_1[DB3]) the same as the Addon Instance Structure in RockW
Can I pass an Custom Data type in/out like I do in rockwell - is this the correct way or do I just access every thing from the DB3, if this is the case should I define them as TEMP and will they be retained e.g. AnalogSetP - Real -> FB1->Temp or Static. Also what I call instance 2 of FB1?
Sorry for the scatterbrain question but i didn't know how to "google this"
Last edited: