COM Object ActiveX .dll This zip file contains an ActiveX .dll file that can be used to implement SCADA. UnCmDrv1.dll file contains methods and properties for invoking the OPLC, read / write, locally or remotely, implementation examples, and an explanation of accessing Data Tables.
All operands are retained through power cycle (if the battery is good). If you want them reset to a specific value, then check the little box with the power plug symbol. In your case, uncheck that box and your value for MI 6 will be retained and not reset to -600.
Can I use MI datas as retain? I'm using some variables, which I can change by the HMI.
But if I turn off the PLC, the data will be reset to the value specified in the program.
How can I solve this?
I finally found the solution.
The SMS SCAN FB doesn't set the Modem Busy flag, that is user defined MB operand(in my case MB3900). I was counting on this flag.
The solution is to wait a little while after the SCAN sets the incoming SMS Receive bit. Now I run the timer and wait for 4 secs and then send the response SMS.
In the PLC's 'Information mode' screen(touch and hold the screen for 5 secs), then press Serial/Monitor...here you can seen the AT command that the PLC sends to the modem.
My PLC is Vision V700
Thank you all for help!
to anyone who wishes to create a solid shape: What you need to do is create a loop that runs something like this (in case of a circle, rectangle is somewhat similar):
Create a tag lineThickness, init value 10
Creat a tag idx (index for keeping track of the loop count)
On the first line the shape radius must be set to: DesiredRadius - LineThickness
Then subtract from the radius: idx * linethickness
then increment idx and repeat the loop untill the radius < linethickness
same applies for rectangle, except you need to apply this to width and height instead of radius