Understanding Command Status Response (Csr) Codes - Advanced Energy Pinnacle 20 kW Manual

Table of Contents

Advertisement

If the Pinnacle unit receives a request for data or status information, it gathers and sends the
requested information. Otherwise, it evaluates the incoming command and sends a message-
packet that contains a 1-byte data value (CSR code) to the host ( see "Understanding
Command Status Response (CSR) Codes" on page 4-53 ). CSR code 0 is sent when the
command has been accepted.
If the host receives a NAK from the Pinnacle unit, the host either retransmits the packet or
does whatever else it has been programmed to do in this situation. If the host receives an ACK,
it waits for the requested data or status information or for the CSR code telling it whether or
not the new parameter was accepted. If the host receives no response within a reasonable
period, it takes whatever action it has been programmed to take.
Meanwhile, the Pinnacle unit has prepared a message packet with the requested information or
appropriate CSR code, which it then transmits to the host. The host determines by means of
the checksum if the message is complete. If the host detects an error in the transmission (by
using the Checksum), it can request the packet be sent again by transmitting a NAK.
If the Pinnacle unit receives an ACK, it returns to the normal waiting state. If the Pinnacle unit
receives a NAK, it retransmits the message packet. The Pinnacle unit continues to re-transmit
in response to NAK transmissions until the host stops the cycle. If the Pinnacle unit receives
no response, it assumes an ACK and returns to the waiting state.

Understanding Command Status Response (CSR) Codes

When the Pinnacle unit sends a Command Status Response (CSR) code in response to a
command, interpret the CSR (a one-byte response) code in the following way:
Table 4-17. Command Status Response (CSR) Codes
Code
0
The following CSR codes are sent in response to a command that was not accepted
and provide an indication of why the command was not accepted
1
2
3
4
5
6
7
8
9
5702199-A
Page 87 of 182
Meaning
Command accepted
Control mode is incorrect
Output is on (Change not allowed)
Output is off (Change not allowed)
Data is out of range
Invalid parameter
Program source is incorrect
Active fault(s) exist
Ramping is active (Change not allowed)
Data byte count is incorrect
I/O Communication and Control
Pinnacle™ 20 kW
4-53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents