Cc_get_display_str – Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual
Page 156
Advertising
![background image](/manuals/579606/156/background.png)
API Library of Routines
Appendix B
CC_GET_DISPLAY_STR
B-25
Copies the characters of the current ASCII display to the user’s buffer.
C Syntax
#include <copro.h>
unsigned CC_GET_DISPLAY_STR (str_ptr)
char *str_ptr;
Parameters
str_ptr
Specifies a pointer to users buffer to receive the display characters.
This function always copies four characters. No null is appended.
Returns
Status
Symbolic Name
Meaning
0
CC_SUCCESS
Operation successful
159
CC_E_NOEXPANDER
Expander not present
Description
Use the CC_GET_DISPLAY_STR function to get the current
display values.
C Example
unsigned status;
char buff [4];
.
.
.
status = CC_GET_DISPLAY_STR (buff);
.
.
.
CC_GET_DISPLAY_STR
Advertising