Hitachi S10mini Hardware Manual page 47

Option j.net
Hide thumbs Also See for S10mini:
Table of Contents

Advertisement

4 USER GUIDE
JRCV
Function
Status Information
Program Example
SA01
Send area setting data
15
2
——————— 2
FW100 ① mdl(00)
1 ③ net(00)
2 ⑤ data0
3 ⑦ data2
4 ⑨ data4
5 ⑪ data6
6 ⑬ data8
40
data28
33
41
data30
35
Transmits as many bytes of data as specified minus 4 from the external device
connected with J.STATION to the receive area specified by parameters.
The transmission/reception status and error information are stored in the
S-register, NET status table, and S-table.
An example of capturing the 32 bytes of data received from the external device
connected to J.STATION into FW100 when the NET status table is Q000 to
Q07F and LGB is set is given below. (Because the byte number specified by
the second parameter has mdl, etc. attached to it, be sure to increment the
received data length by 4 bytes.)
Q021
Q061
SA01: N1 ERR
Q021: Data reception completion in station 1 (SID = 1).
Q061: An error was detected in station 1 (SID = 1).
8
7
2
——————— 2
② sid(01)
④ 00
⑥ data1
⑧ data3
⑩ data5
⑫ data7
⑭ data9
data29
34
data31
36
JRCV
#L
0
Number of bytes specified in the second parameter
① mdl: Set a module No.
② sid: Set a station ID.
③ net: Set a net No.
Note: The values in parentheses in the left figure are
examples of set values.
4-20
FW100:H24

Advertisement

Table of Contents
loading

Table of Contents