
$,,2*!*/.$) -
Appendix B
B-34
Returns current status of the processor status flags and major fault
words. This function can be used with a direct-connect mode control
coprocessor only.
C Syntax
#include <copro.h>
unsigned CC_PLC_STATUS (plc_sts)
unsigned *plc_sts;
Parameters
plc_sts
A bit map of the current PLC-5 programmable controller status. The bit
map is defined as:
Bit
No.
Definition Bit
No.
Definition
/- , +,*",( ( (*,2
,/) (* $'' "' *+ ,) , --
. -. (* +,*",(($)" ,,*,
+,*",( (* !/).$*) #,. ,,*,
/,)$)" /+'$. ' '- !*/)
*0)'* (* +*0 , '*-- !/'.
$.- )' #) !/'.
, (*. (* - /- , %-, .* !/'. ,*/.$)
!*, - )' 0.#*" !/'.
!*, - +, - ). -2-. ( $'' "''2 *)!$"/,
-/ --!/' /,) #,0, !/'.
*)'$) $.$)" !$' * - )*. 1$-.
!$' $- )*. ' , *,
/" (* !$' $- )*. ' ,
!$' * - )*. 1$-.
/- , +,*",( # &-/( *) +,*",( $- )*. ' ,
+,*",( * - )*. 1$-.
'-. -) *! ' , -. + /'. +,*",( $- )*. ' ,
!/'. +,*",( * - )*. 1$-.
!$,-. -) *! ' , -. + /'. +,*",( * - )*. 1$-.
!/'. +,*",( $- )*. ' ,
Returns
Status Symbolic Name Meaning
+ ,.$*) -/ --!/'
$- )*. *)) . *, *!!'$)
CC_PLC_STATUS
Comentarios a estos manuales