Fuji Micrex SX Ethernet

Communication Setup: Xpanel

Create a new device

 

To configure the communication device, go to [Tools] → [I/O Devices] or click the icon in the main menu. The ‘I/O Configuration’ dialog box will show up. Click on the [New Device] button.

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 selecting the [OK] button on the previous step, the ‘Ethernet Communication Configuration’ dialog box will pop up as shown in the following picture.

Select ‘FUJI Micrex SX’ in the ‘Device Type’ dropdown menu, and configure the proper Ethernet communication parameters.

Note that the ‘FUJI Micrex SX’ driver supports TCP/IP protocol stack only.

Initialize the Tx Frame When Timeout Occurs: This option provides a safety solution for troubled communication. If this option was checked and a communication error occurred, the system would delete the remaining control frames (data transmit frames from Xpanel to PLC) which were not transmitted but queued in the communication buffer of Xpanel.

See the Communication Configuration section for more information.

Create a station

Move to the [Station] tab of the ‘Ethernet Communication Configuration’ dialog box and click [Add Station]. In this dialog box, all the connected PLC stations can be configured and registered to the Xpanel.

Station Name: Give a name to the PLC. This name will be used in the database window accompanied by the ‘Device Name’.

Station Type: Choose the type of connected PLC among the ‘NPL1L-ETn’.

Network ID: This field has no meaning in this driver (ignored during runtime).

Socket Port No: The socket port number should be matched with the [reference number of local port+251] or [reference number of local port+253]. The reference number of the local port is configured in DWin300 as shown in the following figure.

In this example, the socket port number should be 507(256+251) or 509(256+253)

16Bit Data Swap: This field has no effect.

32Bit Data Swap: This field has no effect.

Using Checksum: This field has no effect.

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.

See the Communication Configuration section for more information about the remaining parameters.

Addressing and Function Codes

The following table shows the list of valid address symbols and their usage examples. The symbol character has to be placed in the first position of the address string.

Address Format

 

The ‘WordNo’ and ‘BitNo’ are represented by a decimal number (BitNo: 0..15).

Supported Symbols

 

The memory areas listed above are provided for general purposes.

The actual range of each area should be checked with the manual of connected CPU type.

Xpanel treats the word address (%?W_) and double word address (%?D_) equally. Addresses represent a single word memory.

The actual data type should be declared in the [Advanced] tab in the tag configuration window as shown in the following picture.

 

Communication Cable Wiring

This interface is satisfied with standard IEEE802.3 for the 10BASE-T/100BASE-TX. 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

Support Function Table

The following table shows the list of functions that are supported by the ‘FUJI Micrex SX’ communication driver.

Function

Support

Remark

Block Data Read

O

 

Block Data Write

O

 

String Real Tag

O

 

Word Swap

O

 

Dword Swap

O

 

Block Data Read

This function makes it possible to read bulk data. It will be applied when you use Recipe, Data Bridge, and Trends on the Xpanel.

Block Data Write

This function makes it possible to write bulk data. It will be applied when you use Recipe, Data Bridge, and Trends on the Xpanel.

String Real Tag

It allows communication of the string data in the Xpanel to the PLC.

Word Swap

This function swaps bytes of all word- or double-word-sized data. It depends on the 16-bit Data Swap configuration.

Dword Swap

This function swaps words of all double-word-sized data. It depends on the 32-bit Data Swap configuration.

Â