Implementing function commands – Yokogawa PC-Based MX100 User Manual
Page 496
Advertising
9-8
IM MX190-01E
Implementing Function Commands
Program Example 3
This program switches DARWIN to the operation mode. The program uses the DS
command of DARWIN communication function.
Public Function Main()
'connect
host = "192.168.1.11"
comm = openDARWIN(host, rc)
'run
Line = "DS0"rc = runCommandDARWIN(comm, Line)
'disconnect
rc = closeDARWIN(comm)
End Function
Description
Sending Messages
runCommandDARWIN(comm, line)
Sends the command message and receives the response. This member adds a
terminator to the message and sends it.
9.2 Programming - DARWIN/Visual Basic -
Advertising