2nd Ave DVPDNET SL DeviceNet Network Scanner DVP 0204520 02 User Manual |
DVPDNET-SL
DeviceNet Network Scanner
Operation Manual
DVP-0204520-02
DeviceNet Network Scanner DVPDNET-SL
Warning
ꢀ Please read this instruction carefully before use and follow this instruction to operate the device in order to prevent
damages on the device or injuries to staff.
ꢀ Switch off the power before wiring.
ꢀ DVPDNET-SL is an OPEN TYPE device and therefore should be installed in an enclosure free of airborne dust,
humidity, electric shock and vibration. The enclosure should prevent non-maintenance staff from operating the
device (e.g. key or specific tools are required for operating the enclosure) in case danger and damage on the
device may occur.
ꢀ DVPDNET-SL is to be used for controlling the operating machine and equipment. In order not to damage it, only
qualified professional staff familiar with the structure and operation of DVPDNET-SL can install, operate, wire
and maintain it.
ꢀ DO NOT connect input AC power supply to any of the I/O terminals; otherwise serious damage may occur. Check
all the wirings again before switching on the power and DO NOT touch any terminal when the power is switched
on. Make sure the ground terminal
is correctly grounded in order to prevent electromagnetic interference.
Table of Contents
1
2
INTRODUCTION.................................................................................................................... 3
1.1
1.2
1.3
1.4
Features ...................................................................................................................... 3
Basic Functions of DVPDNET-SL................................................................................ 3
I/O Scan List................................................................................................................ 4
Specifications............................................................................................................... 4
PRODUCT PROFILE & OUTLINE......................................................................................... 5
2.1
2.2
2.3
2.4
2.5
2.6
2.7
Dimension.................................................................................................................... 5
Product Profiles ........................................................................................................... 5
DeviceNet Connection Port ......................................................................................... 6
Address Switch............................................................................................................ 6
Function Switch ........................................................................................................... 6
Digital Indicator............................................................................................................ 7
I/O Module Connection Port ........................................................................................ 7
3
BASIC OPERATION .............................................................................................................. 7
3.1 Connecting DVPDNET-SL to DVP-SV MPU................................................................ 7
1
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
3.2
3.3
Installing DVPDNET-SL and DVP-SV MPU on DIN Rail.............................................. 7
Connecting to DeviceNet Connection Port .................................................................. 8
4
5
CONFIGURATION ................................................................................................................. 8
4.1
4.2
Corresponding Relation between DVPDNET-SL and DVP-SV.................................... 8
I/O Mapping Table........................................................................................................ 9
CONSTRUCTING DEVICENET NETWORK ......................................................................... 9
5.1
5.2
5.3
How to Construct a DeviceNet Network ...................................................................... 9
How to Configure Network by DeviceNet Network Configuration Tool....................... 10
DeviceNet Network Control ....................................................................................... 18
6
SENDING EXPLICIT MESSAGE FROM LADDER DIAGRAM............................................ 20
6.1
6.2
The Principle of Explicit Message Sending................................................................ 20
Structure of Explicit Message .................................................................................... 20
7
8
BIT-STROBE COMMAND ................................................................................................... 26
7.1 Principle of Bit-Strobe................................................................................................ 26
DISPLAY OF NODE STATUS ON NETWORK .................................................................... 26
8.1
8.2
Display of Node Status in Scan List........................................................................... 26
Status of DVPDNET-SL ............................................................................................. 27
9
LED INDICATOR & TROUBLE-SHOOTING ....................................................................... 27
9.1
9.2
9.3
9.4
9.5
POWER LED............................................................................................................. 27
NS LED...................................................................................................................... 27
MS LED ..................................................................................................................... 28
MS & NS LED............................................................................................................ 28
Digital Indicator LED.................................................................................................. 28
2
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
1
Introduction
1. To ensure correct installation and operation of DVPDNET-SL, please read this chapter carefully before using
your DVPDNET-SL.
2. This chapter only provides introductory information on DVPDNET-SL. For more detailed information on
DeviceNet protocol, please refer to relevant references or literatures.
3. DVPDNET-SL is a DeviceNet master module operating on the left side of DVP-SV series PLC MPU. When
DVP-SV is connected to DeviceNet through DVPDNET-SL, DVPDNET-SL will serve as the data exchange
interface between DVP-SV and other slaves on the bus. DVPDNET-SL is in charge of sending the data in
DVP-SV to the slaves on the bus, and at the same time collecting the data returned from each slave and
sending them back to DVP-SV.
1.1
1.2
Features
z
z
z
z
Supports Group 2 server device and Group 2 only server device.
Supports explicit connection via predefined Master/Slave connection set.
Supports DeviceNet Master mode and Slave mode.
Supports EDS configuration in DeviceNet configuration tools.
Basic Functions of DVPDNET-SL
DVPDNET-SL DeviceNet Network Scanner can be used both as a master or a slave in DeviceNet. When
being used as a master, it supports the following functions:
z
z
Client function of explicit message.
All kinds of I/O connections established between the slave: polled, bit-strobed, change of state and
cyclic.
z
As the connection interface between DeviceNetBuilder configuration software and DeviceNet network.
The configuration software is able to directly configure the network through DVPDNET-SL.
Sending explicit messages for reading/writing the data in slave through PLC ladder diagrams.
Automatically exchanging data with PLC MPU. The user needs only to edit the D register in the PLC
without using FROM/TO instruction. When connected to DVP-SV/DVP-EH2-L MPU, registers after
D6000 will be adopted temporarily.
z
z
z
Offering 380-byte space for I/O input data and another 380 bytes for I/O output data.
When being used as a slave, it supports the following functions:
z
z
z
z
Explicit message serve and Group 2 only serve connection mode.
Polling
Offering 256 bytes for input data and 256 bytes for output data in data exchange with master.
Automatically exchanging data with PLC MPU. The user needs only to edit the D register in the PLC
without using FROM/TO instruction.
3
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
1.3
I/O Scan List
Item
Explanation
Software screen
Before DVPDNET-SL starts its operation, you
have to configure its scan list through the
configuration software. The scan list is a list
consisting of the information of slave devices with
data, e.g. slave address, I/O type, I/O data length
and so on, to be exchanged with DVPDNET-SL.
DVPDNET-SL is responsible for managing the
slave devices in the scan list, establishing
connections and exchanging I/O data with them.
DVPDNET-SL will not establish connections and
exchange I/O data with slave devices which are
not configured in the network.
Scan
Table
DVPDNET-SL provides an Input Table (380
bytes) and an Output Table (380 bytes) for the
data exchange with slaves. When a slave device is
configured into the scan list, the software will
automatically allocate a I/O data exchange are of
corresponding length to the slave from the
mapping table. The I/O table is the data exchange
interface between the PLC MPU and the slave
I/O Table device. It corresponds the I/O data in the D
register of the MPU with the I/O data in the slave.
After you configure the network, download the
configured data to DVPDNET-SL, and it will start
the I/O data exchange with the corresponding
slave device according to the configured data
received. Data in Output Table will be sent to the
salve, and data returned from the slave will be
filled into Input Table.
1.4
Specifications
ꢁ DeviceNet connection
Transmission method
Electrical isolation
Interface
CAN
500 VDC
Removable connector (5.08mm)
Transmission cable
2-wire twisted shielded cable with 2-wire bus power cable and drain
ꢁ Communication
Message type
Baud rates
I/O polled, bit-strobe, change of state, cyclic
125 kbps; 250 kbps; 500 kbps
4
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
ꢁ Electrical specification
Voltage
Current
11 ~ 25 VDC supplied by the power cable in the network
28mA (typical), 125mA impulse current (24 VDC)
ꢁ Environment
ESD (IEC 61131-2, IEC 61000-4-2): 8KV Air Discharge
EFT (IEC 61131-2, IEC 61000-4-4): Power Line: 2KV, Digital I/O: 1KV
Analog & Communication I/O: 1KV
Noise immunity
Damped-Oscillatory Wave: Power Line: 1KV, Digital I/O: 1KV
RS (IEC 61131-2, IEC 61000-4-3): 26MHz ~ 1GHz, 10V/m
Operation
Storage
0ºC ~ 55ºC (temperature); 50 ~ 95% (humidity); pollution degree 2
-25ºC ~ 70ºC (temperature); 5 ~ 95% (humidity)
Vibration/shock
resistance
Standard: IEC 61131-2, IEC 68-2-6 (TEST Fc)/IEC 61131-2 & IEC 68-2-27
(TEST Ea)
Certificates
IEC 61131-2, UL508
2
Product Profile & Outline
2.1
Dimension
DVPDNET
MS
NS
5
1
x10
0
5
x100
0
DR
DR
1
0
IN 1
IN 0
2.2
Product Profiles
1. Model name
2. I/O module connection port
3. Power, MS, NS LED
4. DIN rail clip
5. Digital indicator
6. I/O module clip
7. Addres switch
8. Function switch
9. DeviceNet connection port
5
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
2.3
DeviceNet Connection Port
The connector is used on the connection to DeviceNet. Wire by using the connector enclosed with
DVPDNET-SL.
PIN
1
Signal
V-
Color
Black
Blue
-
Content
0 VDC
5
4
2
CAN_L
SHIELD
CAN_H
V+
Signal-
Shielded
Signal+
24 VDC
3
2
3
1
4
White
Red
5
2.4
Address Switch
The switch is used on setting up the node address of DVPDNET-SL on DeviceNet. Range: 00 ~ 63 (64 ~ 99
are forbidden).
5
Switch setting
0 … 63
Content
0
Valid DeviceNet node address
5
0
64…99
Invalid DeviceNet node address
Example: If you need to set the node address of DVPDNET-SL to 26, simply switch the corresponding
switch of x101 to 2 and the corresponding switch of x100 to 6.
Note:
z
Please set up the node address when the power is switched off. After the setup is completed, re-power
DVPDNET-SL.
z
z
When DVPDNET-SL is operating, changing the setting of node address will be invalid.
Use slotted screwdriver to rotate the switch carefully in case you scratch the switch.
2.5
Function Switch
The function switches are for:
Setting up the work mode (IN0)
Setting up the baud rate of DeviceNet (DR0 ~ DR1)
DR1
DR0
Baud rate
OFF
OFF
ON
OFF
ON
125 kbps
250 kbps
OFF
ON
500 kbps
ON
Incorrect setting
When the slave is off-line, the I/O data in
the buffer area will be held.
ON
IN0
IN1
When the slave is off-line, the I/O data in
the buffer area will be cleared.
OFF
Reserved
Note:
z Please set up the function switch when the power is switched off. After the setup is completed, re-power
6
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
DVPDNET-SL.
z When DVPDNET-SL is operating, changing the setting of the function switch will be invalid.
z Use slotted screwdriver to adjust the DIP switch carefully in case you scratch the switch.
2.6
Digital Indicator
The digital indicator provides the following two functions:
DVPDNET
POWER
MS
NS
1. Displaying the node address and error messages of DVPDNET-SL and error messages.
2. Displaying the error message of slave.
2.7
I/O Module Connection Port
The I/O module connection port is used on connecting DVPDNET-SL to the left-side module conncection
port on DVP-SV PLC MPU or to other I/O modules connected to the left side of DVP-SV.
3
Basic Operation
3.1
Connecting DVPDNET-SL to DVP-SV MPU
Adjust the I/O module clip on the left side of DVP-SV.
Meet the extension port of the MPU with DVPDNET-SL as shown in the figure below.
Fasten the extension clip.
DVPDNET
DVP28SV
RUN
STOP
3.2
Installing DVPDNET-SL and DVP-SV MPU on DIN Rail
Use 35mm DIN rail.
Open the DIN rail clip on DVP-SV and DVPDNET-SL. Insert DVP-SV and DVPDNET-SL onto the DIN
rail.
Clip up the DIN rail clips on DVP-SV and DVPDNET-SL to fix DVP-SV and DVPDNET-SL on the DIN rail,
as shown below.
7
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
DVPDNET
DVP28SV
35mm DIN rail
RUN
STOP
3.3
Connecting to DeviceNet Connection Port
The colors on the PINs on the DeviceNet connection port match the colors of the connection cables.
Make sure you connect the cable to the right PIN.
We recommend you also apply Delta’s power module in the connection.
4
Configuration
4.1
Corresponding Relation between DVPDNET-SL and DVP-SV
After all DVPDNET-SL are connected to DVP-SV, DVP-SV will distribute data mapping areas to every
DVPDNET-SL.
DVPDNET
DVP28SV
RUN
STOP
The index of DVPDNET-SL is its number. The first DVPDNET-SL on the left hand side of DVP-SV is No. 1,
the following DVPDNET-SL modules are No.2, No.3, No.4 and so on.
Mapped D registers
Output mapping
DVPDNET-SL
index
Input mapping
D6000 ~ D6247
D6500 ~ D6747
D7000 ~ D7247
1
2
3
D6250 ~ D6497
D6750 ~ D6997
D7250 ~ D7497
8
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
Mapped D registers
DVPDNET-SL
index
Output mapping
Input mapping
D7500 ~ D7747
D8000 ~ D8247
D8500 ~ D8747
D9000 ~ D9247
D9500 ~ D9747
4
5
6
7
8
D7750 ~ D7997
D8250 ~ D8497
D8750 ~ D8997
D9250 ~ D9497
D9750 ~ D9997
4.2
I/O Mapping Table
Output mapping are
Input mapping area
Mapping area
D register
D6250 ~ D6281
Mapping area
Data length
D register
Data length
32 words
Explicit message
program request
Explicit message
program response
32 words D6000 ~ D6031
Status of nodes in the
scan list
D6282 ~ D6285 Bit-strobe command
D6286 Reserved
D6032 ~ D6035
D6036
4 words
4 words
1word
DVPDNET-SL status
1 word
190 words
21 words
D6287 ~ D6476 DeviceNet output data 190 words D6037 ~ D6226 DeviceNet input data
D6477 ~ D6497 Reserved D6227 ~ D6247 Reserved
21 words
5
Constructing DeviceNet Network
In this section, we will present an application example, illustrating how to construct a DeviceNet network and
the configuration of the network. Before constructing a network, you have to first know clearly what the network
is for and start a preliminary planning for the data to be exchanged. The plan shall include the maximum
communication distance, slaves to be used, total length of data to be exchanged and so on. These information
will decide whether the network you construct is a reasonable one, or if it satisfies your needs, and even affect
the later-on network sustainability and flexibility of network capacity upgrade.
5.1
How to Construct a DeviceNet Network
Target
Using a remote digital I/O module to control RUN/STOP of VFD-B AC motor drive.
1. The connection
9
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
DVP-PS01 DVPDNET-SL
DVP28SV
DVPDNET
DVP28SV
DeviceNet
network configuration tool
L
N
RUN
0V
STOP
Node 01
RS-232
DeviceNet
Node 03
Node 02
X0
X1
P
O
RT1
PO RT2
L
Y0
N
0V
IFD9502
DVP-PS01
RTU-DNET
DVP-16SP
VFD-B
2. Set up DVPDNET-SL, DNA01 and RTU-DNET according to the table below.
Module
Node address
Baud rate
DVPDNET-SL
IFD9502
01
02
03
500 kbps
500 kbps
500 kbps
RTU-DNET
5.2
How to Configure Network by DeviceNet Network Configuration Tool
1. Configuration of DeviceNet slave
(1) Open DeviceNetBuilder software, as below:
(2) Select “Setup” => “Communication Setting” => “System Channel”, and the “Serial Port Setting”
dialog box will appear.
10
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
(3) Set up the communication parameters in the PC and DVP-SV, e.g. the communication port, address,
baud rate and communication format.
Item
Function
Default
COM1
COM port on the PC to be used to communicate with
DVP-SV
COM Port
Address
Baud rate
Data Bits
Parity
Communication address of DVP-SV
01
Communication speed between the PC and DVP-SV
9,600 (bps)
7
Even Parity
1
Communication protocol between the PC and DVP-SV
Stop Bit
Mode
Communication mode between the PC and DVP-SV
ASCII
Click on “OK” and return to the main page.
(4) Select “Network” => "Online”, and the “Select Communication Channel” dialog box will appear.
11
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
(5) Click on “OK”, and DeviceNetBuilder will start to scan the entire network.
(6) If the bar on the dialog box does not progress, it means the connection between the PC and DVP-SV
is abnormal, or there are other programs also using the COM port on the PC. After the scan is
completed, the dialog box will tell you that the scan is completed, and the icons and device names of
all the nodes scanned on the network will be shown on the screen. See the figure below, in which the
node address of DVPDNET-SL is 01.
(7) Double click on RTU-DNET (node 02), and the "Node Configuration…” dialog box will appear.
12
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
(8) Click on “IO Configure…” button in “Node Configuration” dialog box, and you will then see “RTU
Configuration” page.
(9) Click on “Scan IO”, and the "Warning” dialog box will appear.
(10) Click on “OK”. DeviceNetBuilder will then detect the special I/O module connected to RTU-DNET
and the number of points in the digital I/O module and display the information on "RTU
Configuration” page.
13
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
(11) Double click on RTU-DNET icon, and you will then see “RTU Setup” dialog box.
(12) Set up the parameters in RTU-DNET and confirm its I/O information.
Item
Function
Default
N/A
The sum of the length of the status word of RTU-DNET and
the input data of the I/O module connected to it. The status
word of RTU-DNET occupies 2 bytes. One input channel of
the special I/O module occupies 2 bytes. 8 points of the
digital input are counted as 1 byte.
Input IO
Data Length
The sum of the length of the control word of RTU-DNET and
the output data of the I/O module connected to it. The control
word of RTU-DNET occupies 2 bytes. One output channel of
the special I/O module occupies 2 bytes. 8 points of the digital
output are counted as 1 byte.
Output IO
N/A
N/A
Data Length
The digital input points shall be 8’s multiple. The number will
be regarded as 8 when it is less than 8 and regarded as 16
when it is bigger than 8 but less than 16.
DIDO Input
Points (X)
14
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
Item
Function
Default
N/A
The digital output points shall be 8’s multiple. The number will
be regarded as 8 when it is less than 8 and regarded as 16
when it is bigger than 8 but less than 16.
DIDO Output
Points (Y)
The number of special I/O modules connected to RTU-DNET.
Range: 0 ~ 8
AIAO Module
Number
N/A
The interval when RTU-DNET executes diagnosis. Range:
1~ 65 secs
Diagnostic
5 (sec)
Intervel Time
How RTU-DNET will react when the special I/O module
connected to it is offline. You can choose “Ignored”, "Alarm”
or “stop DeviceNet IO".
IO Module
Alarm
Alarm
Offine Treatment
How RTU-DNET will react when it detects errors. You can
choose “Ignored”, “Alarm” or “Stop DeviceNet IO”.
IO Module
Error Treatment
For you to decide whether to add control word and status
word to I/O data. When you choose not to do it, the I/O data
in RTU-DNET and DeviceNet master will not include control
word and status word. If you choose to add them in, the I/O
data in RTU-DNET and DeviceNet master will include control
word and status word.
Add control word
and status word to
IO data
Not to add
(13) Confirm all the configurations are correct and click on “Download” to download the configurations to
RTU-DNET. After the download is completed, click on “OK”.
(14) After the configuration o f RTU-DNET is completed, you will return to the main page.
(15) Double click on VFD-B Drives (node 03), and the “Node Configuration…” dialog box will appear.
15
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
(16) Confirm the parameters and I/O data in VFD-B and click on “OK”.
2. Configuration of DVPDNET-SL
(1) Double click on DNET Scanner (node 01), and the “Scan Module Configuration..." dialog box will
appear. You can find the currently available nodes, RTU-DNET and VFD-B Drives 230V 3HP, in the
list on the left side. On the right side, there is an empty “Scan List”.
(2) Move the slave devices on DeviceNet in the "Available Nodes” list on the left side to the "Scan
>
List”on the right side. Select a node and click on
scan list.
. Follow the steps to move all the nodes to the
16
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
(3) Confirm all the settings and click on “OK”. Next, download the configuration to DVPDNET-SL. If
DVP-SV is in RUN mode while you are downloading the configuration, a “Warning” dialog box will
appear.
(4) Click on “OK” to continue the download. Make sure DVP-SV is in RUN mode.
Follow the steps given above to configure DeviceNet network. If the I/O data do not include
control word and status word of RTU-DNET, the I/O data mapping of DVPDNET-SL and its slave
devices will be:
DVPDNET-SL → slave
Register in
Devices in slave
DVPDNET-SL
D6287H
D6287L
D6288H
D6288L
D6289H
D6289L
Digital I/O module
Y0 ~ Y7 on DVP-16SP
N/A
High byte of command in VFD-B
Low byte of command in VFD-B
High byte of frequency in VFD-B
Low byte of frequency in VFD-B
AC motor drive
17
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
Slave → DVPDNET-SL
Register in
DVPDNET-SL
Devices in slave
X0 ~ X7 on DVP-16SP
D6037H
D6037L
D6038H
D6038L
D6039H
D6039L
Digital I/O module
N/A
Status of LED on VFD-B
Status of VFD-B
AC motor drive
High byte of frequency in VFD-B
Low byte of frequency in VFD-B
If the I/O data include control word and status word of RTU-DNET, the I/O data mapping of
DVPDNET-SL and its slave devices will be:
DVPDNET-SL → slave
Register in
Devices in slave
DVPDNET-SL
D6287H
D6287L
D6288H
D6288L
D6289H
D6289L
D6290H
D6290L
High byte of control word in RTU-DNET
Low byte of control word in RTU-DNET
Y0 ~ Y7 on DVP-16SP
RTU-DNET
control word
Digital I/O module
N/A
High byte of command in VFD-B
Low bye of command in VFD-B
High byte of frequency in VFD-B
Low byte of frequency in VFD-B
AC motor drive
Slave → DVPDNET-SL
Register in
DVPDNET-SL
Devices in slave
D6037H
D6037L
D6038H
D6038L
D6039H
D6039L
D6040H
D6040L
High byte of status word in RTU-DNET
Low byte of status word in RTU-DNET
X0 ~ X7 on DVP-16SP
RTU-DNET
status word
Digital I/O module
N/A
Status of LED on VFD-B
Status of VFD-B
AC motor drive
High byte of frequency in VFD-B
Low byte of frequency in VFD-B
3. Saving the configuration data
Select “File” => “Save” to save the current network configuration.
5.3
DeviceNet Network Control
In this section, we will introduce how to compile WPL program and control DeviceNet. The example given
below is particularly for I/O data excluding RTU-DNET control word and status word. You will have to slightly
modify the example program if the I/O data include RTU-DENT control word and status word.
18
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
When X0 = On, VFD-B will start to run, and Y0 indicator will be On.
When X1 = On, VFD-B will stop, and Y0 indicator will be Off.
Target
1. PLC program:
M1000
MOV
MOV
D6037
K4M0 Send the content in D6037 to K4M0.
D6038 K4M20
Send the content in D6038 to K4M20.
M9
M8
M8
M9
MOV
MOV
MOV
H2
H1
D6288 When X0 = On, start VFD-B.
D6288
When X1 = On, stop VFD-B.
When VFD-B runs, Y0 = On.
When VFD-B stops, Y0 = Off.
M20
H0100 D6287
H0000 D6287
M21
MOV
END
2. Program explanations:
The head instruction in the program, MOV, corresponds the content in D6037 to M0 ~ M15 and the
content in D6038 to M20 ~ M35.
See the table below for the corresponding relation between DeviceNet slave and PLC devices.
PLC device
D6037
D6038
D6039
D6040
…
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
X7 X6 X5 X4 X3 X2 X1 X0
Status of VFD-B
N/A
Status of LED on VFD-B
Input
data
Frequency of VFD-B
PLC device
D6287
D6288
D6289
D6290
…
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0
N/A
Control word in VFD-B
Frequency in VFD-B
Output
data
When X0 = On, b8 of D6037 = 1. b8 of D6037 corresponds to M8, and therefore M8 = On. That is,
when X1 = On, M9 will be On.
D6288 corresponds to the control word in VFD-B. When M8 = On, execute [MOV H2 D6288] to run
VFD-B. When M9 = On, execute [MOV H1 D6288] to stop VFD-B.
b0 of D6038 corresponds to M20, b1 to M21, and so on. When VFD-B is in RUN status, b0 of D6038 =
1 and M20 will be On to execute [MOV H0100 D6287], which leads to Y0 = On. That is, when
VFD-B is in STOP status, M21 will be On to execute [MOV H0000 D6287], which leads to Y0 = Off.
19
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
6
Sending Explicit Message from Ladder Diagram
DVPDNET-SL supports the sending of explicit messages through WPL programs.
6.1
The Principle of Explicit Message Sending
1
Explicit request message
(PLC
ꢀ
DVPDNET-SL)
4
Explicit response message
(DVPDNET-SL
ꢀ
PLC)
DVPDNET
DVP28SV
RUN
STOP
Explicit request message
from master
2
DeviceNet
IFD9502
RJ12
VFD-B
Explicit response message
from slave
3
①: DVP-SV MPU sends out explicit request message to DVPDNET-SL according to WPL program.
②: DVPDNET-SL sends out request message to the target equipment.
③: The target equipment processes the request message and responds DVPDNET-SL.
④: DVP-SV MPU stores the response message from DVPDNET-SL to D register. One explicit message
transmission is therefore completed.
6.2
Structure of Explicit Message
You can edit explicit messages in “explicit request message editing area” and “explicit response message
editing area”. See the table below for the corresponding relation between the two areas and PLC devices. If you
transmit the request message to be sent out to D6250 ~ D6281, DVPDNET-SL will fill the response message to
D6000 ~ D6031.
PLC device
Mapping area
Mapping length
64 bytes
D6000 ~ D6031
D6250 ~ D6281
Explicit response message editing area
Explicit request message editing area
64 bytes
20
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
1. Structure of request message
See the table below:
Request Message
PLC device
D6250
15 14 13 12 11 10 9
ReqID
8
7
6
5
4
3
2
1
0
Command
Size
Message Header
D6251
D6252
Port
Service Code
MAC ID
D6253
High byte of Class ID
High byte of Instance ID
Reserved
Low byte of Class ID
Low byte of Instance ID
Attribute ID (optional)
Message Data
D6254
D6255
D6256 ~ D6281
Service Data
Command: Fixed to “01Hex”.
ReqID: The request ID. Whenever an explicit message is sent out, the message will be given a ReqID
for DVPDNET-SL to identify. For the next explicit message to be sent out, you have to change the ID
number. ReqID = 0 refers to DVPDNET-SL will not send out explicit message. Range of ReqID:
00Hex ~ FFHex.
Size: The length of the message, starting from D6253. The high bytes of D6255 are reserved. When
the data length is being calculated, D6255 is counted as 1 byte. The maximum data length is 58 bytes.
Errors will occur when the length is longer than 58 bytes. Unit: byte.
Port: The communication port. Fixed to “00Hex".
MAC ID: The node address of the target equipment on DeviceNet.
Service Code: The service code of the explicit message. See the meanings of the codes in the table
below:
Service Code
01Hex
Explanation
Read all attributes (Get_Attribute_All)
Set up all attributes (Set_Attribute_All)
Read a single attribute (Get_Attribute_Single)
Set up a single attribute (Set_Attribute_Single)
02Hex
0EHex
10Hex
2. Structure of response message
See the table below:
Response Message
PLC device
D6000
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
ReqID
Port
Status
Size
Message Header
D6001
D6002
Service Code
MAC ID
D6003 ~ 6031
Message Data
Service Response Data
The definitions of ReqID, Port, Service Code and MAC ID are the same as their definitions in request
message.
Size: The length of the message, starting from D6003. Max. 58 bytes. Errors will occur when the
length is longer than 58 bytes. Unit: byte.
See the table below for the meanings of Status (status codes):
21
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
Status
Explanation
0
No explicit message is sent out.
The communication of explicit message is successful.
The explicit message is being sent out.
Error: No response from the target equipment.
Error: Command is invalid.
1
2
3
4
5
Error: Size of request message is invalid.
Error: Size of reponse message is invalid.
Error: Failing to establish a connection to the target equipment.
Reserved
6
7
8 ~ 255
3. Notes:
DVPDNET-SL can only send out 1 explicit message at a time.
Before sending explicit message by using WPL program, we suggest you clear the request message
editing area and response message editing area to 0.
If the slava responds with standard error code, and DVPDNET-SL also consider the communication
being successful, “The communication of explicit message is successful.” will indicate that the
communication has been completed successfully.
4. Application example (I)
Target
When M0 = On, read Class 1>>Instance 1>>Attribute 1 of IFD9502
(1) The connection
DVPDNET
DVP28SV
RUN
STOP
Node Address:00
DeviceNet
Node Address:02
RJ12
(2) Compulsory settings and explanations on devices
Compulsory settings in DVPDNET-SL
Parameter
Set value
00
Explanation
Node address
Set the node address of DVPDNET-SL to “00”.
Set the communication speed of DVPDNET-SL and bus to
“500kbps”.
Baud rate
500kbps
22
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
Compulsory settings in IFD9502
Parameter
Set value
02
Explanation
Node address
Set the node address of IFD9502 to “02".
Set the communication speed of IFD9502 and bus to
“500kbps”.
Baud rate
500kbps
Compulsory settings in VFD-B
Parameter
02-00
Set value
04
Explanation
The main frequency is operated on RS-485 interface.
The operation commands are operated on the communication
interface. Operation by keys is valid.
02-01
03
09-00
09-01
09-04
01
03
03
Communication address of VFD-B: 01
Baud rate: 38,400
Modbus RTU mode. Data format <8, N, 2>
Explanations on devices
Explanation
PLC device
Content
15 14 13 12 11 10 9
ReqID = 01Hex
8
7
6
5
4
3
2
1
0
D6250 0101Hex
D6251 0005Hex
D6252 0E02Hex
Command = 01Hex
Size = 05Hex
Port = 00Hex
Service Code = 0EHex
MAC ID = 02Hex
Request
message
D6253 0001Hex High bye of Class ID =00Hex Low byte of Class ID = 01Hex
editing area
High byte of Instance ID =
00Hex
Low byte of Instance ID =
01Hex
D6254 0001Hex
D6255 0001Hex
D6000 0101Hex
D6001 0002Hex
D6002 8E02Hex
N/A
Attribute ID = 01Hex
Status = 01Hex
Size = 02Hex
ReqID = 01Hex
Port = 00Hex
Response
message
editing area
Service Code = 8EHex
MAC ID = 02Hex
High byte of Service Data =
03Hex
Low byte of Service Data =
1FHex
D6003 031FHex
(3) PLC program
M1002
ZRST
ZRST
D6000 D6031
Reset response message editing area
& request message editing area
D6250 D6281
M0
MOV
MOV
MOV
H0101 D6250 ReqID = 01, Command = 01
Port = 00, Size = 05
H0005 D6251
H0E02 D6252
Service Code = 0E, MAC ID = 02
MOV
MOV
MOV
H0100 D6253 Class ID to be read = 01
H0100 D6254
Instance ID to be read = 01
Attribute ID to be read = 01
H0100
D6255
23
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
(4) Program explanations:
In the beginning of the program, clear the response message editing area and request message
editing area to 0.
When M0 = On, DVPDNET-SL will send out request message, reading Class 1>>Instance 1>>
Attribute 1 of the target equipment (node address: 02). If the communication of explicit message is
successful, the slave will return with a response message.
When M0 = On, DVPDNET-SL will only send out request message once. If you would like it to
sendout request message again, you will have to change ReqID.
When the reading is successful, the message responded from the target equipment will be stored
in D6000 ~ D6003.
5. Application example (II)
Target M1 = On, set 0x99>>Instance 1>>Attribute 2 of IFD9502 to “0004Hex”.
(1) The connection
(2) Compulsory settings and explanations on devices
Compulsory settings in DVPDNET-SL
Parameter
Set value
00
Explanation
Node address
Set the node address of DVPDNET-SL to “00”.
Set the communication speed of DVPDNET-SL and bus to
“500kbps”.
Baud rate
500kbps
Compulsory settings in IFD9502
Parameter
Set value
02
Explanation
Node address
Set the node address of IFD9502 to “02”.
Set the communication speed of IFD9502 and bus to
“500kbps”.
Baud rate
500kbps
Compulsory settings in VFD-B
Parameter
02-00
Set value
04
Explanation
The main frequency is operated on RS-485 interface.
24
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
Parameter
02-01
Set value
03
Explanation
The operation commands are operated on the communication
interface. Operation by keys is valid.
09-00
09-01
09-04
01
03
03
Communication address of VFD-B: 01
Baud rate: 38,400
Modbus RTU mode. Data format <8, N, 2>
Explanations on devices
Explanation
PLC device
Content
15 14 13 12 11 10 9
ReqID = 01Hex
8
7
6
5
4
3
2
1
0
D6250 0101Hex
D6251 0005Hex
D6252 0E02Hex
Command = 01Hex
Size = 07Hex
Port = 00Hex
Service Code = 10Hex
MAC ID = 02Hex
Request
message
D6253 0099Hex High byte of Class ID = 00Hex Low byte of Class ID = 99Hex
High byte of Instance ID =
00Hex
Low byte of Instance ID =
01Hex
editing area
D6254 0001Hex
D6255 0002Hex
N/A
Attribute ID = 02Hex
Low byte of data = 04Hex
Status = 01Hex
D6256 0004Hex High byte of data = 00Hex
D6000 0101Hex
D6001 0002Hex
D6002 9002Hex
ReqID = 01Hex
Port = 00Hex
Size = 02Hex
Response
message
editing area
Service Code = 90EHex
MAC ID = 02Hex
High byte of Service Data =
00Hex
Low byte of Service Data =
04Hex
D6003 0004Hex
(3) PLC program
M1002
ZRST D6000 D6031
Reset response message editing area
& request message editing area
ZRST
D6250 D6281
M1
MOV
MOV
MOV
H0101 D6250 ReqID = 01, Command = 01
H0008 D6251
Port = 00, Size = 08
H0E02 D6252 Service Code = 0E, MAC ID = 02
H0099 D6253 Class ID to be write= 99
MOV
MOV
MOV
MOV
Instance ID to be written = 01
Attribute ID to be written = 02
Data to be written = 0004
H0001 D6254
H0002
H0004
D6255
D6256
(4) Program explanations
In the beginning of the program, clear the response message editing area and request message
25
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
editing area to 0.
When M1 = On, DVPDNET-SL will send out request message. Write 0004Hex into Class 99 >>
Instance 1 >> Attribue 2 of the target equipment (node address: 02). If the communication of
explicit message is successful, the slave will return with a response message.
When M1 = On, DVPDNET-SL will only send out request message once. If you would like it to
send out request message again, you will have to change ReqID.
When the writing is successfully done, the message responded from the target equipment will be
stored in D6000 ~ D6003.
7
Bit-Strobe Command
7.1
Principle of Bit-Strobe
Bit-strobe is one of the standard I/O transmission methors for DeviceNet. The length of command is fixed to
8 bytes (i.e. 64 bits), and every bit corresponds to a slave.
Corresponding nodes on the network
PLC
device
b15
b14
b13
…
…
…
…
…
b1
b0
D6282
D6283
D6284
D6285
Node 15
Node 31
Node 47
Node 63
Node 14
Node 30
Node 46
Node 62
Node 13
Node 29
Node 45
Node 61
Node 1
Node 17
Node 33
Node 49
Node 0
Node 16
Node 32
Node 48
When b0 of D6282 = 0, the node 0 equipment will be selected, and it will need to respond with a message to
the master. When b0 and b1 of D6282 = 0, the node 0 and node 1 equipment will be selected, and they will beed
to respond with a message to the master.
D6282
D6283
b31 b30
b18 b17 b16 b15 b14
b2 b1 b0
Node 0
Node 1
Node 2
Node 14
In the bit-strobe mode, the master will not send control data to the slave node. However, when its
corresponding bit is set to 0, the slave node will have to respond with I/O data to the master. When its
corresponding bit is set to 1, the slave node will not have to respond with I/O data to the master.
8
Display of Node Status on Network
8.1
Display of Node Status in Scan List
DVPDNET-SL does read-time monitoring to the nodes in the scan list and maps the status of every node to a
bit. You can acquire the node status by monitoring D6032 ~ D6035. See the table below for the corresponding
relation between PLC devices and the nodes on the network:
26
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
Corresponding nodes on the network
PLC
device
b15
b14
b13
…
…
…
…
…
b1
b0
D6032
D6033
D6034
D6035
Node 15
Node 31
Node 47
Node 63
Node 14
Node 30
Node 46
Node 62
Node 13
Node 29
Node 45
Node 61
Node 1
Node 17
Node 33
Node 49
Node 0
Node 16
Node 32
Node 48
When the node in the scan list is normal, the corresponding bit will be Off. If the node occurs abnormality, its
corresponding bit will be On.
8.2
Status of DVPDNET-SL
You can acquire the real-time status of DVPDNET-SL by monitoring D6036. When DVPDNET-SL runs
normally, D6036 = 0. When DVPDNET-SL is being initialized, the high byte of D6036 = 1 and the low byte = 0.
When error occurs in DVPDNET-SL, the high byte of D6036 = 2. The low bytes are for error codes. For detailed
information on error codes, please refer to 9.5. Digital Indicator LED.
Explanation
PLC
device
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Status of DVPDNET-SL
Error codes of DVPDNET-SL
(See 9.5)
D6036
(0: normal, 1: initializing, 2: error)
9
LED Indicator & Trouble-shooting
There are three LED indicators and one digital indicator on DVPDNET-SL. POWER LED displays if the
power of DVPDNET-SL is working normally; NS LED and MS LED display the communication connection status
of DVPDNET-SL; digital indicator displays the node addresses, error information and the error messages from
the slave.
DVPDNET
POWER
MS
NS
9.1
POWER LED
LED status
Off
Indication
How to correct
Power is abnormal.
Make sure DVPDNET-SL is powered.
--
Green light on Power is normal.
9.2
NS LED
LED status
Off
Indication
How to correct
1. Make sure DVPDNET-SL is powered.
No power or duplicate ID
check has not completed
2. Make sure at least 1 node or more are
communicating on the network.
Green light
blinking
No correction is needed, or check the digital indicator
for the error.
No communication
Green light on Normal operation
--
27
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
LED status
Indication
How to correct
Red light
blinking
Error in communication
Check the digital indicator and eliminate the error.
1. Make sure all the devices have their unique node
address.
Network error; cannot check
duplicate ID; bus-off (chek
the digital indicator)
2. Check the network for correcting media installation
and baud rate.
Red light on
3. Check if the node address of DVPDNET-SL is valid.
4. Check if the network power is normal.
9.3
MS LED
LED status
Off
Indication
No power
How to correct
Make sure DVPDNET-SL is powered.
Green light
blinking
Configure the scan list and re-download it to
DVPDNET-SL.
The master is not configured.
Normal operation
Green light on
--
Check the digital indicator and make sure the salve
information in the scan list is consistent with the salve
actually connected.
Red light
blinking
Some slaves encounter
communication error.
1. Check if the configuration is valid.
Red light on
Internal error
2. Re-power it. If the error still exists, send it back to the
factory for repair.
9.4
MS & NS LED
LED status
Indication
No power
How to correct
NS LED
Off
MS LED
Off
Make sure DVPDNET-SL is powered.
Make sure at least 1 node or more are
communicating in the network, and the baud
rate is the same as the setting in DVPDNET-SL.
Green light
on
Duplicate ID check has not
completed.
Off
Green light
on
MAC ID detection failure or Change the MAC ID setting and re-power
Red light on
Red light on
bus-off
DVPDNET-SL.
1. Check if the network cable is correctly
connected to DVPDNET-SL.
Red light
blinking
No 24 VDC power from
DeviceNet network
2. Check the 24 VDC network power.
Go to your manufacturer or distributor for
problem-solving.
Red light on Red light on Hardware error
9.5
Digital Indicator LED
Code
Indication
Node address of
How to correct
0 ~ 63
DVPDNET-SL (in normal
operation)
--
DVPDNET-SL is in STOP
status.
Turn the PLC MPU to RUN and start I/O data
exchange.
80
F0
F1
Duplicate MAC ID check
failure
Check the node address and re-power DVPDNET-SL.
No slave device in the scan Configure the scan list and download it to
list. DVPDNET-SL.
28
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
Code
F2
Indication
How to correct
Check if the power of DVPDNET-SL and PLC MPU is
Low voltage is detected.
Entering test mode
normal.
F3
Switch IN1 from On to Off and re-power DVPDNET-SL.
1. Check if the network cable is normal.
2. Check if the baud rate is correct.
3. Re-power DVPDNET-SL.
F4
Bus-off
Make sure the cable is correctly connected and check if
the network power is normal.
F5
F6
F7
F8
F9
No network power
Internal error; Flash or RAM If the error still exists after re-power, send your
check error
DVPDNET-SL back to the factory for repair.
Internal error; GPIO check
error
If the error still exists after re-power, send your
DVPDNET-SL back to the factory for repair.
Error produced in factory
manufacturing
If the error still exists after re-power, send your
DVPDNET-SL back to the factory for repair.
Internal error; EEPROM
access failure
If the error still exists after re-power, send your
DVPDNET-SL back to the factory for repair.
1. Configure the network correctly and re-download it
to DVPDNET-SL.
FA
E0
Invalid configuration data
2. Check if the node address of the slave in the scan
list is the same as the node address of
DVPDNET-SL.
Make sure that the device parameter in the scan list
matches the desired key parameter, including vendor
ID, product code, device type and version.
Device key parameter does
not match the scan list table.
Data size returned does not
match the scan list.
E1
E2
E3
Re-configure the scan list using correct data size.
Add device to the network.
Slave device in the scan list
does not exist.
DVPDNET-SL fails to
transmit a message.
Make sure that the connection is valid and check if the
baud rate is correct.
Error detected in sequence
E4
E5
of fragmented I/O messages Check if the slave is operating normally.
from device
Slave device returns error
when DVPDNET-SL attemps Check if the slave is operating normally.
to communicate with it.
Data size returned is bigger
than expected.
E6
E7
Check the configuration of slave device and scan list.
DVPDNET-SL is checking
MAC ID.
Check if thenetwork connection is normal; otherwise no
correction is needed.
29
DVP-PLC Operation Manual
DeviceNet Network Scanner DVPDNET-SL
MEMO
30
DVP-PLC Operation Manual
|