5 USER GUIDE
5-92
Transparent message transmission request (Hitachi’s unique transparent type of support):
toukasend( )
[Linking procedure]
C language
Main Sub
Struct ToukaSend_p {
long node ;
unsigned short *Erradr ;
unsigned char
*dataadr ;
unsigned long
datasiz ;
unsigned long
TcdNo ;
} ;
long (*ToukaSend)( ) ;
long rtn ;
struct ToukaSend_p *padr ;
ToukaSend = (long(*)( ))0xD60180 ;/* S10V */
rtn = (*ToukaSend)(padr) ;
Struct ToukaSend_p {
long node ;
unsigned short *Erradr ;
unsigned char
*dataadr ;
unsigned long
datasiz ;
unsigned long
TcdNo ;
} ;
long (*ToukaSend)( ) ;
long rtn ;
struct ToukaSend_p *padr ;
ToukaSend = (long(*)( ))0xDE0180 ;/* S10V */
rtn = (*ToukaSend)(padr) ;
Note: For the S10mini, substitute 0xD7417E, 0xDF417E for 0xD60180, 0xDE0180.
[Parameters for mathematical/logical function]
+0x0000
Message transmission service number (18)
+0x0004
Transmission destination node number (1 to 255)
+0x0008
Error code storage address
+0x000C
Transmission data storage address
+0x0010
Data word count (0 to 1024)
+0x0014
Transmission message TCD (0 to 59999)
[Parameters]
padr
Struct ToukaSend_p {
long node ;
unsigned short *Erradr ;
unsigned char
*dataadr ;
unsigned long
datasiz ;
unsigned long
TcdNo ;
} ;
: Input parameter storage starting address
: Transmission destination
node number (1 to 255)
: Error code storage address
: Transmission
data storage address
: Data word count (0 to 1024)
: Transmission message TCD (0 to 59999)
Be sure to specify an even-numbered address in padr.
~
~
~
~
~
~
Summary of Contents for FL.NET
Page 1: ......
Page 2: ......
Page 29: ...1 OVERVIEW ...
Page 33: ...2 FL NET MODULE ...
Page 42: ...3 FL NET MODULE INSTALLATION ...
Page 46: ...4 FL NET MODULE WIRING PROCEDURES ...
Page 53: ...5 USER GUIDE ...
Page 203: ...5 USER GUIDE 5 151 Sample printout ...
Page 206: ...6 MAINTENANCE ...
Page 210: ...7 TROUBLESHOOTING ...
Page 225: ...8 APPENDIXES ...