
3.SAFETY FUNCTIONS B-63494EN/02
- 42 -
Writing of programmable safe-related output signals
[Function name] pmc_wrsafeprgio
[Format] #include <fwindow.h>
int pmc_wrsafeprgio( char data ) ;
[Argument] data : Programmable safe-related output signal data
[Return value] 0 : Normal termination
6 : The dual check safety option is not added.
[Description] This function sets the programmable safe-related output signals
(DO+001) on the FSSB side of the programmable safe-related I/O
signal function of Dual Check Safety.
[Example of use] The programmable safe-related output signals are initialized.
int init_prgio_di( void )
{
int ret;
ret = pmc_wrsafeprgio( 0x00 ) ;
if( ret == 0 )
return( 0 );
else
return( -1 );
}