Using Wonderware to access MicroLogix 1100's via Radio?

if the integer in the plc is always 1 then wonderware reads the 1 and holds that value. wonderware isnt going to change it to zero unless it sees zero in the plc.

why dont you use the comm status functions that are built int the driver. update interval and comm status should be useful. you can also look at error counts if you want.

Hmm, but the wonderware script successfully sets it to a zero every time it reads from the PLC. I'm watching the integer change on the screen.

Well anyway, how do I access the comm status values of the driver as tags in wonderware?
 
Hmm, but the wonderware script successfully sets it to a zero every time it reads from the PLC. I'm watching the integer change on the screen.

Well anyway, how do I access the comm status values of the driver as tags in wonderware?


you said that the tag in the plc is always 1 right?

anyway, $SYS$Status is the comm status, IO discrete, 0 = alarm 1 = normal

$SYS$UpdateInterval is the update interval and it is IO real. It will give you the amount of seconds since the last poll in milliseconds.

If you look in the drivers manual it will give you all of the built in stuff and how to set it up.
 
Right, the tag is always a 1 in the PLC, so every time wonderware polls that PLC, it will see a 1, reset the timer, and set the tags value from 1 to 0 - which is what appears to happen just fine. The only strange thing is that when the serial cable is disconnected, it pulses from a 0 to a 1 every ten seconds w/o any PLC connected.

Thanks, I'll try out those system status tags you gave me instead.
 
you said that the tag in the plc is always 1 right?

anyway, $SYS$Status is the comm status, IO discrete, 0 = alarm 1 = normal

$SYS$UpdateInterval is the update interval and it is IO real. It will give you the amount of seconds since the last poll in milliseconds.

If you look in the drivers manual it will give you all of the built in stuff and how to set it up.

I've been looking through the driver's help file, and it says this: "Enter the following DDE reference formula in the appropriate place in your client: =DASMBSerial|ModiconPLC!$SYS$Status"

Not sure how to assign that to a tag or what access name to use. Sorry for all of these super noob questions. I dont usually deal with this part of the project! Thanks!
 
just make a new tag in ww called PLC1commstatus or whatever, make it a discrete IO tag, use the access name of whatever plc you want to monitor, and then set the item as $SYS$Status
 
just make a new tag in ww called PLC1commstatus or whatever, make it a discrete IO tag, use the access name of whatever plc you want to monitor, and then set the item as $SYS$Status

Ohh, that is fantastic - works like a charm. Thank you!

UpdateInterval seems to display a 5000 constantly though. Even if I unplug the serial cable.
 
Last edited:
sorry, you can use that one to set the poll rate.

$SYS$MaxInterval is what you use to see the actual poll rate.

if you look in DASMBSERIAL.PDF underneath item names, then DAServer Standard System Items you will find all of the things you can look at and what they do.
 
Success!!!

Amazingly, I have everything working together. I put together a little test setup in my office using the plc's and radios along with the wonderware computer - everything worked flawlessly.

Man, I didn't think I'd ever figure this one out when I was first starting out, but you helped me along the way. I definitely appreciate this website and its great members like diat150. Thank you again man!!

Hopefully everything will work once they're in the field with big yagi's and a bit of delay. *fingers crossed*
 
shouldnt have any issue unless it is a path issue between radios. I use mds radios with this same setup all of the time.
 
You will have problems with Modbus RTU over the MDS radios unless they have a "Modbus" setting like Data-Linc or FreeWave does
 
You will have problems with Modbus RTU over the MDS radios unless they have a "Modbus" setting like Data-Linc or FreeWave does

absolutely wrong. Ive been using mds radios with modbus for 10 years and never had an issue. ive fooled with some freewave radios also and dont remember any setting for "modbus". :rolleyes:
 

Similar Topics

Hi; In my O/G facility we are using Wonderware Intouch ver 9.5 for SCADA. We need to automate the process of exporting realtime process values for...
Replies
2
Views
2,530
Hey guys, I'm working on an existing system where the old programmer (from like 25 years ago) used a bunch of conditional scripts in Wonderware...
Replies
2
Views
1,777
https://www.theregister.co.uk/2018/01/15/meltdown_ics/ Here's another thread with an RSWho issue...
Replies
1
Views
2,071
I am building a new galaxy for a customer and I am trying to test things as I go. All my Ethernet PLCs are OK, but I have a test PLC5 in my...
Replies
1
Views
2,155
I operate a distillation column for Argon gas. It has a pressure controlling valve that cools a condenser at the top of the column with nitrogen...
Replies
4
Views
2,272
Back
Top Bottom