A.2 Receive Message Function (MSG-RCV)
A.2 Receive Message Function (MSG-RCV)
Function MSG-RCV
Name
Function Receives a message from the remote station on the line specified by the COMMUNI-
CATIONS DEVICE TYPE command (DEV-TYP). Supports multiple protocol types.
The EXECUTION command (EXECUTE) must be held ON until COMPLETE or
ERROR turns ON. A
Communications devices: 215IF, 217IF, 218IF, serial, SVB-01
Protocols: MEMOBUS, no-protocol
Function
Definition MSG-RCV
EXECUTE BUSY
ABORT COMPLETE
DEV-TYP ERROR
PRP-TYP
CIR-NO
CH-NO
PARAM
A-13
Appendix A System Functions
A.2.2 Parameter Lists (PARAM)
The parameters are shown below. No setting is required for the parameters that are blank in
the “No-protocol” column.
A-14
A.2 RECEIVE MESSAGE Function (MSG-RCV)
Status (PARAM01)
PARAM01 outputs the status of the communications unit.
1. Bit Assignments
F E D C B A 9 8 7 6 5 4 3 2 1 0
PARAMETER
COMMAND
RESULT
REQUEST
A-15
Appendix A System Functions
A.2.3 Parameter Details
2. COMMAND
3. RESULT
4. PARAMETER
PARAMETER indicates one of the error codes shown in Table A.2. when RESULT is
set to 4 (FMT_NG). Otherwise, it indicates the address of the remote station.
Code Error
00 No errors.
01 Station address outside the allowable range
02 MEMOBUS response receiving time error
03 Retry count setting error
04 Cyclic area setting error
05 Message signal CPU number error
06 Message signal register number error
07 Message signal word count error
5. REQUEST
1 = Request
0 = Acceptance completion report
A-16
A.2 RECEIVE MESSAGE Function (MSG-RCV)
MB, MW, IB, and IW registers can be used as coils, holding registers, input relays, and input
registers during slave operation.
A-17
Appendix A System Functions
A.2.3 Parameter Details
This parameter is valid when the function code is 01H, 05H, or 0FH.
This parameter is valid when the function code is 03H, 06H, 09H, 0BH, 0DH, 0EH, or 10H.
This parameter is valid when the function code is 0BH, 0EH, 0FH, or 10H.
A-18
A.2 RECEIVE MESSAGE Function (MSG-RCV)
A.2.4 Inputs
When transmitting messages with the MELSEC or OMRON protocol, specify MEMOBUS
protocol (=1). Protocol is converted by the communications device (217IF or 218IF).
• MEMOBUS: Setting = 1
• No-protocol 1: Setting = 2 (Data is sent or received in word units without using a proto-
col.)
• No-protocol 2: Setting = 3 (Data is sent or received in byte units without using a proto-
col.)
Note: For no-protocol transmissions, no response is received from the
sender.
A-19
Appendix A System Functions
A.2.5 Outputs
A.2.5 Outputs
For error causes, refer to PARAM00 and PARAM01 described in A.2.3 Parameter Details.
A-20