beautypg.com

Omwt-soft-opc server .ini file format, Omwt-soft-opc.ini, Cannot open communication port; already in use – Omega Engineering M-4066 User Manual

Page 21: Cannot find receiver, Logging, Ip addresses, Digital i/o

background image

OMWT-SOFT-OPC Server

OMWT-SOFT-OPC Server .ini File Format N 17

Logging

[Logging] - section name

LogRate - 0: no logging; 1-100000 logging interval in seconds. 5 sec or

greater OMWT-SOFT-OPC opens and closes the log file at every

logging interval. Less than 5 OMWT-SOFT-OPC leaves the file open

until OMWT-SOFT-OPC is terminated or “Server.Logging.LogRate” is

set to 0 or 5 and greater.

LogFile - full pathname for the log file - default "OMWT-SOFT-

OPC.LOG"

OfflineIndicator - character or string to indicate offline - NULL: last value
LogErrors - 1 - log runtime network errors to OMWT-SOFT-OPC.ERR. 0

- do not log errors

IP Addresses

[IP Addresses] – section name (for OMWT-RECIP receivers)

IPWaitPort – port number that OWMT-SOFT-OPC will wait for

connections initiated by an IP receiver. (default is 1060)

ForwardPort – port number that OWMT-SOFT-OPC will wait for

connections to forward received packets. (default is 0 which means

disabled) OWMT-SOFT-OPC will forward received packets through

this connection. Each packet has the following format: sensor

packet,node number, node description, sensor label. The INI

parameter FowardAll in the [Server] section controls what packets get

sent.

DIGITAL I/O

[Devicen] - Section name.

Address – serial number of the sensor.
DeviceType - Device type. (DeviceType=DIGITAL)
PollTime - How often to poll the device. (ms)
Label - Name used for the device (and Topic).
Log - Enable/disable logging of device.
OutputOnDemand - Output is initiated on demand or during poll.
DescriptionA - General purpose description.
DescriptionB - General purpose description.