![YASKAWA JEPMC-MP2300S-E Скачать руководство пользователя страница 424](http://html.mh-extra.com/html/yaskawa/jepmc-mp2300s-e/jepmc-mp2300s-e_user-manual_907071424.webp)
A-70
G.2
Message Receive Function (MSG-RCV)
This section explains how the message receive function (MSG-RCV) is used in a ladder program when receiving mes-
sages.
G.2.1 Specification Overview of the Message Receive Function
* 1. The meanings of I/O options are as follows:
B-VAL: Specify I/O by bit type data.
I-REG: Specify I/O by integer type data. When specifying, set an integer type register number.
As for the input only, it can be a constant (literal).
Address input: The address of the specified register (any integer register) is passed to the function.
* 2. When transmitting in MEMOBUS, Extended MEMOBUS, MELSEC, OMRON, or MODBUS/TCP protocol, set the
communication protocol (Pro-Typ) to MEMOBUS(=1). The communication device automatically converts the proto-
col.
* 3. Non-procedure 1: In non-procedural communication, data is received on a per-word basis.
Non-procedure 2: In non-procedural communication, data is received on a per-byte basis.
Function Name
MSG-RCV
Function
Receives messages from the remote station on the circuit specified by the communication device type. Supports
multiple protocol types.
Keep the execution command (Execute) until Complete or Error turns ON.
Function Defi-
nition
I/O Definition
No.
Name
I/O Option
(*1)
Contents
Input Item
1
Execute
B-VAL
Executes a reception
2
Abort
B-VAL
Forcibly ends a reception
3
Dev-Typ
I-REG
Communication device type
Ethernet (218IF) = 6, Ethernet (218IFA) = 16
4
Pro-Typ
I-REG
Communication protocol
MEMOBUS
*2
= 1, non-procedure 1
*3
= 2,
non-procedure 2
*3
= 3
5
Cir-No
I-REG
Line number
Ethernet (218IF) = 1-8, Ethernet (218IFA) = 1 to 8
6
Ch-No
I-REG
Communication buffer channel number
Ethernet (218IF) = 1-10, Ethernet (218IFA) = 1 to 4
7
Param
Address input
Parameter list start address
(MA, DA)
Output Item
1
Busy
B-VAL
In process
2
Complete
B-VAL
Process completed
3
Error
B-VAL
Error occurred
MSG
RCV
E
xecute
Abort
Dev
-T
yp
Pro
-T
yp
C
i
r
-N
o
Ch
-N
o
Param
Busy
Comp
l
ete
E
rror
Содержание JEPMC-MP2300S-E
Страница 14: ...MEMO ...
Страница 24: ...MEMO ...
Страница 114: ...MEMO ...
Страница 132: ...MEMO ...
Страница 154: ...5 2 User Programs 5 2 2 Motion Programs 5 22 2 Example using a ladder program ...
Страница 156: ...5 2 User Programs 5 2 2 Motion Programs 5 24 2 Example using a ladder program ...
Страница 190: ...MEMO ...
Страница 280: ...MEMO ...
Страница 300: ...7 3 Operation 7 3 5 How to Determine Input Error 7 20 Continued from the previous page ...
Страница 302: ...7 3 Operation 7 3 5 How to Determine Input Error 7 22 Application Example Continued on the next page ...
Страница 306: ...7 3 Operation 7 3 6 Management to Resume Slave CPU Synchronization 7 26 Application Example Continued on the next page ...
Страница 310: ...MEMO ...