Item Name Syntax
Everything after the Address is optional.
||Name of the Device|
||Protocol specific variable name|
eg. device1.40001 is a ten element vector,
device1.40004 is a 10x10 array.
If no index is specified then only one item is defined.
||Possible raw data types are
||Boolean (1 bit)|
||Signed byte (8 bits)|
||Unsigned byte (8 bits)|
||Signed word (16 bits)|
||Unsigned word (16 bits)|
||Signed long (32 bits)|
||Unsigned long (32 bits)|
||Variable Length String|
||Signed Large (64 bits)|
||Unsigned Large (64 bits)
||Short floating point (32 bits)|
||Long floating point (64 bits)|
||Currency (64 bits)|
||Date (64 bits)|
||Int (32 bits)|
||Uint (32 bits)|
||BCD (16 bits)|
||Long BCD (32 bits)|
||Large BCD (64 bits)|
||Low limit of data from PLC|
||High limit of data from PLC|
||Low limit of data from User|
||High limit of data from User|
|Requested Data Type
||Convert raw data type to the requested data type|
The LowRaw,HighRaw,LowEng and HighEng are optional and are used to specify the scaling to be performed when reading and writing to the PLC. e.g. Modbus0.40001,,0,9999,0,100 to scale the variable to display percentage.
There is usually no need to add tags to the server. The whole data address space of the device is always directly addressable. e.g. If you have a Modbus device 'Device1' and you want to access 40002. Use the itemID Device1.40002. The access path is not used. Use the built-in OPC explorer to connect to IOServer. You will see the addressing format for the device via the browser interface when you try to add an item to a group.
If the user wants to enforce their naming convention, they can drag and drop tag definitions into the "Tags List" folder in IOServer. Click on the "Tags List", then drag your tags list from Wordpad, Word, or any drag and drop enabled application and drop it into the Tags List folder. To export data from IOServer press the CTRL key, left mouse click the folder, and drag it into your document. For Tags List, the first field is the user tag name, the second field is the variable name. The type and comment fields are optional user data that are not used by IOServer. The fields are tab-separated. All user-defined tags are grouped in the "Tags" device.
eg. to configure your own tree structured tag names.
Use wordpad.exe (or Word) to type in your tag list
Click on the Tags List folder in IOServer. Select the above lines and drag them to the Tags List folder in IOServer. IOServer should now have the 5 User tags defined.
From Excel you should be able to see the following tags
The "Tags." prefix may be omitted when using tags from the tags list.
IOServer can access the whole address space of a device. Instead of enumerating all possible variable address in the device, IOServer use a hint system to show the user what address range and type is possible for all the possible addresses of a device.
||Expect a five digit decimal number between 1 and 65536|
||Expect a 2 digit decimal number between 1 and 32|
||Expect a 1 digit decimal number between 1 and 8|
||Expect a decimal number between 0 and 65535|
||Expect a decimal number between 0 and 255|
||Expect a decimal number between 7 and 999|
||Expect an octal number between octal 0 and octal 277|
||Expect a hexadecimal number between 0 and 1fff|
System Device Variables
These variables are available in every device.
||Return a value of 0 if the device is offline. A value of 1 if the device is online. Writing a 0 to this variable will disconnect the parent port. Writing a 1 to this variable will reconnect the parent port.|
||Export the entire configuration of IOServer to the text file specified by writing to this variable|
||Port Communication Statistics. Statistics Error to CharRx can be reset to 0 by writing any value to that variable. Individual device statistics are not available.
||Number of communication errors|
||CRC/Checksum error detected|
||Number of timeout|
||Number retries attempt|
||Number of frames transmitted|
||Number of frames received|
||Number of characters transmitted|
||Number of characters received|
||% Bandwidth usage of port.|
||Time difference in microseconds between IOServer internal clock and operating system clock. Use Long to read this variable.|
||Total number of bytes by all OPC Clients|
||Number of frames transmitted by device|
||Number of frames received by device|
||Local IP address|
||Remote IP Address|
||Telephone number of active outgoing call.
||Connected to this number|
||Connecting to this number|
||DCD asserted with no current outgoing call|
||Number of concurrent connections|
||Number of logins received|
Using IOServer with Wonderware Intouch