![Amada CD-A Series Скачать руководство пользователя страница 80](http://html.mh-extra.com/html/amada/cd-a-series/cd-a-series_operation-manual_2915801080.webp)
APPENDIX D: COMMUNICATIONS
CD-A DUAL PULSE RESISTANCE WELDING POWER SUPPLY
D-2
990-430
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 CD-A 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’
‘2’
‘3’
NO<SOH>
BAD checksum
Unrecognized command
‘4’
‘5’
‘6’
Timeout
In Local
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 CD-A, you need to wait for the response before you issue the next
command. This waiting period should be at least 250ms. The CD-A should respond within this timeout.
VARIABLE:
italics.
RANGE OF PARAMETERS:
low_end - high_end
(separated by hyphen).
Содержание CD-A Series
Страница 1: ...990 430 Rev C STORED ENERGY POWER SUPPLY CD A OPERATION MANUAL ...
Страница 46: ......
Страница 60: ......
Страница 74: ......
Страница 78: ......
Страница 88: ......
Страница 108: ...AMADA WELD TECH INC 1820 South Myrtle Ave Monrovia CA 91016 U S A TEL 1 626 303 5676 FAX 1 626 358 8048 ...