Hitachi FL.NET User Manual page 131

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

Advertisement

5 USER GUIDE
Specified task control request (Hitachi's unique transparent type of support):
reqmacro( )
[Operation performed]
Exercises control (abort/release/queue) over a user-specified task number.
[Linking procedure]
Struct Reqmacro_p {
long node
unsigned short *Erradr ;
unsigned long *Retadr ;
long ParaCnt ;
unsigned long Para[3] ;
} ;
long (*ReqMacro)( ) ;
long rtn ;
struct Reqmacro_p *padr ;
ReqMacro = (long(*)( ))0xD60140 ;/* S10V */
rtn = (*ReqMacro)(padr) ;
[Parameters for mathematical/logical function]
Main
+0x0000
Message transmission service number (13)
+0x0004
Remote node number (1 to 254)
+0x0008
Error code storage address
+0x000C
CPMS macro execution result storage address
+0x0010
CPMS macro parameter count
+0x0014
CPMS macro parameter 1
+0x0018
CPMS macro parameter 2
+0x001C
CPMS macro parameter 3
C language
Struct Reqmacro_p {
unsigned short *Erradr ;
unsigned long *Retadr ;
long ParaCnt ;
unsigned long Para[3] ;
} ;
long (*ReqMacro)( ) ;
long rtn ;
struct Reqmacro_p *padr ;
ReqMacro = (long(*)( ))0xDE0140 ;/* S10V */
rtn = (*ReqMacro)(padr) ;
5-76
Sub
long node

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Lqe702Lqe702-z

Table of Contents