Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 6 Next »

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

Communication Setup: Xpanel

Create a new device

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

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

Select a network type

 

I/O Device Name: YOKOGAWA Ethernet

After selecting the [Ok] button of the previous step, the ‘Ethernet Communication Configuration’ dialog box will 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 the ‘Ethernet Communication Configuration’ dialog box. In this dialog box, all the connected PLC stations can be configured and registered to the Xpanel.

Each field can be configured with the following rules:

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 ‘Yokogawa FA-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 to connect to Xpanel as below.

(1) Communication Configuration

WideField3

Default Setting

- TCP/IP: 192.168.0.2 (each IP of the PLCs and Xpanels must be different)

- Subnet Mask: 255.255.255.0

(2) Communication Port

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.

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

(1) Change the value from the default value '0' when using the Multi-CPU Module.

(2) Ex) X00201

        X: Device Name (symbol)

        0: Module unit No. (0~7)

        02: Module Slot No. (01~16)

        01: Data Position No. (1~64)

(3) A number of the first digit for link relay (L) and link register (W) refer to the link number. And the last 4 digits refer to the address of the device.

        Ex) link relay L71024

        L: Device Name(Symbol)

        7: Link No. ( 0~7 )

        1024: Address (L: 0001~8192 / W: 0001~4096)

The actual data type should be declared in the ‘Advance’ configuration tab in the TAG database as shown in the following picture.

 

 Communication Cable Wiring

Communication Cable Wiring

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

  • No labels