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 4 Next »

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

 

 Communication Setup: Xpanel

Create a new device

For creating a new device activate the menu Tools -> I/O Devices or the (blue star) icon in the toolbar. The following picture shows the first step of 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 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.

Create a station

Move to the Station tab of [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

This field has no effect.

Socket Port No.

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

16Bit Data Swap

This field has no meaning with this driver.

32Bit Data Swap

This field has no meaning with this driver.

Using Checksum

This field has no effect. This driver is always checking the BCC.

Comm. Error Message Popup

If this item is checked, the Xpanel displays a communication error notification message at every Rx and Tx error. Otherwise (unchecked), the Xpanel does not display the message when an Rx or Tx error occurs. Only when there is a data transmission (writing a TAG value to the station) error will a notification message popup. This message box will close automatically 5 seconds after.

 

 Communication Configuration

Set module configuration by following steps for 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

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

This interface is satisfied with standard IEEE802.3 about the 10BaseT/100BaseTX.

         You can make cable and allocation pin number of RJ45 as the following figure.

  • No labels