3/14/2012 3:30 PM | |
Posts: 7 Rating:
|
Hi Darius, here is a stripped down version of my program madewith Step7 5.5.
Regards
AttachmentString_Copy.zip (75 Downloads) |
3/14/2012 7:49 PM | |
Posts: 150 Rating:
|
Sorry SOuellet, I misunderstood your problem. I tottaly see your problem there and I played around a bit and came up with this: FUNCTION FC1008 : VOID VAR_IN_OUT DEVICE: UDT_Command_2_Interlocks; END_VAR DEVICE.COMMAND_A.LABELS.IN_PROGRESS:=DEVICE.HMI_ANIMATION.STATUS; ; END_FUNCTION I havent test it but the compiler does not complain. If it works the problem is that you have to write the rest of the FC logic into SCL. I attach your program with an extra FC, FC1008 with the above SCL code. I also added NW4 in FC1501 so that I can check that I dont get any errors. I hope this helps Regards, Nik AttachmentString_c.zip (75 Downloads) |
This contribution was helpful to
1 thankful Users |
Follow us on