Delta DVP-ES2 — 4.2.2 CMD (Command code) and DATA

DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming 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: 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: 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:

4-4 CMD(Hex) Explanation Device 01 (01 H) Read status of contact S, Y, M, T, C 02 (02 H) Read status of contact S, X, Y, M,T, C 03 (03 H) Read content of register T, C, D 05 (05 H) Force ON/OFF single contact S, Y, M, T, C 06 (06 H) Set content of single register T, C, D 15 (0F H) Force ON/OFF multiple contacts S, Y, M, T, C 16 (10 H) Set content of multiple registers T, C, D 17 (11 H) Retrieve information of Slave None 23 (17 H) Simultaneous data read/write in a polling of EASY PLC LINK None Field name ASCII Hex STX :

3A Slave Address 01 30 31 Command code 03 30 33 Starting Address High 06 30 36 Starting Address Low 14 31 34 Number of Points High 00 30 30 Number of Points Low 08 30 38 LRC checksum DA 44 41 END CR LF 0D 0A Field name ASCII Hex STX : 3A Slave Address 01 30 31 Command code 03 30 33 Bytes Count 10 31 30