Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This document describes the YOKOGAWA FAM3 (Ethernet) communication driver for Xpanel.

...

 

...

Communication Setup: Xpanel

Create a new device

For creating a new device activate , select the menu [Tools -> ] → [I/O Devices] or the (blue star) icon in the toolbar. The following picture shows the first step of in creating a new device.

I/O Device Name: Give the device a name. This name will be used in the TAG tag configuration window of the database accompanied by the Station Name‘Station Name’.

Select a network type

 

I/O Device Name: YOKOGAWA Ethernet

After selecting the OK [Ok] button of the previous step, the [Ethernet ‘Ethernet Communication Configuration] Configuration’ dialog box will be popup as shown in the following picture.

  • Initialize the Tx Frame When Time Occurs

This option provides a safe solution for communication in troubled situations. If this option was checked and there was a communication error 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 about the remaining parameters.

Create a station

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

Image Added

Each field can be configured with the following rules.:

Image Removed

Station Name

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

Station Type

Choose the Yokogawa ‘Yokogawa FA-M3 M3’(no other type).

Network ID

N/A

Socket Port No.

Input 12289/12291 depending on the TCP/UDP configuration of the PLC.

16Bit Data Swap

16Bit Data Swap: This option swaps bytes for all word- or double-word-sized data. The following diagram shows an example of byte-swapping:

Almost all data types will be influenced by this option except INT8 / UINT8 / BCD8 / UBCD8.

32Bit Data Swap

32Bit Data Swap: This option swaps words of all double-word-sized data. The following diagram shows an example of word swapping:

Tag values with data types INT32 / UINT32 / BCD32 / UBDC32 / FLOAT will be influenced by this option.

String Data Swap

Swaps the upper and lower bytes of string word data.

Using Checksum

This field has no effect. This driver always uses a BCC checksum.

Comm. Error Message Popup

Use a pop-up message when a communication error occurs.

 

 Communication Configuration

Communication Configuration

Set module configuration by following the steps for to connect to Xpanel as below.

...

Refer to the table below to change TCP/IP or Port.

Protocol Type

Port No.

Communication Type

Default Value

HLLINK_PROTOCOL_A

12289

0 = TCP/IP, 1 = UDP/IP

TCP/IP

HLLINK_PROTOCOL_B

12291

0 = TCP/IP, 1 = UDP/IP

TCP/IP

...

...

Address & Function Codes

Address Format

Tag Type

Format

Example

Analog

[Symbol][Decimal Code]

X201 or Y300

Digital

[Symbol][Decimal Code]

E0201 or M9900

Supported Symbols

...

Symbol

Bit Range

Word Range

Area

X

X00201 - X71664

X00201 - X71649

Input relay

Y

Y00201 - Y71664

Y00201 - Y71649

Output relay

I

I00001 - I16384

I00001 - I16369

Internal relay

E

E0001 - E4096

E0001 - E4081

Shared relay

M

M0001 - M9984

M0001 - M9969

Special relay

TU

TU0001 - TU2048

 

Timer relay

CU

CU0001 - CU2048

 

Counter relay

L

L00001 - L78192

L00001 - L78177

Link relay

D

 

D00001 - D16384

Data register

F

 

F00001 - F99999

Cache register

B

 

B00001 - B32768

File register

R

 

R0001 - R4096

Shared register

V

 

V001 - V256

Special register

Z

 

Z0001 - Z1024

Special register

W

 

W00001 - W78192

Link register

TS

 

TS0001 - TS2048

Timer preset value

TP

 

TP0001 - TP2048

Timer current value

TI

 

TI0001 - TI2048

Timer current value

CS

 

CS0001 - CS2048

Counter preset value

CP

 

CP0001 - CP2048

Countercurrent value

CI

 

CI0001 - CI2048

Countercurrent value

The memory areas listed above are provided for general purposes.

...

 

 Communication Cable Wiring

Communication Cable Wiring

This interface is satisfied with standard IEEE802.3 about the 10BaseT/100BaseTX.          You can make You can configure the cable and allocation pin number of RJ45 as the following figure.

...