4 USER GUIDE
JRSP
Function
Status Information
Program Example
SA01
~
~
SA01
Send area setting data
15
2
——————— 2
FW080 ① mdl(00)
1 ③ net(00)
2 ⑤ data0
3 ⑦ data2
4 ⑨ data4
5 ⑪ data6
6 ⑬ data8
Notes:
1. The values in parentheses in the above figure
are examples of set values.
2. The set values of the shaded bytes are fixed.
Captures the station data received in the J.NET buffer as a result of JCMD
READ command issuance into a user-specified area.
The transmission/reception status and error information are stored in the
S-register, NET status table, and S-table.
An example of issuing JRSP when the NET status table is Q000 to Q07F and
response data from the sub-station in reply to the JCMD READ command
request is captured into FW080 to FW086 is given below.
Q001
Q061
Q041
Q061
SA01: N1 ERR
Q001: Data can be transmitted (SID = 1).
Q041: Response reception completion in station 1 (SID = 1).
Q061: An error was detected in station 1 (SID = 1).
8
7
2
——————— 2
② sid(01)
④ svc(32)
⑥ data1
⑧ data3
⑩ data5
⑫ data7
⑭ 00
JCMD
JRSP
Number of bytes specified in the second parameter
0
① mdl: Set a module No.
② sid: Set a station ID.
③ net: Set a net No.
④ svc: Set a service code (= 32H).
4-18
#L
FW000:H12
~
~
#L
FW080:H0E