Set the station ID of a device
- Last UpdatedSep 16, 2024
- 2 minute read
Set the station ID for a selected device so that the Communication Driver can identify and communicate with it on the network.
Syntax
For Ethernet communication, the device's station ID must use the following syntax:
<IP address>:<port number>:<network address>:<node number>:<Unit ID>:<Mode>
For serial communication, the device's station ID must use the following syntax:
<subnet>:<node>:[unit ID]
Note: Connecting to a PLC via UDP communication, routing through multiple remote PLCs over a secondary physical Ethernet subnet is not supported.
The following syntax diagram shows all of the possible options:
{ | IP address:port number: } subnet:node { | :unit ID { | : { CS1 | CV } } }
where,
IP address: The IP address of the device on your UDP/IP Ethernet network.
port number: The port number is the UDP port, used by the FINS protocol on the device. It is typically 9600, but it can be changed in the device settings.
network address: The network address is the device’s subnet address, according to the FINS protocol.
node number: The device’s node number (1-254) on the specified FINS subnet. If you do not specify a value, the last used node number is automatically inserted.
Unit ID: The ID number used for PC interface, as configured in the PLC program. This parameter is optional; if no value is specified, the default value is 0.
Note: This is not the Unit ID that is configured in the device's hardware settings.
Mode: The FINS communication mode determines the types of Omron devices that the Communication Driver can communicate with. This parameter is optional; if no value is specified, the default value is configured in the global setting.
This Communication Driver does not support simultaneous connections when communicating with devices that use either the old Ethernet communication modules (e.g., CS1W-ETN01, CS1W-ETN11, CJ1W-ETN11) or the new Ethernet communication modules that have "ETN11-compatible mode" enabled (e.g., CS1W-ETN21, CJ1W- ETN21). To address this problem, configure each device to use a different port number for the FINS protocol (e.g., 9600, 9601), and then when you specify the station ID for each device, include the complete IP address and port number (e.g., 192.168.1.10:9600, 192.168.1.20:9601).
This Communication Driver should support simultaneous connections when communicating with devices that use only the new Ethernet communication modules that are able to send responses to the source, even if the port number used by the FINS protocol on the source is different from port numbers used by the FINS protocol on the target devices. However, you must make sure those modules do not have "ETN11-compatible mode" enabled.
Examples
Examples of valid station IDs:
192.168.2.22:9600:0:22:0:CS1
0:1:0
In case of multiple devices being added to the OmronFINS Communication Driver configuration, the examples of station IDs are:
Station ID of all devices except the last device added to the configuration: 192.168.2.22:9600:0:22:0:CS1
Station ID of the last device added to the configuration: 192.168.2.22:9600:0:22