Delta DVP-ES2 — 3.8 Detailed Instruction Explanation

3. Instruction Set ‘0’ ‘1’: toward the drive at address 01 ‘0’ ‘F’: toward the drive at address 15 ‘1’ ‘0’: toward the drive at address 16 and so on, max. address: 254 (‘F’ ‘E’) Function code: ‘0’ ‘1’: Reading several bit devices ‘0’ ‘2’: Reading several bit devices (read-only devices) ‘0’ ‘3’: Reading several word devices ‘0’ ‘4’: Reading several word devices (read-only devices) ‘0’ ’5’: Writing a state in a single bit device ‘0’ ‘6’: Writing data in a single word device ‘0’ ’F’: Writing states in bit devices ‘1’ ‘0’: Writing data in word devices Data characters: ‘1’ ‘7’: Reading word devices and writing data in word devices The data sent by the user LRC checksum:

LCR checksum is 2’s complement of the value added from Address to Data Characters. For example: 01H + 03H + 21H + 02H + 00H + 02H = 29H. 2’s complement of 29H = D7H. End word (END): Fix the END as END Hi = CR (0DH), END Lo = LF (0AH) Example: Read 2 continuous data stored in the registers of the drive at address 01H (see the table below). The start register is at address 2102H. Inquiry message: Response message: 3-239 STX ‘: ’ ‘0’ Address ‘1’ ‘0’ Function code ‘3’ ‘2’ ‘1’ Start address ‘0’ ‘2’ ‘0’ Number of data ‘0’ (count by word) ‘0’ STX ‘: ’ ‘0’ Address ‘1’ ‘0’ Function code ‘3’ Number of data ‘0’ (count by byte) ‘4’ ‘1’ Content of start ‘7’ address ‘7’ 2102H ‘0’ Content of address ‘0’