Dev123

Array Logic in GX work2

2 posts in this topic

Can anybody please help me for developing below logic in GX work2 also check the attached screen shot this is the program i made in Siemens but i need to do the same for Mitsubishi PLC. My application is to save recipe from HMI (GT designer 3) to PLC(Q Series) . Please let me know if you need more details.

 

//"Recipe".File_number= it is set BY HMI,
IF #SaveRecipe = true THEN
    "Recipe_File".Recipe_File["Recipe".File_number].Name := #Test1;
    "Recipe_File".Recipe_File["Recipe".File_number].Mode := 0;
    "Recipe_File".Recipe_File["Recipe".File_number].BaseHeatTime := 45.0;
    "Recipe_File".Recipe_File["Recipe".File_number].AddHeatTime := 10.0;
    "Recipe_File".Recipe_File["Recipe".File_number].MaxPeakTemp := 1300.0;
    "Recipe_File".Recipe_File["Recipe".File_number].FinalSurfTemp := 1250.0;
    "Recipe_File".Recipe_File["Recipe".File_number].TempTransRate := 12.0;
    "Recipe_File".Recipe_File["Recipe".File_number].MaxEnergy := 1300.0;
    "Recipe_File".Recipe_File["Recipe".File_number].OscSp := 91.0;
END_IF;

 

UDT.JPG

Share this post


Link to post
Share on other sites

Why not use the built in recipe capabilities of the GOT?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now