Using the Workbench to
define an Omron CJ or CS or CP device
The Workbench provides the view into a node's installation, configuration and resource definition. The Workbench also provides access and control over those resources.
A device is a resource that can represent a physical device, such as a programmable logic controller (PLC), an RF tag reader or a sensor. A device can also be defined in one node to represent a device that is defined and supported in another node. This allows your application solution to have access to devices and their data independent of their location or connectivity details.
This section describes defining the following devices supported by the Omron driver:
- Omron CJ1
- Omron CJ2
- Omron CS1
- Omron CP1
To define a device that represents an Omron device, follow these steps:
- From the Workbench left pane, expand the node where
you want to define the device.
- Select the Devices icon.
The Devices window appears as the right pane.
The Devices window provides a table format that lists the previously defined devices. - To define a new device, select New
at the bottom of the pane.
The Device window appears. The available device types are determined by the device support that is installed in the node. - Use the Type down-arrow, to select
CJ1 CPU or CJ2 CPU or CS1 CPU or
CP1 CPU under the
Omron group.
The Device window changes to accommodate the selected device type. - To define a device that represents a CJ1, CJ2,
CS1 or CP1 PLC, set this new device’s parameters as
follows:
Parameter Description Name Enter a name for the Omron PLC device. Type Select CJ1 or CJ2 or CS1 or CP1. Protocol Select TCP or UDP protocols. IP Address Enter the IP Address of the device. Port Enter the port number used by the device. The default is 9600, but may be changed. Timeout(msec) Enter the timeout value to use when communicating with this device. This is entered in milliseconds. Source Node If using TCP, then this field should be set to 0. Refer to your CX-Programmer manual and device configuration for this parameter. Destination Node If using TCP, then this field should be set to 0,. Refer to your CX-Programmer manual and device configuration for this parameter. You can also specify advanced settings for the Omron CJ1 or or CJ2 or CS1 or CP1 device. Select the Advanced Properties checkbox.
Parameter Description Source Network Refer to your CX-Programmer manual and device configuration for this parameter. Source Unit Refer to your CX-Programmer manual and device configuration for this parameter. Destination Network Refer to your CX-Programmer manual and device configuration for this parameter. Destination Unit Refer to your CX-Programmer manual and device configuration for this parameter. Per Variable Security Select False to disable the allocation of additional memory to track User to Variable access for all Variables in this Device. Select True to enable this feature if required. For more information, see Setting up Read Write per device variable. - Select Validate to have the
parameters validated and to connect to the Omron
device. If there is a problem connecting to the Omron
device, an error code will be displayed.
- Select Save to save the device
definition. The device will appear in the Devices
window list of devices.
- You can now control the device
(Start, Stop), access
the device’s variables by using the
Variables window, and build solutions
that use the device’s resources.