EtherNet/IP Addresses in TransSECS and MIStudio
There are several separate address servers in MIStudio and TranSECS Devices for EtherNet/IP:
To read/write separate address tags:
- Int Server
- Float Server
- Bool Server
- String Server
and to read/write Arrays:
- Array Server
Use the Array Server if you need to access the whole array of values. if you need one specific value from the array, use the single read/write server and see information below on specifying the element of the array.
EtherNet/IP Integer Server
The Int Sever for EtherNet/IP is added in the Devices node of MIStudio or TransSECS by right clicking on the EtherNet/IP device and selecting “Integer”:
This server can read any integer integer types: Short (SInt), Word (Int), Double Word (DInt), or Long Word (LInt). If you are going to write back to the PLC you must select the data type. This defaults to Word (Int).
In the MIStudio Diagram Windows the properties to configure this sever are the same as in the Devices node except that you need to select a previously configured EtherNet/IP Device Servers for the Device Name. If you are using the Devices node of MIStudio or TransSECS, this Device Name will be automatically set to the device you are adding these servers to and will not be seen as a property to configure.
The properties to configure are:
- Name
- Tag Name
- Signed ?
- Slot
- Timebase
- Write As
- Script (see documentation on scripting)
Name is any alphanumeric name for the server. This must start with a letter and may contain underscores and spaces, but no other non-alphanumeric characters.
Tag Name is the EtherNet/IP tag name. It may contain an array index if the TagName references an array. For example, TagName[0] to get the 1st value of the array (the array indexes are 0-based). This tag name may also contain a decimal with an index for a bit, such as TagName.2, which will get the 3rd bit of the integer. In addition you can combine the array element syntax with the bit syntax, for example TagName[8].7 which is the 8th bit of the integer at the 9th element of the array.
Signed ? is true or false whether or not this is a signed integer value.
Slot defaults to 0
Timebase is how often to read the PLC for this value. Set this to 0.0 if you are only using this address to write to the PLC.
Write As is SInt, Int, DInt, or LInt. This defaults to Int. This setting will determine the format of how new values are written to the PLC from this server.
EtherNet/IP Float (Real) Server
The Real (floating point value) Sever for EtherNet/IP is added in the Devices node of MIStudio or TransSECS by right clicking on the EtherNet/IP device and selecting “Real”.
This server is used to read a float from the PLC.
In MIStudio you need to select a Device Name, which is one of the previously set up EtherNet/IP Device drivers. If you are using the Devices node of MIStudio or TransSECS, this Device Name will be automatically set to the device you are adding these servers to and will not be seen as a property to configure.
The properties to configure are:
- Name
- Tag Name
- Slot
- Timebase
- Script (see documentation on scripting)
Name is any alphanumeric name for the server. This must start with a letter and may contain underscores and spaces, but no other non-alphanumeric characters.
Tag Name is the EtherNet/IP tag name. It may also contain an array index if TagName is an array. For example, TagName[4] to get the 5th value of the array (the array indexes are 0-based).
Slot defaults to 0
Timebase is how often to read the PLC for this value. Set this to 0.0 if you are only using this address to write to the PLC.
EtherNet/IP Boolean Server
The Boolean Sever for EtherNet/IP can be added in the Devices node of MIStudio or TransSECS by right clicking on the EtherNet/IP device and selecting “Boolean”.
This server is used to read a boolean value from the PLC.
In MIStudio you need to select a Device Name, which is one of the previously set up EtherNet/IP Device drivers. If you are using the Devices node of MIStudio or TransSECS, this Device Name will be automatically set to the device you are adding these servers to and will not be seen as a property to configure.
The properties to configure are:
- Name
- Tag Name
- Slot
- Timebase
- Script (see documentation on scripting)
Name is any alphanumeric name for the server. This must start with a letter and may contain underscores and spaces, but no other non-alphanumeric characters.
Tag Name is the EtherNet/IP tag name. It may also contain an array index if TagName is an array. For example, TagName[4] to get the 5th value of the array (the array indexes are 0-based).
Slot defaults to 0
Timebase is how often to read the PLC for this value. Set this to 0.0 if you are only using this address to write to the PLC.
EtherNet/IP String Server
The String Sever for EtherNet/IP can be added in the Devices node of MIStudio or TransSECS by right clicking on the EtherNet/IP device and selecting “String”.
This server is used to read a String value from the PLC.
In MIStudio you need to select a Device Name, which is one of the previously set up EtherNet/IP Device drivers. If you are using the Devices node of MIStudio or TransSECS, this Device Name will be automatically set to the device you are adding these servers to and will not be seen as a property to configure.
The properties to configure are:
- Name
- Tag Name
- Slot
- Timebase
- Script (see documentation on scripting)
Name is any alphanumeric name for the server. This must start with a letter and may contain underscores and spaces, but no other non-alphanumeric characters.
Tag Name is the EtherNet/IP tag name. It may also contain an array index if TagName is an array. For example, TagName[4] to get the 5th value of the array (the array indexes are 0-based).
Slot defaults to 0
Timebase is how often to read the PLC for this value. Set this to 0.0 if you are only using this address to write to the PLC.
EtherNet/IP Array Server
An Array Sever for EtherNet/IP is added in the Devices node of MIStudio or TransSECS by right clicking on the EtherNet/IP device and selecting “Array”.
This server is used to read an Array defined by an Array tag from the PLC.
In MIStudio you need to select a Device Name, which is one of the previously set up EtherNet/IP Device drivers. If you are using the Devices node of MIStudio or TransSECS, this Device Name will be automatically set to the device you are adding these servers to and will not be seen as a property to configure.
The properties to configure are:
- Name
- Tag Name
- Signed ?
- Value Type
- Size
- Slot
- Timebase
- Script (see documentation on scripting)
Name is any alphanumeric name for the server. This must start with a letter and may contain underscores and spaces, but no other non-alphanumeric characters.
Tag Name is the EtherNet/IP base array tag name.
Signed ? (Only applies to Integer type arrays, whether or not to read as a signed number)
Value Type is the type of the data as defined in the PLC
Size is the size of the array and must be specified
Slot defaults to 0
Timebase is how often to read the PLC for this value. Set this to 0.0 if you are only using this address to write to the PLC.