UniProgramer123 Posted February 10, 2021 Report Posted February 10, 2021 Hi, I have been looking into the c function programming of Unilogic. Can I address global tags of the solution inside the c function? If yes, is there a way to get for example System: "RTC time.Seconds" and other tags that might include 'space' char?
UniProgramer123 Posted February 10, 2021 Author Report Posted February 10, 2021 So, the answer is no then? I noticed that if I do "Show structed text" in ladder I get a _op_op version of the tag. If I use this code, for example System: "RTC time.Seconds" in the C function I can call and use it and it appears to work. Am I breaking things by calling this code in C function? 2
DanT Posted February 11, 2021 Report Posted February 11, 2021 Hi; If you download the UniStream Examples .zip file, there are several examples of how to import and use global variables within C Functions. The Examples .zip file is just below the UniStream Download on the Unitronics Website. DanT
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now