Cc_status – Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual
Page 169
API Library of Routines
Appendix B
CC_STATUS
B-38
Returns current status information of the coprocessor.
C Syntax
#include <copro.h>
unsigned CC_STATUS ();
Parameters
none
Returns
Value
Meaning
xx
Bitmap of the current coprocessor status
The bit map is defined as:
Bit No.
Definition
0
Battery Status (0=low, 1=ok)
1
PLCĆ5 OnĆLine Status (0=offĆline, 1=onĆline)
2
Expander Presence Status (0=not present, 1=present)
3
PLCĆ5 Reset Enable Status (0=disabled, 1=enabled)
4
Not used
5
Flash Test Status (0=failed, 1=ok)
6Ć7
Not used
8Ć11
Encoded Memory Size (in megabytes)
1 = 0.25
2 = .0.50
3 = 1.00
4 = 1.25
5 = 2.00
6 = 4.00
7 = 4.25
8 = 5.00
9 = 8.00
12Ć15
Not used
16Ć23
RAM Disk Size (in number of 64Kb blocks)
24Ć31
Station Address
Description
Use CC_STATUS to get the current status information of the coprocessor.
CC_STATUS