EasyManua.ls Logo

Automationdirect.com DL06 - Page 155

Automationdirect.com DL06
533 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DL06 Micro PLC User Manual; 3rd Edition Rev. E
4–22
Chapter 4: System Design and Configuration
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Network Master Operation (using MRX and MWX
Instructions)
This section describes how the DL06 can communicate on a MODBUS RTU network as a
master using the MRX and MWX read/write instructions. These instructions allow you to
enter native MODBUS addressing in your ladder logic program with no need to perform octal
to decimal conversions. MODBUS is a single master/multiple slave network. The master is the
only member of the network that can initiate requests on the network. This section teaches you
how to design the required ladder logic for network master operation.
MODBUS Function Codes Supported
The MODBUS function code determines whether the access is a read or a write, and whether
to access a single data point or a group of them. The DL06 supports the MODBUS function
codes described below.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
a
b
c
D
MODBUS Function Code Function DL06 Data Types Available
01 Read a group of coils Y, CR, T, CT
02 Read a group of inputs X, SP
05 Set / Reset a single coil (slave only) Y, CR, T, CT
15 Set / Reset a group of coils Y, CR, T, CT
03, 04 Read a value from one or more registers V
06 Write a value into a single register (slave only) V
07 Read Exception Status V
08 Diagnostics V
16 Write a value into a group of registers V
Slave #1 Slave #3
Master
M
O
DB
US
,
RTU Protocol, or DirectNET
,
Slave #2
LOG
IC
Koyo
06
C0 C4C2X1 X3 X4 X6 X11X13 X14X16 X21X23 N.C.
C1 C3X2 X5 X7 X10X12
X15 X17X20 X22X0 N.C.
AC
(
N
)
24V
0V
N.C.
C1 C3Y0 Y15Y12Y10Y17Y7Y5Y2
C0 C2 Y16Y14Y13Y11Y6Y4Y3Y1
LGG
AC
(
L
)
D0-06DR
2.0AOUTPUT: 6-240V 50 - 60Hz 2.0A,6 - 27V
INPUT: 12 - 24V 3 - 15mA
Y
X
40VA50-60HzPWR: 100-240V
01 2345 6710 11 12 13 14 15 16 17 20 21 22 23
PORT1PORT2
TERM
RUNSTOP
PWR
RUN
CPU
TX1
RX1
TX2
RX2

Related product manuals