-47-
10-I GMode(EBCDICCodeConvertandOutputCommand)
[Explanation]
ThiscommandisforreadingEBCDIC-basedpunchedholecodesofonecolumnandconvertingthe
codesinto1-byteASCIIcodestooutputthem.
ThisdeviceoutputsaspacewhenamarkpositiondoesnotagreewiththeEBCDICcodeorwhenno
markisdetected.
SeparatorslikeSTXandETXcanbeaddedusingtheDC4command.
[Format]
HostComputer Thisdevice
DLE G N1N2N3 M1M2M3 CR Receive
(10H) (47H) (0DH)
Receive Dataoutput
####・・########
Fixedlengthof1byteacolumnxM1M2M3columns
N1N2N3:3-byteASCIIcodeindicatingreadstartcolumnnumber.
(Example)Fromthe3rdcolumn=003(30H,30H,33H)
M1M2M3:3-byteASCIIcodeindicatingnumberofcolumnstoberead.
(Example)50columns=050(30H,35H,30H)
Note:
N1N2N3andM1M2M3cannotbeomittedas6-bytefixedlengthdata.
10.DataTransferMode