beautypg.com

Dvpdnet dvp28sv run stop port2 port1, Troubleshooting – Delta Electronics DVPDNET-SL User Manual

Page 2

background image

Input and Output Image Tables
The mapping of the scanner input and output image (the 1

st

scanner):

Output image

Input image

D register

Image mapping

Length

D register

Image mapping

Length

D6250 – D6281

Explicit message
program request

32 words

D6000 – D6031

Explicit message
program
response

32 words

D6282 - D6476

DeviceNet output
data

195 words

D6032 – D6226

DeviceNet input
data

195 words

D6477 – D6497

Reserved for other
function (do not use
these devices in
user program)

21 words

D6227 – D6247

Reserved for
other function (do
not use these
devices in user
program)

21 words

Using Explicit Message in Application Program
DNET scanner can use PLC application program to send the explicit message request and receive explicit

message response.

28SV

DNET

VFD-B

DNA02

Exp Response (DNET->PLC)

Exp Request(PLC->DNET)

A

D

B

Master's explicit request

Slave's explicit response

C

DVPDNET

DVP28SV

RUN

STOP

PORT2

PORT1

Step A: PLC transfers the explicit message data to DNET scanner.

Step B: DNET scanner sends the explicit request to target devices.

Step C: The target devices process the request and send the response to DNET scanner.

Step D: PLC receives the explicit response data.

Explicit Message Structure

The explicit message is controlled by explicit message program request area and explicit message program

response area. The two areas are mapped to D registers in PLC.

Output image

Input image

D register

Image mapping

Length

D register

Image mapping

Length

D6250 – D6281

Explicit message
program request

32 words D6000 – D6031

Explicit message
program response

32 words

The user can move the data of explicit request message to D6250 – D6281 and DNET scanner will fill the

response data into D6000 – D6031. The explicit message request format is shown in the table below.

D register

Output explicit request

D6250 ReqID

Command

D6251 Port Size

Message Header

D6252

Service code

MAC ID

D6253 Class

id

D6254 Instance

id

Message Data

D6256 – D6281

Service data (optional)

„

ReqID: When sending every explicit message, the user has to assign a Request ID for this explicit message.

DNET scanner identifies the response message by this ID. Therefore, the user has to change the ID value

when completing an explicit message communication for the next transmission.

„

Command code: Fixed to 01 for every message transmission.

„

Port: Reserved as 0 for every message transmission.

„

Size: The size of message data (starting from D6253); Unit: byte.

„

Service code: The service code of this explicit message.

„

MAC ID: The node address of target devices.

The format of explicit message response:

Words

Input explicit response

D6000 ReqID Status

D6001 Port Size

Message Header

D6002

Service code

MAC ID

Message Data

D6003-D6031

Service response data

„

Status code:

Status code

Description

0

No request transmission

1

Explicit message communication is successful

2

Explicit message communication is in progress

3

Error: Cannot get response from target device

4

Error: Command code is invalid

5

Error: The request data size is invalid

6

Error: The response data size is invalid

7

Error: Cannot connect to target device

8-255 Reserved

Troubleshooting

NS LED

NS LED status

Indication

How to correct

OFF

No power or duplicate ID check has

not completed

1. Make sure the scanner is powered.

2. Make sure at least 1 node or more are

communicating in the network.

Flashing GREEN

No communication

No correction is needed, or refer to digit-indicator.

GREEN

Normal operation

No correction is needed.

Flashing RED

Error in communication

Refer to digit-indicator.

RED

Network error; cannot check

duplicate ID; Bus-off (please refer to

digit-indicator)

1. Make sure all the devices have their unique

address.

2. Check the network for correcting media

installation and baud rate.

MS LED

MS LED status

Indication

How to correct


OFF

No power

Make sure the scanner is powered.

Flashing GREEN

The master is not configured.

Configure the scan list and re-download it to the

scanner.

GREEN

Normal operation

No correction is needed.

Flashing RED

Some slaves encounter

communication error.

Refer to digit-indicator and check the scanner

setup.

RED

Internal fault in the scanner module

(please refer to digit-indicator)

Check if the configuration is valid. If the internal

error still exists, replace the scanner with a new

one.

NS & MS LED

NS LED

MS LED

Indication

How to correct


OFF

OFF

No power

Make sure the scanner is powered.

OFF GREEN

Duplicate ID check has not

completed

Make sure at least 1 node or more are

communicating in the network and the baud rate is

the same as the setting in DVPDENT.

RED

Flashing

RED

No 24V DC power from

DeviceNet network

Check if the network cable is correctly connected to

DVPDNET.

Check the 24V DC network power.

RED RED

Hardware error and no

network power

Go to your manufacturer or distributor for

problem-solving.

RED GREEN

MAC ID detection failure or

Bus-off

Change the MAC ID setting and re-power

DVPDNET.

Digit-Indicator LED

Code

Indication

How to correct

0-63

Node address of scanner, normal operation

None

F0

Duplicate MAC ID check failure

Change the address and re-power DNET scanner.

F1

No scan list is active in the module

No slave device in the scan list. Configure the

scanner and download it to the scanner.

F2

Low voltage is detected

Check if the power of the scanner and PLC MPU is

normal.

F3 Entering

Test

Mode

Switch IN1 from ON to OFF and re-power the

scanner.

F4

Bus-off detected

Re-power the scanner.

F5

No network power

Make sure the cable is correctly connected and

check if the network power is normal.

F6

Internal error; Flash or Ram check error

If the error still exists after re-power, replace the

scanner with a new one.

F7

Internal error; GPIO check error

If the error still exists after re-power, replace the

scanner with a new one.

F8

Error in factory manufacturing

If the error still exists after re-power, replace the

scanner with a new one.

F9

Internal error; EEPROM access failure

If the error still exists after re-power, replace the

scanner with a new one.

E0

Device key parameter does not match scan

list table.

Make sure that the device parameter in scan list

matches the desired key parameter, including vendor

ID, product code, device type and version.

E1

Data size returned does not match scan list.

Re-configure scan list using correct data size.

E2

Salve device in scan list does not exist.

The desired slave device does not exist in the

network. Add device to the network.

E3

Module fails to transmit a message

Make sure that the connection is valid and check if

the baud rate is correct.

E4

Error detected in sequence of fragmented I/O

messages from device.

Fragmented I/O data is invalid from slave device.

E5

Slave device returns error response when the

scanner attempts to communicate with it.

None

E6

Data size returned is bigger than expected.

Check slave device configuration and scan list

configuration.

E7

Device is checking MAC ID.

None

The content of this instruction sheet may be revised without prior notice. Please consult our distributors or

download the most updated version at http://www.delta.com.tw/industrialautomation