5 USER GUIDE
5-69
Network parameter write request: parawt( )
[Linking procedure]
C language
Main Sub
Struct paraw_p {
long node ;
unsigned short *Erradr ;
unsigned char
*Dataadr ;
} ;
long (*parawt)( ) ;
long rtn ;
struct paraw_p *padr ;
parawt = (long(*)( ))0xD60080 ;/* S10V */
rtn = (*parawt)(padr) ;
Struct paraw_p {
long node ;
unsigned short *Erradr ;
unsigned char
*DataPadr ;
} ;
long (*parawt)( ) ;
long rtn ;
struct paraw_p *padr ;
parawt = (long(*)( ))0xDE0080 ;/* S10V */
rtn = (*parawt)(padr) ;
Note: For the S10mini, substitute 0xD74124, 0xDF4124 for 0xD60080, 0xDE0080.
[Parameters for mathematical/logical function]
+0x0000
Message transmission service number (6)
+0x0004
Remote node number (1 to 254)
+0x0008
Error code storage address
+0x000C
Write parameter data storage address
[Parameters]
padr
Struct paraw_p {
long node ;
unsigned short *Erradr ;
unsigned char
*Setadr ;
} ;
: Input parameter storage starting address
: Remote node number (1 to 254)
: Error code storage address
: Write parameter data storage address
Be sure to specify an even-numbered address in padr.
~
~
~
~
~
~
Содержание FL.NET
Страница 1: ......
Страница 2: ......
Страница 29: ...1 OVERVIEW ...
Страница 33: ...2 FL NET MODULE ...
Страница 42: ...3 FL NET MODULE INSTALLATION ...
Страница 46: ...4 FL NET MODULE WIRING PROCEDURES ...
Страница 53: ...5 USER GUIDE ...
Страница 203: ...5 USER GUIDE 5 151 Sample printout ...
Страница 206: ...6 MAINTENANCE ...
Страница 210: ...7 TROUBLESHOOTING ...
Страница 225: ...8 APPENDIXES ...