Hitachi FL.NET User Manual page 108

Option for s10v
Hide thumbs Also See for FL.NET:
Table of Contents

Advertisement

(5) Parameters for various message requests
The rest of this section describes the parameters that the C mode handler and
mathematical/logical function use to issue various message requests.
Word block read request: wordrd( )
[Linking procedure]
Struct wordr_p {
long node ;
unsigned short *Erradr ;
unsigned short *Setadr ;
long Readadr ;
long Readsz ;
} ;
long (*wordrd)( ) ;
long rtn ;
struct wordr_p *padr ;
wordrd = (long(*)( ))0xD60020 ;/* S10V */
rtn = (*wordrd)(padr) ;
[Parameters for mathematical/logical function]
Main
+0x0000
Message transmission service number (3)
+0x0004
Remote node number (1 to 254)
+0x0008
Error code storage address
+0x000C
Read data storage address
+0x0010
Virtual address
+0x0014
Virtual size
C language
Struct wordr_p {
long node ;
unsigned short *Erradr ;
unsigned short *Setadr ;
long Readadr ;
long Readsz ;
} ;
long (*wordrd)( ) ;
long rtn ;
struct wordr_p *padr ;
wordrd = (long(*)( ))0xDE0020 ;/* S10V */
rtn = (*wordrd)(padr) ;
5-53
5 USER GUIDE
Sub

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Lqe702Lqe702-z

Table of Contents