0 software command structure, Error checking (bcc / crc), Protocol – Watlow Electric Revision 5 User Manual

Page 64: Status codes

Advertising
background image

59

implement your entire turn key hardware and software system. Please contact your
local representative or ANAFAZE directly for a quotation.

10.0 SOFTWARE COMMAND STRUCTURE
The SYSTEM 32 will respond to commands according to the following format.
The commands generally follow the specifications of ANSI X3.28-1976. The
structure is outlined below:

10.1. Commands from Allen Bradley Programmable Controllers (CMD)
The A32PID will respond only to Unprotected Block Read (CMD01) and
Unprotected Block Write (CMD 08) commands from the Allen Bradley PLC. Any
other command numbers received will return an error status code.

10.2. Error Checking (BCC / CRC)
Controller bit Switch 7 will select the method of error checking to be used. CRC is
recommended for highest data integrity, BCC can be used when higher speed is
necessary.

Switch Setting Error Check
0 BCC
1 CRC

10.3. Protocol
Controller protocol is set for full duplex. Switch 8 is not used at this time.

10.4. Status Codes
Four Error Code numbers will be returned in the Status (STS) byte to denote the
following error conditions :

Error Code (Hex) Status/Error Condition
---------------- ----------------------
A0 Processor Reset
C0 Command Error
D0 Data Boundary Error
E0 [ Spare ]

Advertising