3. Instruction Set

Value

Error Description

H0005

Communication data length error

 

 

9.Corresponding table between D1167~D1169 and the associated interrupt pointers. (Only lower 8 bits are valid)

COM Port

I1□0 interrupt

Special D

 

 

 

COM1

I140

D1167

 

 

 

COM2

I150

D1168

 

 

 

COM3

I160

D1169

 

 

 

10.Take standard MODBUS format for example:

ASCII mode

Field Name

Descriptions

STX

Start word = ‘: ’ (3AH)

 

 

Address Hi

Communication address:

Address Lo

The 8-bit address consists of 2 ASCII codes

 

 

Function Hi

Function code:

Function Lo

The 8-bit function code consists of 2 ASCII codes

 

 

DATA (n-1)

Data content:

 

…….

n × 8-bit data content consists of 2n ASCll codes

 

DATA 0

 

 

 

LRC CHK Hi

LRC check sum:

LRC CHK Lo

8-bit check sum consists of 2 ASCll code

 

 

END Hi

End word:

END Lo

END Hi = CR (0DH), END Lo = LF(0AH)

 

 

The communication protocol is in Modbus ASCII mode, i.e. every byte is composed of 2 ASCII characters. For example, 64Hex is ‘64’ in ASCII, composed by ‘6’ (36Hex) and ‘4’ (34Hex). Every character ‘0’…’9’, ‘A’…’F’ corresponds to an ASCII code.

Character

‘0’

‘1’

‘2’

 

 

 

 

ASCII code

30H

31H

32H

 

 

 

 

 

 

 

 

Character

‘8’

‘9’

‘A’

ASCII code

38H

39H

41H

 

 

 

 

Start word (STX): ‘: ’ (3AH) Address:

‘0’ ‘0’: Broadcasting to all drives (Broadcast)

‘0’ ‘1’: toward the drive at address 01

‘3’

33H

‘B’

42H

‘4’

‘5’

‘6’

‘7’

 

 

 

 

34H

35H

36H

37H

 

 

 

 

 

 

 

 

‘C’

‘D’

‘E’

‘F’

 

 

 

 

43H

44H

45H

46H

 

 

 

 

3 - 2 2 1

Page 337
Image 337
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE COM Port I10 interrupt Special D, COM1, COM2, Ascii mode Field Name Descriptions, Data