B&B Electronics manual Decimal, 485SDD16-1005 Manual Appendix a

Page 18

APPENDIX A

ASCII Character Codes

Decimal ASCII

 

Decimal

ASCII

0

NUL

39

"

1

SOH

40

(

2

STX

41

)

3

ETX

42

*

4

EOT

43

+

5

ENQ

44

"

6

ACK

45

-

7

BEL

46

.

8

BS

47

/

9

HT

48

0

10

LF

49

1

11

VT

50

2

12

FF

51

3

13

CR

52

4

14

SO

53

5

15

SI

54

6

16

DLE

57

9

17

DC1

58

:

18

DC2

59

;

19

DC3

60

<

20

DC4

61

=

21

NAK

62

>

22

SYN

63

?

23

ETB

64

@

24

CAN

65

A

25

EM

66

B

26

SUB

67

C

27

ESC

68

D

28

FS

69

E

29

GS

70

F

30

RS

71

G

31

US

72

H

32

SP

73

I

33

!

74

J

34

"

75

K

35

#

76

L

36

$

77

M

37

%

78

N

38

&

79

O

485SDD16-1005 Manual

Appendix A

A-1

A-2

Appendix A

485SDD16-1005 Manual

B&B Electronics -- 707 Dayton Road -- Ottawa, IL 61350

B&B Electronics -- 707 Dayton Road -- Ottawa, IL 61350

PH (815) 433-5100 -- FAX (815) 433-5104

PH (815) 433-5100 -- FAX (815) 433-5104

Image 18
Contents Internet Electronics Mfg. Co. IncDesigned and Manufactured Ottawa, Illinois Sales@bb-elec.com Support@bb-elec.comTable of Contents 485SDD16 Features 485SDD16 SpecificationsIntroduction Power Supply CommunicationsSize 485SDD16 I/O Port Pinout ConnectionsDigital I/O Connections Serial Port ConnectionsExample of Multi-Node Network Equivalent Values Commands485SDD16 Commands SyntaxRead I/O Lines Command Set Output Lines CommandBit Assignments for I/O Lines Define I/O Lines Command Set Module Address CommandSet Turn-around Delay Command Command AddrSC ArgumentRead Configuration command returns the modules I/O Set Power-up States CommandRead Configuration Command Command AddrRC Argument None ResponseInterfacing Digital InputsIsolated Solid State Input Digital OutputsSoftware Programming TechniquesDigital I/O Mask Values MSpups = MSpups and mask LSpups = LSpups and mask Set Output States CommandMSdefs = MSdefs and mask LSdefs = LSdefs and mask MSstates = MSstates or mask LSstates = LSstates or maskCmnd$ = ! + CHR$Maddr + SO + CHR$MSstates + CHR$LSstates Define I/O Lines CommandSet Power-up States Command Maddr =Cmnd$ = ! + CHR$Maddr + SS + CHR$MSpups + CHR$LSpups Set Module Address CommandMSpups = MSpups and NOTmask LSpups = LSpups and NOTmask LSpups = LSpups or &H20Demonstration Program Running Demonstration ProgramDecimal 485SDD16-1005 Manual Appendix a119 120 121 122 123 124 125 126 127 485SDD16-1005 Manual Appendix aAppendix B 485SDD16-1005 Manual Appendix B3rd Hex digit Decimal to Hexadecimal Conversion252 240 4th Hex digit Decimal equals 10FC hexadecimalAppendix C Table C.1 DTB25 Connections Table C.2 DBM16 I/O ConnectionsDBM16 Interfacing Figure C.4 Solid State Input 485SDD16-1005 Manual Appendix CTotal DBM16 Specifications LinesPower Supply Input Voltage Connections SizeFigure C.10 DBM16 Schematic 00FF01FE #addrRDMsb~ I/O msbI/O lsb ~ I/O lsb Comp = not x and &HFFTable D-1 Extended Commands 485SDD16-1005 Manual Appendix D