EasyManua.ls Logo

Banner A-GAGE MINI-ARRAY MAC Series - Page 40

Banner A-GAGE MINI-ARRAY MAC Series
44 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
40 P/N 43298 rev. E
Banner Engineering Corp. •Minneapolis,MNU.S.A.
www.bannerengineering.com•Tel:763.544.3164
MINI-ARRAY
®
InstructionManual
Appendix
ASCII Format Data Transmission
TherearetwoASCIIformats.Theoneuseddependsuponwhichmeasurement
modesareselected.FortheALLmeasurementmode,eachdatabyteispresented
inaneightbitASCIIformatwhichconveysthestatusoffourconsecutivechannels
(fourconsecutivebeams).Eachsubsequentbyteconveysthestatusofthenextfour
channels,untilthestatusofallchannelsisreported.
TheallowabledatavaluesaretheASCIInumbers0to9andtheASCIIlettersAtoF.In
thetableshowninFigureA-1,the0representsaclearchannel,andthe1representsa
blockedchannel.
TheothermeasurementmodesusethreeASCIIbytestorepresenttheirvalues.For
example,ifMeas1is FBB andMeas2isLBB,andthemeasuredvaluesare6and
120,andthecontrollerIDisA,thenthedatastringisasfollows:
0x1c A 0 0 6 1 2 0 0x0a
Thecontrollerallowssuppressionofcleardata.Thismeansthatdataissentonetime
whenthearrayiscompletelyclear(i.e.,whennobeamsareblocked),andnofurther
dataissentuntiloneormorebeamsisblocked.
Binary Format Data Transmission
Therearetwobinaryformats.Theoneuseddependsuponwhichmeasurementmodes
areselected.FortheALLmeasurementmode,eachdatabyteconveysthestatusof
eightconsecutivebeams.Eachbitofthebyteisdirectlyrelatedtothestatusofan
individualchannel.
Asanexample,ifthefirsteightbeamsareasfollows...
Channel Status Binary Code
1 Blocked 1
2 Clear 0
3 Blocked 1
4 Blocked 1
5 Clear 0
6 Blocked 1
7 Clear 0
8 Clear 0
...thenthedatabytehasthehexvalueof0x2d or45 decimal.Ifthearrayhas32
opticalchannels,thentherewouldbe4databytesrepresentingthestatusofall32
opticalchannels.Theothermeasurementmodesusetwobytestorepresentthe
measuredvalue.Thefirstofthetwobytesisthemostsignificant.Asanexample,the
valueof262fortheFBB measurementmodeiscodedbythetwo-bytenumber:
0x01 0x06.
Figure A-1. ASCII Data Values
Definitions for ASCII Data Values
FortheALL measurementmode
Character Ch4 Ch3 Ch2 Ch1
F 1 1 1 1
E 1 1 1 0
D 1 1 0 1
C 1 1 0 0
B 1 0 1 1
A 1 0 1 0
9 1 0 0 1
8 1 0 0 0
7 0 1 1 1
6 0 1 1 0
5 0 1 0 1
4 0 1 0 0
3 0 0 1 1
2 0 0 1 0
1 0 0 0 1
0 0 0 0 0

Related product manuals