0% found this document useful (0 votes)
42 views62 pages

Ethernet E

This document provides specifications for a communication unit, including: 1. Performance specifications for Ethernet communication, such as transfer speed. 2. Details on the Ethernet I/F unit model, dimensions, and part names/functions. 3. Instructions for mounting the Ethernet I/F unit and wiring for different connection types. 4. An example system connection diagram and descriptions of connecting via RS-232C/RS-485 or directly to a PLC over Ethernet.

Uploaded by

Andre Costa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views62 pages

Ethernet E

This document provides specifications for a communication unit, including: 1. Performance specifications for Ethernet communication, such as transfer speed. 2. Details on the Ethernet I/F unit model, dimensions, and part names/functions. 3. Instructions for mounting the Ethernet I/F unit and wiring for different connection types. 4. An example system connection diagram and descriptions of connecting via RS-232C/RS-485 or directly to a PLC over Ethernet.

Uploaded by

Andre Costa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 62

Specifications for Communication Unit

V612

run

stop

STATION NO. MODE


7 8 B C D
A
6

E
9

7 8 9

F0 1
5

0
1
4

2
6

3 2 3 4 5

7 8
ON
6

9
5

0 1

8 7 6 5 4 3 2 1
4

3 2

B RATE

V610

FA C T O RY

ACE

PROGRAMMER

V608

run

stop

STATION NO. MODE


7 8 B C D
A
6

E
9

7 8 9

F0 1
5

0 1
4

2
6

3 2 3 4 5

7 8
ON
6

9
5

0 1

8 7 6 5 4 3 2 1
4

3 2

B RATE
Contents

Capter 1 Outline ............................................................ 1-1

Capter 2 Specifications ................................................. 2-1


Specifications of Ethernet communication ........................ 2-1
Performance specifications ................................................ 2-1

Capter 3 Setting of the Ethernet I/F unit and wiring ....... 3-1
Ethernet I/F unit ................................................................. 3-1
Model of the Ethernet I/F unit ............................................. 3-1
Dimensions of the Ethernet I/F unit (CU-03) ...................... 3-1
Names of the parts and functions ...................................... 3-2
Mounting the Ethernet I/F unit ........................................... 3-3
Wiring ................................................................................ 3-4
In case of connecting by AUI .................................................. 3-4
In case of connecting by 10BASE-T ...................................... 3-5

Capter 4 System setting ................................................ 4-1


Example of the connection ................................................ 4-1
(A) Connection by RS-232C or RS-485 ............................ 4-2
(B) Connection to the PLC on the Ethernet ....................... 4-3

Capter 5 Editing the Network Table ............................... 5-1


Network Table .................................................................... 5-1
Starting and closing the software ...................................... 5-2
Start ........................................................................................ 5-2
Close ...................................................................................... 5-2
Menu bar and icons ........................................................... 5-2
How to set the Network Table ............................................ 5-4
Capter 6 Macro ............................................................. 6-1
Macro commands .............................................................. 6-1
EREAD ............................................................................... 6-1
EWRITE ............................................................................. 6-2
SEND ................................................................................. 6-3

Capter 7 System addresses .......................................... 7-1


List of the addresses .......................................................... 7-1
Addresses ........................................................................... 7-3

Capter 8 Transferring the screen data ........................... 8-1


How to transfer the data .................................................... 8-1
Notes ................................................................................. 8-3
Setting procedure ................................................................... 8-3

Capter 9 Ethernet access functions(HKEtn10.DLL) ...... 9-1


Sample folder .................................................................... 9-1
Specifications of functions ................................................. 9-2
List of the functions ........................................................ 9-2
Read .............................................................................. 9-3
Read PLC word address ................................................... 9-3
Read PLC double-word address ....................................... 9-3
Read internal word address .............................................. 9-4
Read memory card word address ..................................... 9-5
Read PLC bit address ....................................................... 9-5
Read internal bit address .................................................. 9-6
Read memory card bit address ......................................... 9-6
Read PLC word address (block) ....................................... 9-7
Write .............................................................................. 9-8
Write PLC word address ................................................... 9-8
Write PLC double-word address ....................................... 9-8
Write internal word address .............................................. 9-9
Write PLC bit address ..................................................... 9-10
Write memory card word address ................................... 9-10
Write internal bit address ................................................ 9-11
Write memory card bit address ....................................... 9-11
Others .......................................................................... 9-12
Initialization function ........................................................ 9-12
Receive wait from V6 ...................................................... 9-12
Cancel Recvfrom() function ............................................ 9-13

Request connection information ..................................... 9-13


Close processing ............................................................ 9-13
Get source's IP address .................................................. 9-13
Get contents of error ....................................................... 9-14
How to communicate with the server .............................. 9-15
In case requesting the data from the V6 to the server ......... 9-15
In case requesting the data from the server to the V6 ......... 9-16

Capter 10 Error display ................................................. 10-1


Communication error ....................................................... 10-1
Errors caused by execution of Macro commands ........... 10-3
Check .............................................................................. 10-4
Outline

Outline
1 Outline

A CU-03, an Ethernet I/F unit, is the unit for connecting the V6 to the Ethernet,
and supports the UDP/IP protocol(*P1-3).

Transferring the contents of the memory devices


• The contents of the memory devices can be transferred between the
PLCs which are connected to the V6 via upper link unit or internal
memories inside V6 units by using the Macro commands (EREAD/
EWRITE).
Ethernet

V6

RS-232C
RS-485
run

stop

PLC PROGRAMMER

Communication between the server and the V6


• HKEtn10.dll is provided to create the application by using VC++ or VB
etc. to access to the memory devices such as V6 internal memories,
memory card, memory devices of the PLC which is connected via upper
link unit. - - - - - (a)
• The Macro command (SEND) enables the V6 to access to the server.
- - - - - (b) Server

Application

(a) (b)

Ethernet

V6

RS-232C
RS-485
run

stop

PLC PROGRAMMER

1-1
Outline

• Screen data can be transferred to the V6 by using the V-SFTE on the


server.

Server

V-SFTE

Ethernet

V6
PROGRAMMER

*PLC compatible with Ethernet

RS-232C
RS-485
run

stop

PLC

Communication between the PLC that compatible with Ethernet and the V6
• V6 can communicate with the PLC which is connected through Ethernet.

Ethernet

FA C T O RY

ACE

PROGRAMMER

PLC:1 V6:1 V6:2 V6:n


*PLC compatible with Ethernet

• Multiple PLCs on the Ethernet can be accessed.

Ethernet

run
run
stop
stop

PLC:1 PLC:n V6:1 V6:n


*PLC compatible with Ethernet

1-2
Outline

1
UDP/IP (User Datagram Protocol / Internet Protocol)

Outline
Data is sent by specifying the IP address of the target, as communication is
performed without the setting of the connection to the other end.
Data can be sent at faster speed, however, there is no guarantee that the
data will be properly delivered. Measures such as user applications should
be taken to make the system more reliable.

Our Ethernet I/F unit, CU-03, is already ready for it, and no applications for
the unit is required.

Notes
The Ethernet I/F unit, CU-03, is compatible with the following versions. Please
make sure of it before using.

(1) Compatible models


V612, V610, and V608

(2) V-SFTE (screen editing software for V series) Ver. 1.2.8.0 or later

(3) V6 System Program


("SYSTEM PROG. VER." of the Main Menu screen on the V6) Ver. 1.210 or
later

1-3
Outline

Please use this page freely.

1-4
Specifications

2 Specifications
2

Specifications
Specifications of Ethernet communication

Performance specifications
Specifications

Item AUI
10BASE-T
10BASE5 10BASE2
Baud rate 10Mbps

Communication method Base band

Maximum distance 2500m 925m 200m


of the network or (5 segments) (5 segments) (for 1 set of HUB)
maximum node interval
500m 185m 100m
Maximum segment length
(between the node and the HUB)
Maximum number 100pcs/segment 30pcs/segment 2pcs/segment
of the nodes

Minimum node interval 2.5m 0.5m nothing

Ethernet RG58A/U, RG58C/U UTP


Communication cable Coaxial cable (50Ω) (Twisted pair cable without shields)
Coaxial cable (50Ω)
22-26AWG

2-1
Specifications

< Example of the AUI >

segment length

node node

terminator
transceiver

repeater repeater
segment length

segment length
node maximum distance of the node interval
node

node node

Glossary
• Node : terminals on the Ethernet such as V6, PLC, server etc.
Each terminal has an IP address.(*)
• Segment : A section which has terminators at both ends.
• Segment length : The distance between the terminators.
• Maximum distance of the node interval
: The longest distance between the nodes on a network.
• Repeater : A device which is used for passing on a signal to
connect one segment to another.

* For further information on the setting of the IP addresses, refer to P5-4.

2-2
Setting of the Ethernet I/F unit and wiring

3 Setting of the Ethernet I/F unit


and wiring

3
Ethernet I/F unit

Ethernet I/F unit


Model of the Ethernet I/F unit
Our optional Ethernet I/F unit is required to perform Ethernet communication
with the V series.
Prepare the following I/F unit.

V6 model Ethernet I/F unit model


V612
V610 CU-03
V608

Dimensions of the Ethernet I/F unit (CU-03)

(unit:mm)
98

150.5
25

13.6

3-1
Setting of the Ethernet I/F unit and wiring

Names of the parts and functions

ADR - LOW - HI FUSE 0V


10B-T RX TX LNK CI

AUI +12V

(1) LED
Indicates the status of the communication.

Name Contents On Off


RX Data receive status Currently receiving No receiving
TX Data send status Currently sending No sending
LNK Link status (for 10BASE-T only) Normal Error
CI Collision Data collision Normal

(2) Port No. setting switches


The port No. of the V6 specified in the Network Table is set by the lotaly
switches.
< E.g. > The port No. is 1:

ADR - LOW - HI * Make sure the port


0 1 0 1
F 2 F 2
No. of each I/F unit on
C D E

C D E
3 4 5 6

3 4 5 6

the same network is


B

7 7
8 9 A 8 9 A
not duplicated.

(3) Fuse
This is the fuse for supplying 12VDC power source. (Rating 2A)

(4) 10BASE-T connector


This is the connector for connecting to the 10BASE-T.
(conform with IEEE802.3)

(5) AUI connector


This is the connector for connecting the transceiver cable in case of
using 10BASE2 or 10BASE5.

(6) 12VDC power source terminal


The power source is required in case of using AUI.
Voltage drop of the CU-03 (max. 0.7V) should be taken into account for
supplying the power.

3-2
Setting of the Ethernet I/F unit and wiring

Mounting the Ethernet I/F unit

Remove a dust protection seal being pasted behind a V6, and mounting
the Ethernet I/F unit, then fix it with the mounting screws at 3 places with
the mounting screws (M3x8) which is included in the Ethernet I/F unit.
Wire the communication cable.
In the V608 case, insert a spacer at the mounting hole of the upper left,
then fix it with the mounting screws (M3x15).
3
(Tightening of the mounting screws: 3 to 5kgf•cm)

Mounting theEthernet I/F unit


I/F unit

mounting screw (3 places)

CN1

V6

Dimensions when mounting on the V6 unit


(unit: mm)
• V612 • V610
312 288

I/F unit I/F unit 92.3


95.8
16

16

11.5 114.5 8 110


141.5 126
245.2

240

215.2
270

334
310

• V608
220
20

I/F unit
66.1
6

85 85
175

165

230

3-3
Setting of the Ethernet I/F unit and wiring

Wiring
In case of connecting by AUI

10BASE5
The following devices are required in case of connecting with 10BASE5:
• Coaxial cable for 10BASE5
• AUI cable
• N-type connector
• N-type terminator
• Transceiver
• Power supply for the transceiver: 12VDC

10BASE2
The following devices are required in case of connecting with 10BAS2:
• Coaxial cable for 10BASE2
• AUI cable
• T-type connector
• Terminator for 10BASE2
• Transceiver
• Power supply for the transceiver : 12VDC

Transceiver
The transceiver should have the SQE TEST function.
(SQE TEST : Signal Quality Error Test)

Recommended transceiver
Maker Model
Allied Telesis CentreCOM 107

The I/F unit may be broken if the AUI connector is subject to strong force.
Use the AUI cable when connecting to the transceiver.

When the power lamp of the transceiver is not turned on, check the wiring of
12VDC power supply, then replace the fuse (*refer to P3-2) of CU-03.
About the way of replacement, refer to the manual,“CU-03 OPERATING
INSTRUCTIONS,” attached to CU-03.

3-4
Setting of the Ethernet I/F unit and wiring

In case of connecting by 10BASE-T

When the HUB is used:


Straight
10BASE-T 10BASE-T
RJ-45 8Pin RJ-45 8Pin
1 1
2
3
2
3
3
6 6

Wiring
4 4
5 5
7 7
8 8

* Twisted pair cable without shields

When the HUB is not used:


Cross
10BASE-T 10BASE-T
RJ-45 8Pin RJ-45 8Pin
1 3
2 6
3 1
6 2
4 5
5 4
7 8
8 7

* Twisted pair cable without shields

Cable
Use the cables which are recommended by each manufacturer.

Recommended cable (10BASE-T)


Each maker Twisted pair cable category 5

The HUB, the PLC, or the PC may be broken due to the overcurrent if the
cable is connected to either MJ1 or MJ2 port. It is recommended that the
attached [Safety seal] be pasted on the MJ1 and the MJ2.

3-5
Setting of the Ethernet I/F unit and wiring

Please use this page freely.

3-6
System setting

4 System setting

System setting of V-SFTE for communication using the Ethernet I/F unit is ex-
plained as follows. Refer to "Reference Manual" for other setting methods and
the way to use.

4
Example of the connection

Example of the connection


There are two ways of connection between the V6 and the PLC.
(A) Connecting to the PLC with the interface of RS-232C or RS-485 --- P4-2
(B) Connecting to the PLC which is on the Ethernet --- P4-3

Server

Application

Ethernet
(B)

run
run
stop
stop

(A)

PLC compatible with Ethernet PLC compatible with Ethernet


(A)
RS-232C
run
RS-485
stop

The contents of the system setting vary depending on the method selected.
Make sure of the connecting method before setting on the V-SFTE.

4-1
System setting

(A) Connection by RS-232C or RS-485

PLC type setting

Select the PLC to be used from [Item] -> [System Setting] -> [PLC type…] menu.

Comm. Parameter setting

Check the [Use Ethernet] box from [Item] -> [System Setting] -> [Comm. Param-
eter…] menu.

Set the Network Table from [Item] -> [System Setting] -> [Network Table…] menu.
Refer to the chapter 5 for Network Table editing.

4-2
System setting

(B) Connection to the PLC on the Ethernet

PLC type setting

Select the PLC indicated as "XXXX (Ethernet)" from [Item] -> [System Setting] ->
[PLC type] menu.

System setting
As of March, 2000, the PLCs supported are as follows:
Mitsubishi QnA series
Yokogawa FA-M3

Comm. Parameter setting

Set the PLC which the V6 is connected to from [Item] -> [System Setting] ->
[Comm. Parameter…] menu. (*See P4-4.)

"No./ IP address/ Host Name" set in the Network Table


will be displayed. (Refer to Chapter 5.)

4-3
System setting

In case of communicating with more than one identical PLC on the Ethernet,
select [1:n] from [Connection] menu.
In this case, the Read Area/Write Area are set to the PLC specified by [Connect
To].

Set the Network Table from [Item] -> [System Setting] -> [Network Table] menu.
Refer to the chapter 5 for Network Table editing.

* [Connect To] cannot be specified if the Network Table has not been set.

Set the [Comm. Parameter…] again after editing the Network Table from
[Item] -> [System Setting] -> [Network Table…]

4-4
Editting the Network Table

5 Editing the Network Table

Network Table
The Network Table is used for registration of V6, PLC and PC which is
connected to the Ethernet.
In case of the network illustrated as below, the nodes with (*) should be
registered in the Network Table.

Server 5
Application

Netwoek Table
V-SFTE

(*)

Ethernet

(*) (*) (*) (*) (*)


run
run
stop
stop

PLC compatible with Ethernet PLC compatible with Ethernet


RS-232C
run
RS-485
stop

The Network Table is transferred to the V6 together with the screen data.

V-SFTE Transfer

Screen data
I/F driver
PC Network table V6

Editing the table from [Network Table…] menu is required in case "Use
Ethernet" option is checked in the "Comm. Parameter setting" menu.

5-1
Editting the Network Table

Starting and closing the software


Start
Click [Item]-> [System Setting]-> [Network Table…] menu.
A Network Table editing screen is displayed.

Close
Click [File] -> [Exit] or [Close] icon.

or

Menu bar and icons


Each icon represents the following menu:

File menu

5-2
Editting the Network Table

• Import Network Table…


Open the Network Table which is already saved as the file.

• Export Network Table…


Save the Network Table currently edited as a file.

Edit menu

5
• Use Monitor Registration
In case of communicating with the PLC on the Ethernet, only one of V6

Editing the Netwoek Table


units can use monitor registration.
A symbol is indicated on the left side of the Network Table number.

• Cancel Monitor Registration


Click this when canceling the monitor registration.

Display menu
Items checked are displayed on the editing screen.

1
1 3
2

5-3
Editting the Network Table

How to set the Network Table


The network dialog is displayed by double-clicking the No.

(1) Host name


The name of each host such as V6 is specified.

(2) IP address
The IP address is specified.

The IP address should be matched with that of the PLC when using the PLC
which supports Ethernet. For setting of the IP address at the PLC side, refer
to the respective PLC manuals.

The PC should match with that of the PLC when using the PLC which
supports Ethernet. To set the IP address at the PC side, open [Property] of
[TCP/IP] in the [Network] on the Windows.

To connect to the intracompany network, consult with the person in charge of


the network about it.

5-4
Editting the Network Table

IP address
This is an address which is used for recognizing each node on the
Ethernet, and should be unique.

The IP address is 32-bit data which consists of the network address and
the host address.

Network
Class A 0 address (7) Host address (24)

Class B 10 Network address (14) Host address (16)

Class C 110 Network address (21) Host address(8)

< Notation >


A string of 32-bit data is divided into four, and each segment delimited with
a period is in decimal notation.
5
< E.g. > The IP address in the Class C shown as below is represented as

Editing the Netwoek Table


"192.128.1.50."
11000000 10000000 00000001 00110010

(3)Send Timeout
Set the time to monitor the response from the PLC.

(4)Port No.
Set the port number to be used.
* Port number may be fixed depending on the PLC model. Refer to
respective PLC manuals.
< E.g. >
YOKOGAWA FA-M3 12289 : Fixed
MITSUBISHI Q series 5000 : Default

Port No.
More than one application is running on each node, and communicate with
the applications on other nodes. Therefore the port No. is required to
identify which application the data should be passed.

The port No. is 16-bit data (from 0 to 65535), however, the setting range
on the CU-03 is from 1024 to 65535 since some numbers are already
used. It is recommended to use larger number.

(5)Select Port
Select either AUI or 10BASE-T.

5-5
Editting the Network Table

(6)Memory Protect
Write protect the internal memory or memory card memory by checking the
check box.

(7)Default Gateway
Set the default gateway by checking the check box.

Default Gateway
A gateway and a router are used for communicating between different
networks.
The IP address of the gateway (router) should be set to communicate with
the node(s) on other network.

(8)Sub Net Mask


Check the check box in case setting of the sub net mask is required.

Sub Net Mask


A sub net mask is used for dividing one network address into multiple
networks (sub net).
The sub net is assigned by specifying a part of the host address in the IP
address as a sub net address.

Class B 10 Network address (14) Host address (16)

255. 255. 255. 0


Sub net mask 11111111 11111111 11111111 00000000
Network address Sub net address Host address

5-6
Macro

6 Macro

The following explains the macro commands (SEND/EREAD/EWRITE) which


are used for the Ethernet. For other commands, refer to the "Reference
Manual."

Macro commands
EREAD
Words from F1 in the V6 which has the Network Table No. specified by F3 are
moved. F2 designates the number of the word.
Usable devices
Internal Mem. PLC Memory Constant Memory Card Indirect W Word IP Address
F0
F1 6
F2
F3

macro
EREAD : Read in the memory EREAD F0 = F1 C:F2 F3

(E.g.) Macro command at the V6:A side


The macro command is as below when the V6:A reads the data from the
PLC:A, then transfer the data to the PLC:A.

[Description] EREAD D200 = D100 C:2 B

Source IP address
Top address of the target
Number of the words to be transferred
Top address of the source

[Content] Two words starting with D100 in the PLC:B is read in D200 in the
PLC:A.
Ethernet

V6:A EREAD V6:B

D200~201 D100~101
run

stop

FA C T O RY

ACE

PLC:A PROGRAMMER

PLC:B

6-1
Macro

EWRITE
Words starting with the F2 address is written in the F0 address in the V6 which
has the network number assigned by the F1.
F3 designates the number of the word.

Usable devices
Internal Mem. PLC memory Constant Memory card Indirect W Word IP Address
F0
F1
F2
F3

EWRITE : Write in the memory EWRITE F0 F1 = F2 C:F3

E.g.) Macro command at the V6:A side


The macro command is as below when the data in the V6:A is written in the
PLC:B.

[Description] EWRITE D100 B = $u100 C:2


Number of the word to be transferred
Top address of the source
Target IP address
Top address of the target

[Content] Two word starting with $u100 in the V6:A is written in the D100
of the PLC:B.

Ethernet

$u100~101

V6:A EWRITE V6:B

D100~101
run

stop

FA C T O RY

ACE

PLC:A PROGRAMMER
PLC:B

6-2
Macro

SEND
The F0 address is moved to the server which has the Network Table No.
specified by F2.
F1 designates the number of the word to be moved.

Usable device
Internal Mem. PLC Memory Constant Memry Card Indirect W Word IP Address
F0
F1
F2

SEND : Move to server SEND F0 C:F1 TO:F2

E.g.)Macro command at the V6:B side


The macro command is as follows when the data is sent from the V6:B to
the Server:A.

[Description] SEND $u100 = C:2 A

IP address of the target


Number of the word to be moved
Top address of the source

[Content] Two words starting with $u100 in the V6:B is moved to the 6
Server:A

macro
Server : A

Application

Ethernet

SEND
V6:B

run

stop

PLC:B

6-3
Macro

Please use this page freely.

6-4
System Addresses

7 System addresses

The status of the Ethernet is output to the system addresses ($s) of the V6.
This chapter explains only the addresses which the status of the Ethernet is out-
put ($s514 to 619).
For other addresses, refer to the "Reference Manual."

List of the addresses

Address Contents
$s 514 Macro User Request waiting (0: absence 1:presence)
515 The result of executing the Macro User Request waiting
516
517
518 Status of the Ethernet
519
520 Status of the Network Table 0
521 Status of the Network Table 1
522 Status of the Network Table 2
523 Status of the Network Table 3
7
524 Status of the Network Table 4

List of the addresses


525 Status of the Network Table 5
526 Status of the Network Table 6
527 Status of the Network Table 7
528 Status of the Network Table 8
529 Status of the Network Table 9
530 Status of the Network Table 10
531 Status of the Network Table 11
532 Status of the Network Table 12
533 Status of the Network Table 13
534 Status of the Network Table 14
535 Status of the Network Table 15
536 Status of the Network Table 16
537 Status of the Network Table 17
538 Status of the Network Table 18
539 Status of the Network Table 19
540 Status of the Network Table 20

7-1
System Addresses

Address Contents
$u 541 Status of the Network Table 21
542 Status of the Network Table 22
543 Status of the Network Table 23
544 Status of the Network Table 24
545 Status of the Network Table 25
546 Status of the Network Table 26
547 Status of the Network Table 27
548 Status of the Network Table 28
549 Status of the Network Table 29
550 Status of the Network Table 30
551 Status of the Network Table 31
552 Status of the Network Table 32
553 Status of the Network Table 33
554 Status of the Network Table 34
555 Status of the Network Table 35
556 Status of the Network Table 36
557 Status of the Network Table 37
558 Status of the Network Table 38
559 Status of the Network Table 39
560 Status of the Network Table 40
561 Status of the Network Table 41
562 Status of the Network Table 42
563 Status of the Network Table 43
564 Status of the Network Table 44
565 Status of the Network Table 45
566 Status of the Network Table 46
567 Status of the Network Table 47
568 Status of the Network Table 48
569 Status of the Network Table 49
570 Status of the Network Table 50
571 Status of the Network Table 51
572 Status of the Network Table 52
573 Status of the Network Table 53
574 Status of the Network Table 54
575 Status of the Network Table 55
576 Status of the Network Table 56
577 Status of the Network Table 57
578 Status of the Network Table 58
579 Status of the Network Table 59
580 Status of the Network Table 60
581 Status of the Network Table 61
582 Status of the Network Table 62
583 Status of the Network Table 63

7-2
System Addresses

Address Contents
$u 584 Status of the Network Table 64
585 Status of the Network Table 65
586 Status of the Network Table 66
587 Status of the Network Table 67
588 Status of the Network Table 68
589 Status of the Network Table 69
590 Status of the Network Table 70
591 Status of the Network Table 71
592 Status of the Network Table 72
593 Status of the Network Table 73
594 Status of the Network Table 74
595 Status of the Network Table 75
596 Status of the Network Table 76
597 Status of the Network Table 77
598 Status of the Network Table 78
599 Status of the Network Table 79
600 Status of the Network Table 80
601 Status of the Network Table 81
602 Status of the Network Table 82
603 Status of the Network Table 83
604 Status of the Network Table 84
605 Status of the Network Table 85
606 Status of the Network Table 86
607 Status of the Network Table 87 7
608 Status of the Network Table 88

List of the addresses


609 Status of the Network Table 89
610 Status of the Network Table 90
611 Status of the Network Table 91
612 Status of the Network Table 92
613 Status of the Network Table 93
614 Status of the Network Table 94
615 Status of the Network Table 95
616 Status of the Network Table 96
617 Status of the Network Table 97
618 Status of the Network Table 98
619 Status of the Network Table 99

Addresses
$s514, 515
These addresses are relevant to the macro command like [SEND], [EREAD]
and [EWRITE].

7-3
System Addresses

$s514 : Set the executing status of the macro.


In case of [0], the next step of the macro is executed without
waiting the completion of the command when the request to the
Ethernet is performed.
In case of [other than 0], waiting status continues until the
command completes, and then the next step of the macro is
executed.

$s515 : The result of the execution of the macro is stored.


The value other than [0] shows error.
Refer to the error codes (p10-3) for the contents.
In case $s514 is [0], the contents before execution of the
command request is stored.

$s518
Current status of the Ethernet is stored. The value other than [0] is error.
Refer to the error codes (p10-2) for the contents of the error.

$s520 to 619
The status of the Network Table No. 0 to 99.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Starus of usage of Network Table


Processing status of the macro command
Not used
Status of command processing
Result of command processing

• Bit 0 (Status of usage of Network Table)


[0]: Not used
[1]: Used
• Bit1 (Processing status of the macro command)
The status of executing [SEND], [EREAD] or [EWRITE] command
is stored.
[0]: Waiting
[1]: Currently Executing
• Bit 2 (Status of command processing)
[0]: Waiting
[1]: Currently Executing (Read/Write command)
• Bit 3 (Result of command processing)
The result of execution of [SEND], [EREAD] or [EWRITE] is stored.
[0]: Normal
[1]: Error
• Bit 4 to 15 (Reserved)
These bits are currently not used, and should be set to [0].

7-4
Transferring the screen data

8 Transferring the screen data

This chapter explains how to transfer the screen data from the V-SFTE on the
server through the Ethernet.
Regarding how to transfer the screen data by using the V6-CP cable, refer to
the "Reference Manual."

How to transfer the data


1. Click the [Transfer] icon, then the [Transfer] dialog is displayed.

8
Transferring the screen data

2. Check the [ Transfer through Ethernet ] box.

8-1
Transferring the screen data

3. Click the [Detail Setting…] button. The [IP address Setting] dialog is
displayed.

4. Select the V6 which the screen data is transferred to, and then click the
[<<]button.
The [Host name] and the [IP address] are displayed. Click the [OK]
button.

5. Confirm the target IP address, and then click the [PC->] button.

target IP address

6. Transferring the screen starts.

8-2
Transferring the screen data

Notes
In case the V6 is replaced due to trouble, screen data may not be able to be
transferred from the server as the replacement unit may not have the Network
Table in it.
In such case, the following items can be temporarily set from the Main Menu
screen.
• IP Address
• Gate Way
• Sub-mask

The port number is fixed at 10000.


Above mentioned items are updated when the Network Table is transferred
from the V-SFTE on the server.

Setting procedure

1. Press the [ETHERNET] button on the Main Menu screen.

Main Menu 1998-5 -5 07:23:30

FONT I/F DRV VER.0.500


SYSTEM PROG. VER. 1.200 VER.1.100/1.050/1.000 MELSEC AnA/N/U
JAPANESE 32

Screen Data
Information PLC Type : MITUBISHI AnA/N/U series Error : stop
Size : 2883584 Comment : Time-out : 0.50 sec
Retry : 3

Connection : 1:1 Baud Rate : 19200


Signal Lebel : RS232C Data Length : 7
PLC Stat. No. : 0 Stop Bit : 1
Parity : Even
Send Delay : 0msec

Ethernet VER.1.000 ETHERNET


Trans. Speed : 10BASE-T
Stat. No. : 192.168.1.50
Editor:MJ1 PORT : 10000 Memory-Card I/O Test
MAC : 00000001 ERR : XXX

8
Notes
2. The [Ethernet] screen is displayed.
Set the IP address and connecting method (10BASE-T or AUI).
If required, also set the Gate Way and Sub-mask.

Ethernet
Main Menu

It is not used when the gate way or the sub-mask is zero.

IP Address : 0 . 0 . 0 . 0 .

Gate Way : 0 . 0 . 0 . 0 .

Sub-mask : 0 . + -
0 . 0 . 0 .

10BASE-T

Setting
Finished

8-3
Transferring the screen data

3. After completing the setting, press the [Setting Finished] button to return
to the Main Menu screen.

4. Transfer the screen data from the server in accordance with the
procedure P8-1.

8-4
Ethernet access function

9 Ethernet access functions


(HKEtn10.DLL)

The application, based on the HKEtn10.dll provided by us, must be created by


using Visual C++, Visual Basic etc.

Sample folder
You can find the Sample folder for the Ethernet communication in the V-SFTE
CD-ROM.
The folder contains sample programs created by Visual C++ for your reference.
If required, copy and use the sample program.

V-SFTE CD-ROM
Data
Parts
Tpa
* Sample * Supplied separately in case
of the floppy disks.
Ethernet
Release
Res

The folder contains following files:


Ethernet
• ESmpl.dsp • ESmpl.h • ESmpl.cpp • ESmpl.rc
• ESmpl.clw • MainFrm.h • MainFrm.cpp • ESmplDoc.h
• ESmplDoc.cpp • ESmplView.h • ESmplView.cpp • StdAfx.h 9
• StdAfx.cpp • Resource.h • ReadMe.txt • HKEtn10.h
The Sample folder

Release
• HKEtn10.dll • HKEtn10.lib

res
• ESmpl.ico • ESmpl.rc2 • Toolbar.bmp
• ESmplDoc.ico

9-1
Ethernet access function

Specifications of functions

List of the functions


Read
PLC address int HKEtn_ReadPlcMemory(WORD *dp,unsigned short Wordcnt,int
word DeviceType,DWORD addr,char *lpAddr,int DFlag=TRUE)
P9-3
PLC address int HKEtn_ReadPlcMemory2(DWORD *dp,unsigned short Wordcnt,int
double-word DeviceType,DWORD addr,char *lpAddr,int DFlag=TRUE)
Internal memory int HKEtn_ReadInternalMemory(WORD *dp,unsigned short Wordcnt,int
P9-4
word DeviceType,DWORD addr,char *lpAddr,int DFlag=TRUE)
Memory card address int HKEtn_ReadCardMemory(WORD *dp,unsigned short Wordcnt,int
word FileNo,int RecordNo,DWORD addr,char *lpAddr,int DFlag=TRUE)
P9-5
PLC address int HKEtn_ReadPlcBitMemory(int *lpOnFlag,int DeviceType,DWORD
bit addr,int BitNo,char *lpAddr)
Internal memory int HKEtn_ReadInternalBitMemory(int *lpOnFlag,int DeviceType,DWORD
bit addr,int BitNo,char *lpAddr)
P9-6
Memory card address int HKEtn_ReadCardBitMemory(int *lpOnFlag,int FileNo,int
bit RecordNo,DWORD addr,int BitNo,char *lpAddr)
PLC address int HKEtn_ReadBlockMemory(WORD *sp,BYTE *pReadblockData,int
P9-7
word (block) BlockCnt,char *lpAddr)

Write
PLC address int HKEtn_WritePlcMemory(WORD *sp,unsigned short Wordcnt,int
word DeviceType,DWORD addr,char *lpAddr,int DFlag=TRUE)
P9-8
PLC address int HKEtn_WritePlcMemory2(DWORD *sp,unsigned short Wordcnt,int
double-word DeviceType,DWORD addr,char *lpAddr,int DFlag=TRUE)
Internal memory int HKEtn_WriteInternalMemory(WORD *sp,unsigned short Wordcnt,int
P9-9
word DeviceType,DWORD addr,char *lpAddr,int DFlag=TRUE)
Memory card address int HKEtn_WriteCardMemory(WORD *sp,unsigned short Wordcnt,int
word FileNo,int RecordNo,DWORD addr,char *lpAddr,int DFlag=TRUE)
P9-10
PLC address int HKEtn_WritePlcBitMemory(int DeviceType,DWORD addr,int BitNo,int
bit OnFlag,char *lpAddr)
Internal memory int HKEtn_WriteInternalBitMemory(int DeviceType,DWORD addr,int
bit BitNo,int OnFlag,char *lpAddr)
P9-11
Memory card address int HKEtn_WriteCardBitMemory(int FileNo,int RecordNo,DWORD addr,int
bit BitNo,int OnFlag,char *lpAddr)

Others
Initialization function int HKEtn_Init(unsigned short Port=10000,int Retry=3,int
RecvTime=2,int RecvTime2=10) P9-12
Receive waiting from V6 int HKEtn_Recvfrom(BYTE *dp,short *lpCnt)
Cancel Recvfrom() function void HKEtn_Cancel(void)
Request connection information int HKEtn_GetInf(struct inf *lpinf,char *lpAddr) P9-13
Close processing int HKEtn_Close()
Get source's IP address int HKEtn_GetSinAddr(char *lpAddr)
Get contents of error int HKEtn_GetLastError() P9-14

9-2
Ethernet access function

Read

Read PLC word address


int HKEtn_ReadPlcMemory(WORD *dp,unsigned short Wordcnt,int
DeviceType,DWORD addr,char *lpAddr,int DFlag=TRUE)

Blocking function

Parameters
*dp Target pointer of the data to be read

Contents Number of word


No.1 1
No.2 1
: :
No.n 1

Wordcnt Word count (max. 2000 words)


DeviceType Address of the device to be read
addr The top address of the address to be read
*IpAddr IP address shown by a string of characters separated by
periods
(E.g.) "192.168.XXX.XXX"
DFlag TRUE : Transfer devided packet
FALSE: Transfer whole packet

Return values
Succeeded TRUE
Failed FALSE
Error Get by HKEtn_GetLastError().

Read PLC double-word address


int HKEtn_ReadPlcMemory2(DWORD *dp,unsigned short Wordcnt,int 9
DeviceType,DWORD addr,char *lpAddr,int DFlag=TRUE)
Read

Blocking function

Parameters
*dp Target pointer of the data to be read

Contents Number of word


No.1 2
No.2 2
: :
No.n 2

9-3
Ethernet access function

Wordcnt Word count (max. 2000 words)


DeviceType Address of the device to be read
addr The top address of the address to be read
*IpAddr IP address shown by a string of characters separated by
periods
(E.g.) "192.168.XXX.XXX"
DFlag TRUE: Transfer devided packet
FALSE: Transfer whole packet

Return values
Succeeded TRUE
Failed FALSE
Error Get by HKEtn_GetLastError()

Read internal word address


int HKEtn_ReadInternalMemory(WORD *dp,unsigned short Wordcnt,int
DeviceType,DWORD addr,char *lpAddr,int DFlag=TRUE)

Blocking function

Parameters
*dp Target pointer of the data to be read
Contents Number of word
No.1 1
No.2 1
: :
No.n 1

Wordcont Word count (max. 2000 words)


DeviceType 0: $u 1: $s
addr The top address of the address to be read
*IpAddr IP address shown by a string of characters separated by
periods
(E.g.) "192.168.XXX.XXX"
DFlag TRUE : Transfer devided packet
FALSE: Transfer whole packet

Return values
Succeeded TRUE
Failed FALSE
Error Get by HKEtn_GetLastError().

9-4
Ethernet access function

Read memory card word address


int HKEtn_ReadCardMemory(WORD *dp,unsigned short Wordcnt,int FileNo,int
RecordNo,DWORD addr,char *lpAddr,int DFlag=TRUE)

Blocking function

Parameters
*dp Target pointer of the data to be read
Contents Number of word
No.1 1
No.2 1
: :
No.n 1

Wordcnt Word count (max. 2000 words)


FileNo File No.
RecordNo Record No.
addr The top address of the address to be read
*IpAddr IP address shown by a string of characters separated by
periods
(E.g.) "192.168.XXX.XXX"
DFlag TRUE : Transfer divided packet
FALSE: Transfer whole packet

Return values
Succeeded TRUE
Failed FALSE
Error Get by HKEtn_GetLastError().

Read PLC bit address


int HKEtn_ReadPlcBitMemory(int *lpOnFlag,int DeviceType,DWORD addr,int
BitNo,char *lpAddr)
Blocking function

Parameters 9
*IpOnFlag Returns the status of bit. 0:OFF 1:ON
DeviceType Address of the device to be read
Read

addr The top address of the address to be read


BitNo The bit number of the address to be read
*IpAddr IP address shown by a string of characters separated by
periods
(E.g.) "192.168.XXX.XXX"

Return values
Succeeded TRUE
Failed FALSE
Error Get by HKEtn_GetLastError().
9-5
Ethernet access function

Read internal bit address


int HKEtn_ReadInternalBitMemory(int *lpOnFlag,int DeviceType,DWORD addr,int
BitNo,char *lpAddr)
Blocking function

Parameters
*IpOnFlag Returns the status of bit. 0:OFF 1:ON
DeviceType 0:$u 1:$s
addr The top address of the address to be read
BitNo The bit number of the address to be read
*IpAddr IP address shown by a string of characters separated by
periods
(E.g.) "192.168.XXX.XXX"

Return values
Succeeded TRUE
Failed FALSE
Error Get by HKEtn_GetLastError().

Read memory card bit address


int HKEtn_ReadCardBitMemory(int *lpOnFlag,int FileNo,int RecordNo,DWORD
addr,int BitNo,char *lpAddr)

Blocking function

Parameters
*IpOnFlag Returns the status of bit. 0:OFF 1:ON
FileNo File No.
RecordNo Record No.
addr The top address of the address to be read
BitNo The bit number of the address to be read
*IpAddr IP address shown by a string of characters separated by
periods
(E.g.) "192.168.XXX.XXX"

Return values
Succeeded TRUE
Failed FALSE
Error Get by HKEtn_GetLastError().

9-6
Ethernet access function

Read PLC word address (block)


int HKEtn_ReadBlockMemory(WORD *sp,BYTE *pReadblockData,int BlockCnt,char
*lpAddr)

Blocking function

Parameters
*sp Returns the read-in data
*pReadblockData The top pointer of the data to be read

Number of word 2 bytes


Source PLC address 9 bytes

BlockCnt Block count


*IpAddr IP address shown by a string of characters
separated by periods
(E.g.) "192.168.XXX.XXX"

Return values
Succeeded TRUE
Failed FALSE
Error Get by HKEtn_GetLastError()

9
Read

9-7
Ethernet access function

Write

Write PLC word address


int HKEtn_WritePlcMemory(WORD *sp,unsigned short Wordcnt,int
DeviceType,DWORD addr,char *lpAddr,int DFlag=TRUE)
Blocking function
(Return when receiving the information on the completion of writing to the PLC
address.)

Parameters
*sp Pointer of the transfer block
Contents Number of word
No.1 1
No.2 1
: :
No.n 1

Wordcnt Word count (max. 2000 words)


DeviceType Address No. of target
(Refer to V6 Hardware Specifications.)
addr The top address of target
*IpAddr IP address shown by a string of characters separated by
periods
(E.g.) "192.168.XXX.XXX"
DFlag TRUE : Transfer divided packet
FALSE: Transfer whole packet

Return values
Succeeded TRUE
Failed FALSE
Error Get by HKEtn_GetLastError().

Write PLC double-word address


int HKEtn_WritePlcMemory2(DWORD *sp,unsigned short Wordcnt,int
DeviceType,DWORD addr,char *lpAddr,int DFlag=TRUE)
Blocking function
(Return when receiving the information on the completion of writing to the PLC
address.)

Parameters
*sp Pointer of the transfer block
Contents Number of word
No.1 2
No.2 2
: :
No.n 2
9-8
Ethernet access function

Wordcnt Word count (max. 1000 words)


DeviceType Address No. of target
(Refer to V6 Hardware Specifications.)
addr The top address of target
*IpAddr IP address shown by a string of characters separated by
periods
(E.g.) "192.168.XXX.XXX"
DFlag TRUE : Transfer divided packet
FALSE: Transfer whole packet

Return values
Succeeded TRUE
Failed FALSE
Error Get by HKEtn_GetLastError().

Write internal word address


int HKEtn_WriteInternalMemory(WORD *sp,unsigned short Wordcnt,int
DeviceType,DWORD addr,char *lpAddr,int DFlag=TRUE)

Blocking function
(Return when receiving the information on the completion of writing to the PLC
address.)

Parameters

Contents Number of word


No.1 1
No.2 1
: :
No.n 1

*sp Pointer of the transfer block


Wordcnt Word count (max. 2000 words)
DeviceType Address No. of target
(Refer to V6 Hardware Specifications.)
9
addr The top address of target
Write

*IpAddr IP address shown by a string of characters separated by


periods
(E.g.) "192.168.XXX.XXX"
DFlag TRUE : Transfer divided packet
FALSE: Transfer whole packet

Return values
Succeeded TRUE
Failed FALSE
Error Get by HKEtn_GetLastError().
9-9
Ethernet access function

Write memory card word address


int HKEtn_WriteCardMemory(WORD *sp,unsigned short Wordcnt,int FileNo,int
RecordNo,DWORD addr,char *lpAddr,int DFlag=TRUE)
Blocking functions
(Return when receiving the information on the completion of writing to the PLC
address.)

Parameters
*sp Pointer of the transfer block
Contents Number of word
No.1 1
No.2 1
: :
No.n 1

Wordcnt Word count (max. 2000 words)


FileNo File No.
RecordNo Record No.
addr The top address of target
*IpAddr IP address shown by a string of characters separated by
periods
(E.g.) "192.168.XXX.XXX"
DFlag TRUE : Transfer divided packet
FALSE: Transfer whole packet

Return values
Succeeded TRUE
Failed FALSE
Error Get by HKEtn_GetLastError().

Write PLC bit address


int HKEtn_WritePlcBitMemory(int DeviceType,DWORD addr,int BitNo,int
OnFlag,char *lpAddr)

Blocking function
(Return when receiving the information on the completion of writing to the PLC
address.)

Parameters
DeviceType Device No. of the target.
addr The top address of the target
BitNo Access bit No.
OnFlag 0:OFF 1:ON
*IpAddr IP address shown by a string of characters separated by
periods
(E.g.) "192.168.XXX.XXX"

9-10
Ethernet access function

Return values
Succeeded TRUE
Failed FALSE
Error Get by HKEtn_GetLastError().

Write internal bit address


int HKEtn_WriteInternalBitMemory(int DeviceType,DWORD addr,int BitNo,int
OnFlag,char *lpAddr)
Blocking function
(Return when receiving the information on the completion of writing to the PLC
address.)

Parameters
DeviceType 0: $u 1: $1
addr The top address of the target
BitNo Access bit No.
OnFlag 0: OFF 1:ON
*IpAddr IP address shown by a string of characters separated by
periods
(E.g.) "192.168.XXX.XXX"

Return values
Succeeded TRUE
Failed FALSE
Error Get by HKEtn_GetLastError().

Write memory card bit address


int HKEtn_WriteCardBitMemory(int FileNo,int RecordNo,DWORD addr,int BitNo,int
OnFlag,char *lpAddr)
Blocking function
(Return when receiving the information on the completion of writing to the PLC
address.)

Parameters 9
FileNo File No.
RecordNo Record No.
Write

addr The top address of the target


BitNo Access bit No.
OnFlag 0: OFF 1:ON
*IpAddr IP address shown by a string of characters separated by
periods
(E.g.) "192.168.XXX.XXX"

Return values
Succeeded TRUE
Failed FALSE
Error Get by HKEtn_GetLastError(). 9-11
Ethernet access function

Others

Initialization function
int HKEtn_Init(unsigned short Port=10000,int Retry=3,int RecvTime=2,int
RecvTime2=10)

Creates a socket.

Parameter
Port Set at 10000 or larger number.
Retry Number of Send retry
RecvTime Receive Timeover
RecvTime2 Receive Timeover2

Return values
Succeeded TRUE
Failed FALSE
Error Get by HKEtn_GetLastError().

Receive wait from V6


int HKEtn_Recvfrom(BYTE *dp,short *lpCnt)

Blocking function
The function returns the response and ends only when the command is
received.
User needs to interpret the receiving data and create the next action.
This function must execute in a thread.

Parameter
*dp The top pointer of the receive buffer.
4096 bytes required.
*lpCnt Returns the number of bytes received.

Return values
Succeeded TRUE
Failed FALSE
Error Get by HKEtn_GetLastError().

9-12
Ethernet access function

Cancel Recvfrom() function


void HKEtn_Cancel(void)

Cancels the function which is on standby due to Recvfrom().

Request connection information


int HKEtn_GetInf(struct inf *lpinf,char *lpAddr)

Parameters
*Ipinf [0]
*IpAddr IP address shown by a string of characters separated by
periods
(E.g.) "192.168.XXX.XXX"

Return values
Succeeded TRUE
Failed FALSE
Error Get by HKEtn_GetLastError()

Close processing
int HKEtn_Close()

Execute this when ending HKEtn10.dll.

Get source's IP address


int HKEtn_GetSinAddr(char *lpAddr)
9
Others

Execute this after the recvfrom() function or receiving the data.

9-13
Ethernet access function

Get contents of error


int HKEtn_GetLastError()

Error list

Code Description
-1 No response from the target (Receive timeout).
-2 No connection.
-3 Source is busy.
-4 The number of the packet byte is incorrect.
-5 Packet byte exceeds the maximum number of the byte.
-10 Size of data received is different.
-20 Initial setting of the socket failed.
-50 Requested packet byte exceeds the maximum number of the byte.
-51 Communication tasks are not ready.
-52 Address error.
-53 Access impossible.
-54 Error code.
-55 Timeout.
-56 Other port is currently occupied.
-57 Communication Error.
-70 Other error.
-100 Processing other command.
-101 Command receive registration buffer is over.
-120 Communication has been interrupted by user.
-121 Main receive loop is interlocked.

9-14
Ethernet access function

How to communicate with the server

In case requesting the data


from the V6 to the server
Server

Application

Ethernet

V6 SEND

run

stop

FA C T O RY

ACE

PLC PROGRAMMER

(1) Execute a receive waiting thread by the application using RecvFrom() at


the sever side.

(2) Send the command from the V6 to the server by SEND macro
command.

(3) After analyzing the command at the server side, action is taken in
9
accordance with the command.
How to communicate with the server

User data format


Transfer from the V6
Item Number of byte
Number of the Packet byte 2
2+2+1+n bytes
Transaction No. 2
Command (0x33) 1
User data n

9-15
Ethernet access function

In case requesting the data


from the server to the V6

Server

Application

Ethernet

V6

run

stop

FA C T O RY

ACE

PLC PROGRAMMER

(1) Request from the application on the server to the V6


Requesting the memory is performed by ReadPlcMemory().

(2),(3) V6 reads the PLC memory.

(4) PLC data is sent back to the server.

9-16
Error display

10 Error display

This chapter explains the error messages which are displayed on the V6 unit and
the error being stored in the system memory.

Communication error

During the Ethernet communication, status of the Ethernet is stored in the system
memory, $s518. Error occurs when the code other than 0(normal) is written in the
$s518.

* Error will be displayed as shown


below when [Comm. Err. Handling]
Communication Error of [Details] in [Comm. Parameter…]
is set to [Continuous].
Ethernet Error:XXXX

Screen No. : Received code No. :

RETRY

Communication Error
Ethernet Error:XXXX

Error number will be displayed here.

In case of confirming the error on the Main Menu

Main Menu 1998-5 -5 07:23:30

FONT I/F DRV VER.0.500


SYSTEM PROG. VER. 1.200 VER.1.100/1.050/1.000 MELSEC AnA/N/U
JAPANESE 32

Screen Data
Information PLC Type : MITUBISHI AnA/N/U series Error : stop
Size : 2883584 Comment : Time-out : 0.50 sec
Retry : 3

10
Connection : 1:1 Baud Rate : 19200
Signal Lebel : RS232C Data Length : 7
PLC Stat. No. : 0 Stop Bit : 1
Parity : Even
Send Delay : 0msec

Ethernet VER.1.000
Ethernet VER.1.000 ETHERNET Trans. Speed : 10BASE-T
Trans. Speed : 10BASE-T
Stat. No. : 192.168.1.50
Communication error

Stat. No. : 192.168.1.50


Editor:MJ1 PORT : 10000 Memory-Card I/O Test
MAC : 00000001 ERR : XXX
PORT : 10000
MAC : 00000001 ERR : XXX

Error number will be displayed here.

10-1
Error display

System address : $s518

No. Contents Measures


0 Normal
200 Failed in Send request
201 Send Error
202 Assigned Send port Error Turn on the power supply again.
300 Network Busy If the error still occurs, consult
301 with our technical support.
350 Protocol Stuck Error
351
352
801 Link Down Error Check the wiring and connection.
Make sure the transceiver is not
802 Transceiver Error broken and cable is properly
connected.
Check whether the IP address of
900 No IP address at local port the local port is set at the Net-
work table.
Check whether the IP addresses
901 Duplicated IP address Error on the Network table are not
overlapped.
1000 Ethernet I/F unit is not mounted
1001 Ethernet I/F unit is not Ready status
1002 Ethernet I/F unit DPRAM Error
1003 No Response from Ethernet I/F
unit
1004 Ethernet Receive Buffer Over Check whether the Ethernet I/F
1005 Ethernet Send Registration Error unit is mounted properly, and then
1006 I/F unit Non-registered interruption turn on the power again.
code If the error still occurs, consult
110X Initialization Error with our technical support.
1120 Dual Port Access Error
1200 Undefined Register
1201 Send Buffer Access Area Error
1202 MAC Address Error
1203 Port Designation Error
1301 Watchdog Overflow
1302 JABBER Error, LAN Controller Error

10-2
Error display

Errors caused by execution of Macro


commands
The results of execution of Macro commands SEND/EREAD/EWRITE is stored in
the address $s515.

System address : $s515 (Response to the request)

Code Contents Measures


0 Normal
-1 Undefined command Check the command.
-2 Undefined IP address Check the IP address at the Network
Table editing screen.
- 30 Timeout Check whether an error occurs at the
target.
Number of words to be send exceeds Check the number of the words to be
- 31 the limit. sent at the Macro command editing
screen.
- 32 Assigned table No. is not defined. Check the setting of the Network table.
- 33 Send command cannot be used. Check the macro commands at the
Macro command editing screen.
- 34 Shortage of memory Check the free space of the memory at
the local port.
- 50 Number of the packet byte requested Check the number of the packet byte.
exceeds the maximum.
- 51 Address Error of receiving side Check the address of the target.
Access impossible due to the commu- Execute the macro command again
- 52 nication error at the target after resetting the error occurring at the
target.
- 53 V6 of target side displays Main menu. Change the V6 to RUN mode.
- 54 V6 of receiving side is write-protected Reset the memory protection at the
at the Network table setting. Network table setting.
- 55 Shortage of memory at the target Check the free space of the memory of
the target.

10
Error

10-3
Error display

Check

Check Data has some error

Data has some error


Error:130 (17 : 1)
Error:130 (17 : 1)

Error number Item number

Error No. (Refer to the following table.)

Error No. Contents Measures

131 The table of the local port Check the port No. of the I/F unit, then
has not been set. confirm whether the local port is set at
the Network table editing screen.

133 IP address No. Error. Check the setting of the IP address at


the Network table editing screen.

134 Port No. Error. Check the setting of the Port No. at the
Network table editing screen.

< Note >


Other than above-mentioned errors, there are some errors which usually
do not occur.
If this error happen, please consult with our technical support.

* 130 : Network byte error


* 132 : No Network Table/ Different Network Table

10-4
MONITOUCH

Hakko Electronics Co.,Ltd.


Sales 238, Kamikashiwano-machi Matto-shi, Ishikawa,924-0035 Japan
TEL (076)274-5210FAX (076)274-5200
Tokyo Office TEL (03)3255-0166FAX(03)3255-0298
Osaka Office TEL (06)6385-8234FAX(06)6385-7851
Nagoya Office TEL (052)937-6147FAX(052)937-6171
Head Office 209-2, Koh, Mameda-honmachi, Kanazawa-shi, Ishikawa,
920-0047 Japan

1032NE0 00300000

You might also like