net.wimpi.modbus.cmd
Class DIDOTest
java.lang.Object
net.wimpi.modbus.cmd.DIDOTest
public class DIDOTest
- extends Object
Class that implements a simple commandline
tool which demonstrates how a digital input
can be bound with a digital output.
Note that if you write to a remote I/O with
a Modbus protocol stack, it will most likely
expect that the communication is kept alive
after the first write message.
This can be achieved either by sending any kind of
message, or by repeating the write message within a
given period of time.
If the time period is exceeded, then the device might
react by turning pos all signals of the I/O modules.
After this timeout, the device might require a
reset message.
- Version:
- @version@ (@date@)
- Author:
- Dieter Wimberger
DIDOTest
public DIDOTest()
main
public static void main(String[] args)
Copyright © 2010. All Rights Reserved.