TM 5-3895-374-24-1
Serial link
Question and answer code table
FUNCTION
QUESTION
POSITIVE
NEGATIVE
CODE
CODE
ANSWER CODE
ANSWER CODE
Read bit
A
A
N
Write bit
B
Y
N
Read mot
C
C
N
Write mot
D
Y
N
Read table of 10
E
E
N
consecutive words
Mirror
M
M
N
Case of a negative answer
- bit or word number not present in the ATV-45 2,
- non-existent question code,
- incorrect question format (but with first character ?)
Examples of messages
Reading of bit B6 (frequency reference signal)
question:
? A6 <LF> <CR> or ? A +00006 <LF> <CR>
answer:
> AO <LF> <CR> si B6 = 0 (positive reference)
> A1<LF> <CR> se B6 = 1 (negative reference)
Writing of bit B5 (ATV-45 2 run / stop command)
question:
?B5 <SP> 1 <LF> <CR> for run
?B5 <SP> 0 <LF> <CR> for stop
answer:
> Y <LF> <CR>
Reading of W22 (motor current)
question
? C22 <LF> <CR>
answer
? C + 00128 <LF> <CR> (motor current 12,8 A)
Writing of word W19 (frequency reference)
question:
? D19 <SP> 385 <LF> <CR> (reference 38,5 Hz)
answer:
> Y <LF> <CR>
Reading of 10 consecutive words starting at W5
question:
? E 5 <LF> <CR>
answer:
> E +00002 <SP> +00007 <SP> +00128 <LF> <CR>
word W5 = +00002
word W6 = +00007
word W7 = +00128
etc up to W14L inclusive
Mirror : this function can be used for the communication test It sends back the succession of
characters sent (from 1 to 16 numbers)
question:
? M12345 <LF> <CR>
answer:
> Ml 2345 <LF> <CR>
(page 3-267)