Welcome Guest ( Log In | Register )

> Output serial data on inport change
[ Outline ] · Standard · Linear+
post Feb 15 2012, 10:05 AM
Post #1

New Member

Group: Members
Posts: 2
Joined: 15-February 12
Member No.: 13,667

I am struggling with a rather simple task. Here is the problem:

I would like my M3 CD12 to send the inport status out on the serial port every time the status of the inport changes. I know that you can send a read command to the M3 and then receive the inport status but I don't want to use that kind of polling method.

Does somebody know how to achive this behavior?

The reason why I need it is because I have an application that needs to react on changes and I don't want to do a lot of work on unnecessary polling.

Any help would be really appreciated.
User is offlinePM
Quote Post

Reply to this topicStart new topic

Jesus Miranda
post Feb 15 2012, 01:42 PM
Post #2

Forum Savant

Group: Authorized Member
Posts: 125
Joined: 26-June 09
Member No.: 6,956

Hello Drugge.

In any type of communication available for the Millenium 3 (Serial Link, Modbus RS-485, Modbus TCP/IP) the controller cannot start the communication. The other device connected to the Millenium has to be a Master/Client and poll from the controller.

Being this said, polling is completely necessary if you want to read information from a Millenium controller.

Best regards,
User is offlinePMEmail Poster
Quote Post

Posts in this topic

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Reply to this topicTopic OptionsStart new topic


Lo-Fi Version
Time is now: 20th December 2014 - 01:33 AM