Can macro scheduler be written to monitor a tcpip port?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
D_S
Junior Coder
Posts: 32
Joined: Sun Apr 24, 2005 6:43 pm

Can macro scheduler be written to monitor a tcpip port?

Post by D_S » Tue Mar 21, 2006 4:28 pm

Hope someone can help with this, can macro scheduler be used to monitor ethernet traffic on a specific port, and then when data is recieved fire a macro and use the received data as a variable in the script.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Mar 21, 2006 5:20 pm

Hi,

There's no inherent functionality already in Macro Scheduler that can do that. But you could utilise a third party ActiveX component in Macro Scheduler with VBScript.

Here's an ActiveX component which claims to let you monitor network traffic.

http://www.nsoftware.com/products/compo ... tor&sku=ip

I'm not entirely sure what exactly you are wanting to achieve so can't provide any more precise information.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

D_S
Junior Coder
Posts: 32
Joined: Sun Apr 24, 2005 6:43 pm

Post by D_S » Tue Mar 21, 2006 5:55 pm

I'm in a manufacturing environment with a large number of plc controlled industrial equipment. The plc's count the number of items generated and when it reaches a threshold set at the plc they want the plc to generate a request by part number to the labeling pc to generate a shipping label.

The plc programmer tells me he can transmit the part number via ethernet and wants me to receive the part number and then use it in my macro to produce the proper shipping label.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Mar 21, 2006 6:00 pm

Hi,

You'd need a third party app, dll or ActiveX component to interface with Macro Scheduler. We could probably build something for you. We'd need to see the technical specs from your plc programmer of how the data is being transmitted. Feel free to send us some info and request a quote.
http://www.mjtnet.com/contact.htm
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts