Datasheet
9/29/2015 ETH0621
http://www.robotelectronics.co.uk/htm/eth0621tech.htm 6/11
32 20 (100msresolution)or0forpermanent
or
17formotordirection,thenabyteof0(ignoredbutmustbe
transmitted)
Boardwillreturn0forsuccess,1forfailure
33 21
DIGITALINACTIVEfollowwith2bytesbelow
12tosetrelaystates,thenatimeforpulsedoutputfrom1255
(100msresolution)or0forpermanent
or
910fordigitaloutputs,thenatimeforpulsedoutputfrom1255
(100msresolution)or0forpermanent
or
17formotordirection,thenabyteof0(ignoredbutmustbe
transmitted)
Boardwillreturn0forsuccess,1forfailure
35 23
DIGITALSETOUTPUTSfollowwith3bytes
1stbyteslower2bitssetstherelays,the2ndbyteslower2bitswill
setthedigitaloutputsandthelowestbitofthe3rdbytesetsthe
motordirection
Boardwillreturn0forsuccess,1forfailure
36 24
DIGITALGETOUTPUTSreturns3bytes
1stbyteslower2bitscontainrelaystates,the2ndbyteslower2
bitscorrespondwithactivedigitaloutputsandbyte3hasthemotor
directionintheLSB.
37 25
DigitalGetInputsreturns4bytes,thefirstthreewillallbe0and
the4thencodesthedigitalinputsintothelower6bits
48 30
SETVARIABLEOUTPUTfollowwith3bytesbelow
Setmotorspeed,2ndbytesend1,then0100forthe%powerand
finallyatimeforpulsedoutputfrom1255(100msresolution)or0
forpermanent
or
Setmotoracceleration,2ndbytewesend2,then120forthe
accelerationlevelandfinallya0byte.
Boardwillreturn0forsuccess,1forfailure
49 31
GETVARIABLEOUTPUTfollowwith1byte
sending1willrequestthecurrentmotorspeedsetting
or
sending2willrequestthecurrentaccelerationsetting
Boardwillreturn2bytes,0inthefirstbyteandspeed/acceleration
inthesecond
GETVARIABLEINPUTfollowwith1byte