Cmd (Command Code) And Data - Delta DVP-ES2 Operation Manual

Hide thumbs Also See for DVP-ES2:
Table of Contents

Advertisement

DVP- ES2 / EX2 / SS2 / SA2 / SX2 / SE&TP O p e r a t i on Ma n ua l - Pr ogr am m i ng
Example, ASCII codes for communication address 16 in Decimal. (16 in Decimal = 10 in Hex)
(ADR 1, ADR 0)='1','0''1'=31H, '0' = 30H

4.2.2 CMD (Command code) and DATA

The content of access data depends on the command code.
Available setting for command code:
CMD(Hex)
01 (01 H)
Read status of contact
02 (02 H)
Read status of contact
03 (03 H)
Read content of register
05 (05 H)
Force ON/OFF single contact
06 (06 H)
Set content of single register
15 (0F H)
Force ON/OFF multiple contacts
16 (10 H)
Set content of multiple registers
17 (11 H)
Retrieve information of Slave
Simultaneous data read/write in a
23 (17 H)
polling of EASY PLC LINK
Example: Read devices T20~T27 (address: H0614~H61B) from Slave ID#01(station number)
PC→PLC
": 01 03 06 14 00 08 DA CR LF"
Sent massage:
Field name
STX
Slave Address
Command code
Starting Address High
Starting Address Low
Number of Points High
Number of Points Low
LRC checksum
END
PLC→PC
": 01 03 10 00 01 00 02 00 03 00 04 00 05 00 06 00 07 00 08 C8 CR LF"
Responded massage:
Field name
STX
Slave Address
Command code
Bytes Count
4 - 4
Explanation
ASCII
:
01
03
06
14
00
08
DA
CR LF
ASCII
:
01
03
10
Device
S, Y, M, T, C
S, X, Y, M,T, C
T, C, D
S, Y, M, T, C
T, C, D
S, Y, M, T, C
T, C, D
None
None
Hex
3A
30 31
30 33
30 36
31 34
30 30
30 38
44 41
0D 0A
Hex
3A
30 31
30 33
31 30

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dvp-seDvp-tpDvp-ex2Dvp-ss2Dvp-sa2Dvp-sx2

Table of Contents