TM 5-3895-374-24-1Serial LinkDescription ofThe protocol Is based on the exchange of data comprising ASCII characters, exclusivelythe protocolFor the rest of this document, all characters are considered to be encoded In ASCII (see ASCII codestable, page 120)The exchanges are of the question-answer typeThe master (programmable controller or microcomputer) sends a question to the speed controller andwaits for its answer which should arrive within 50 ms, maximum If this time is exceeded the mastermust repeat the questionFailure to respond by the speed controller occurs in the following cases- Incorrect question format,- parity error detected in the characters,- faulty, or interrupted linkMessage formatThe messages are delimited by a start character? for a question,> for an answer,and two end characters LF followed by CRQuestionStartQuestion codeData 1SeparatorData 2End?see tablenumber of word1or 2 charactersvalue<LF> <CR>or bit<SP> or <@>’ These 2 symbols only exist to carry out writing, they are empty if a read request is madeAnswerStartQuestion codeData 3End>see tablevalue<LF> <CR>’ This value only exists In answer to a read request, it is empty If a write request is madeData 1bit or word number between 0 and +32767,the + is optional, as are the leading zerosExample for word W19, either 19 or +00019Data 2value of word or bit to be writtenFor 1 word whole number between -32768 and +32767,the + Is optional, as are the leading zerosExamples 25 or +00025,-168 or-00168For 1 bit 0or 1Data 3value of word or bit to be readFor 1 word 6 characters, fixed formatExamples +00034, -21254For 1 bit 0 or 1.(page 3-266)
Integrated Publishing, Inc. - A (SDVOSB) Service Disabled Veteran Owned Small Business