
APPENDIX D: COMMUNICATIONS
125ADP/300ADP/1000ADP DUAL PULSE RESISTANCE WELDING POWER SUPPLY
D-2
990-922
Section II. Communications Protocol and Commands
Command Format
Each external command will be formatted as follows:
<stx> <cmd> <cnt> <data> <cksum> <etx>.
Definition of a Command:
<stx>
1 BYTE
The data packet will start with a STX (start of text 0x02) character.
<cmd>
2 BYTES
This is a two character ASCII string denoting the command.
(i.e. “TY”).
<cnt>
2 BYTES
This is a count of data bytes to follow, converted into a decimal
ASCII number. (“00” to “99”).
<data>
n BYTES
This is ASCII numbers or ASCII data and may or may not be
required by the command. See the individual command.
Multiple byte ordering is: [MSB][…][LSB]
<cksum>
2 BYTES
This is a two charter ASCII HEX string calculated from the sum of
all bytes except <stx>, <cksum>, and <etx>.
Then masked with 255 (0xFF).
<etx>
1 BYTE
This terminates the transmission. (End of text 0x03).
The ADP will respond with a Negative Acknowledge Command (”
NK”)
when an error is encountered
in response to a command. The format and reasons follow.
<stx>
”NK”
<cnt> <err> <cksum> <etx>.
Where <err> = '1' NO <SOH>.
‘4’ Timeout.
‘2’
BAD
checksum.
‘5'
In
Local.
‘3’ Unrecognized command.
‘6’ Data Bad.
A valid command will return EITHER DATA OR
”AK”
.
The
<ACK>
format is:
<stx> “AK” <cnt> <data> <cksum> <etx>.
The
DATA
format is:
<stx> <cmd> <cnt> <ascii data> <cksum> <etx>.
When you issue a command to the ADP, you need to wait for the response before you issue the next
command. This waiting period should be at least 250 msec. The ADP should respond within this
timeout.
VARIABLE:
italics.
RANGE OF PARAMETERS:
low_end - high_end
(separated by hyphen).
Содержание 1000ADP
Страница 1: ...990 922 Rev G STORED ENERGY POWER SUPPLY 125 300 1000ADP OPERATION MANUAL...
Страница 8: ...125ADP 300ADP 1000ADP DUAL PULSE RESISTANCE WELDING POWER SUPPLY viii 990 922...
Страница 9: ...125ADP 300ADP 1000ADP DUAL PULSE RESISTANCE WELDING POWER SUPPLY 990 922 ix...
Страница 14: ......
Страница 24: ......
Страница 58: ......
Страница 64: ......
Страница 82: ......
Страница 92: ......
Страница 112: ...AMADA MIYACHI AMERICA INC 1820 South Myrtle Ave Monrovia CA 91016 U S A TEL 1 626 303 5676 FAX 1 626 358 8048...