...
Create a new device
| To create a new device, go to [Tools] → [ I/O Devices] or click on the I/O Device Name: Give a device name. This name will be used in the tag configuration window of the database accompanied by the ‘Station Name’. |
Select a device type | After clicking the [Ok] button on the previous step, the ‘Ethernet Communication Configuration’ dialog box will pop up. Select ‘OMRON CS/CJ Series Enet' as the 'Device Type’ and click 'TCP'. If UDP is setup at the PLC communication configuration, 'UDP' can be used.
See the Communication Configuration section for more information. |
Create a station | Move to the [Station] tab of the 'Ethernet Communication Configuration' window. In this dialog box, all the connected PLC stations can be configured and registered to the Xpanel. Station Name: ST1 Give a name to the PLC. This name will be used in the database window accompanied by the ‘Device Name’. Station Type: HostLink (no other type can be selected). Network ID: This field has no effect. Node ID: Set "Node ID" of PLC. Some PLCs use the 4th digit number of the IP address as the "Node ID". Unit ID: Set the "Unit ID" of the PLC. Generally, it is '0'. IP Address: Write the IP address of the PLC. Socket Port Number: The default is 9600. It must match with the PLC. 16Bit Data Swap: This field has no effect. 32Bit Data Swap: This field has no effect. String Data Swap: Data is obtained by switching between high and low byte in string data. Comm. Error Message Pop Up: When this item is checked, Xpanel displays a communication error message box for every Rx and Tx error. Otherwise (unchecked), Xpanel does not display a message for communication errors. This message box will close automatically after a few seconds. Fixed POWEL XPANEL Socket Port: N/A See the Communication Configuration section for more information about the remaining parameters. |
...
CS/CJ Series Communication Setting (Example CJ2M CPU35)
External Rotary Switch Setting
The node number shows hexadecimal on screen.
Set the UNIT number.
Set the NODE number.
Built-in EtherNet/IP Port Setting
Select [IO Table/Unit Setup] as shown below.
Select [1500] CJEIP21 (Built-in EtherNet/IP Port for CJ2M)(Unit:0) at Inner Port/Inner Board. (Select “TCP/IP” and write the IP number of the PLC EtherNet/IP at “IP Address”.
Select the [FINS/TCP] tab and choose the ‘Default’ option of the ‘FINS/TCP Port’.
Click ‘Start with Settings Inherited' as shown below.
Check the Net, Node, and Unit.
Select [Start Routing table] as shown below.
Select “Unit 00 (Ethernet/IP)” and insert CPU SIOU as shown in the picture below.
NJ5xx Series (Built-in EtherNet/IP Port)
Built-in EtherNet/IP Port Setting
Select [Controller Setup] → [Operation Settings].
Refer to the picture below and add a setting to the “Local Network Table”.
Select [Controller Setup] → [Built-in EtherNet/IP Port Settings]. Select “TCP/IP Settings” and set IP address of PLC EtherNet/IP port.
Select [FINS Settings] and set the “Node address of built-in EtherNet/IP port” and the “FINS/UDP port number” as shown below.
FINS Data Block Registration
Select [Data] → [Global Variables].
Right-click and select “Create New”.
For each item, register a Name, Data Type, and an AT (see image below).
After completing the settings, click [Controller] → [Synchronization] to download it to the PLC. Reset the PLC power just in case the download setting does not work properly.
Name: It is a variable name that is used in the PLC program.
Data Type: Register the data type of the variable. In order to easily configure the communication setting, choose “Array Type”.
AT: Register the device format through FINS communication. Refer to the table shown below.
Area | Format |
CIO Area | %0 , %10... |
Work Area | %W0, %W100... |
Holding Area | %H0, %H50... |
DM Area | %D0, %D150... |
EM Area | %E0_0, %E1_10... |
Supported PLC Memories
Area | Symbol | Digital Tag | Analog Tag |
CIO Area | CIO | CIO0.0 - CIO6143.15 | CIO0 - CIO6143 |
Work Area | W | W0.0 - W511.15 | W0 - W511 |
Holding Area | H | H0.0 - H511.15 | H0 - H511 |
AR Area | A | A0.0 - A959.15 | A0 - A959 |
T/C Status | TC | TC0 - TC4095 | - |
T/C PValue | PV | - | PV0 - PV4095 |
DM Area | D | D0.0 - D9999.15 | D0 - D9999 |
EM Area | EX_ (x:0~F) | E0_0.0 - EF_32767.15 | E0_0 - EF_32767 |
...
You can configure the cable and allocation pin number of RJ45 as shown below.
...
RJ45 Connector | RJ45 Jack |
Direct Cable: Host ↔︎ HUB
...
Cable | No | Color | Color | No | Cable |
1 | Orange/White | Orange/White | 1 | ||
2 | Orange | Orange | 2 | ||
3 | Green/White | Green/White | 3 | ||
4 | Blue | Blue | 4 | ||
5 | Blue/White | Blue/White | 5 | ||
6 | Green | Green | 6 | ||
7 | Brown/White | Brown/White | 7 | ||
8 | Brown | Brown | 8 |
Crossover Cable: Host ↔︎ Host
...
Cable | No | Color | Color | No | Cable |
1 | Orange/White | Green/White | 1 | ||
2 | Orange | Green | 2 | ||
3 | Green/White | Orange/White | 3 | ||
4 | Blue | Blue | 4 | ||
5 | Blue/White | Blue/White | 5 | ||
6 | Green | Orange | 6 | ||
7 | Brown/White | Brown/White | 7 | ||
8 | Brown | Brown | 8 |