5 USER GUIDE
5-88
Transparent message reception request (Hitachi’s unique transparent type of support):
toukaread( )
[Linking procedure]
C language
Main Sub
Struct ToukaRead_p {
long node ;
unsigned short *Erradr ;
unsigned char
*dataadr ;
unsigned long datasiz ;
} ;
long (*ToukaRead)( ) ;
long rtn ;
struct ToukaRead_p *padr ;
ToukaRead = (long(*)( ))0xD60160 ;/* S10V */
rtn = (*ToukaRead)(padr) ;
Struct ToukaRead_p {
long node ;
unsigned short *Erradr ;
unsigned char
*dataadr ;
unsigned long datasiz ;
} ;
long (*ToukaRead)( ) ;
long rtn ;
struct ToukaRead_p *padr ;
ToukaRead = (long(*)( ))0xDE0160 ;/* S10V*/
rtn = (*ToukaRead)(padr) ;
Note: For the S10mini, substitute 0xD74178, 0xDF4178 for 0xD60160, 0xDE0160.
[Parameters for mathematical/logical function]
+0x0000
Message transmission service number (17)
+0x0004
Reception destination node number (0 to 254)
+0x0008
Error code storage address
+0x000C
Reception data storage address
+0x0010
Data word count (0 to 1024)
[Parameters]
padr
Struct ToukaRead_p {
long node ;
unsigned short *Erradr ;
unsigned char
*dataadr ;
unsigned long
datasiz ;
} ;
: Input parameter storage starting address
: Reception destination node number (0 to 254)
: Error code storage address
: Reception data storage address
: Data word count (0 to 1024)
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 ...