B&B Electronics manual 119 120 121 122 123 124 125 126 127, 485SDD16-1005 Manual Appendix a

Page 19

Decimal

ASCII

Decimal

ASCII

80

P

119

w

81

Q

120

x

82

R

121

y

83

S

122

z

84

T

123

{

85

U

124

86

V

125

}

87

W

126

~

88

X

127

DEL

89

Y

128

 

90

Z

129

 

91

[

130

 

92

\

 

93

]

 

94

^

 

95

_

255

 

96

'

 

 

97

a

 

 

98

b

 

 

99

c

 

 

100

d

 

 

101

e

 

 

102

f

 

 

103

g

 

 

104

h

 

 

105

i

 

 

106

j

 

 

107

k

 

 

108

l

 

 

109

m

 

 

110

n

 

 

111

o

 

 

112

p

 

 

113

q

 

 

114

r

 

 

115

s

 

 

116

t

 

 

117

u

 

 

118

v

 

 

485SDD16-1005 Manual

Appendix A

A-3

A-4

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 19
Contents Sales@bb-elec.com Support@bb-elec.com Electronics Mfg. Co. IncDesigned and Manufactured Ottawa, Illinois InternetTable of Contents 485SDD16 Specifications 485SDD16 FeaturesIntroduction Communications Power SupplySize Serial Port Connections ConnectionsDigital I/O Connections 485SDD16 I/O Port PinoutExample of Multi-Node Network Syntax Commands485SDD16 Commands Equivalent ValuesSet Output Lines Command Read I/O Lines CommandBit Assignments for I/O Lines Command AddrSC Argument Set Module Address CommandSet Turn-around Delay Command Define I/O Lines CommandCommand AddrRC Argument None Response Set Power-up States CommandRead Configuration Command Read Configuration command returns the modules I/ODigital Inputs InterfacingDigital Outputs Isolated Solid State InputProgramming Techniques SoftwareDigital I/O Mask Values MSstates = MSstates or mask LSstates = LSstates or mask Set Output States CommandMSdefs = MSdefs and mask LSdefs = LSdefs and mask MSpups = MSpups and mask LSpups = LSpups and maskMaddr = Define I/O Lines CommandSet Power-up States Command Cmnd$ = ! + CHR$Maddr + SO + CHR$MSstates + CHR$LSstatesLSpups = LSpups or &H20 Set Module Address CommandMSpups = MSpups and NOTmask LSpups = LSpups and NOTmask Cmnd$ = ! + CHR$Maddr + SS + CHR$MSpups + CHR$LSpupsRunning Demonstration Program Demonstration Program485SDD16-1005 Manual Appendix a Decimal485SDD16-1005 Manual Appendix a 119 120 121 122 123 124 125 126 127485SDD16-1005 Manual Appendix B Appendix B240 4th Hex digit Decimal equals 10FC hexadecimal Decimal to Hexadecimal Conversion252 3rd Hex digitAppendix C Table C.2 DBM16 I/O Connections Table C.1 DTB25 ConnectionsDBM16 Interfacing 485SDD16-1005 Manual Appendix C Figure C.4 Solid State InputConnections Size DBM16 Specifications LinesPower Supply Input Voltage TotalFigure C.10 DBM16 Schematic Comp = not x and &HFF #addrRDMsb~ I/O msbI/O lsb ~ I/O lsb 00FF01FE485SDD16-1005 Manual Appendix D Table D-1 Extended Commands