DL06 Micro PLC User Manual; 3rd Edition Rev. E
4–28
Chapter 4: System Design and Configuration
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
1
2
3
4
5
6
7
8
9
10
11
12
13
14
a
b
c
D
SP116
C100
SP116
C100
Port Number: K2
Slave Address: K1
Function Code: 06 - Preset Single Register
Start Slave Memory Address: 40001
Number of Elements: n/a
Modbus Data Type:
584/984 Mode
Exception Response Buffer:
V400
Instruction interlock bit
C100
( SET )
( RST )
C100
Instruction interlock bit
MRX
Port Number: K2
Slave Address: K1
Function Code: 01 - Read Coil Status
Start Slave Memory Address: 1
Start Master Memory Address: C0
Number of Elements: 32
Modbus Data Type:
584/984 Mode
Exception Response Buffer:
V400
This rung does a MODBUS write to the first holding register 40001 of slave address number one.
It writes the values over that reside in V2000. This particular function code only writes to one
register. Use function code 16 to write to multiple registers. Only one Network Instruction
(WX, RX, MWX, MRX) can be enabled in one scan. That is the reason for the interlock bits. For using
many network instructions on the same port, use the Shift Register instruction.
This rung does a MODBUS read from the first 32 coils of slave address number one.
It will place the values into 32 bits of the master starting at C0.
3
4
MWX
Port 2 busy bit
Port 2 busy bit
Port 2 busy bit
SP116
Port 2 error bit
SP117
Pulse/Minute
C20
CT1
K9999
CNT
Number of errors
per minute
CT2
K9999
SP116 pulses on every transaction - CT1 counts the transactions per minute.
The counter is reset every minute.
SP117 pulses on every transaction - CT2 counts the errors per minute.
The counter is reset every minute.
3
4
CNT
Number of
transactions per
minute
_1Minute
SP3
C20
( PD )
C20
Calculation of communication transfer quantity per minute between PLC and device.
CTA1
LD
V3600
OUT
CTA2
LD
V3601
OUT
Transactions/Min
Errors/Minute
Pulse/Minute
C20
1
2
Pulse/Minute
Pulse/Minute