2 message receive function, 1 basic specifications – Yaskawa JAPMC-MC2303-E User Manual

Page 102

Advertising
background image

6

Message Send and Receive Functions

6.2 Message Receive Function

6.2.1 Basic Specifications

6-17

6.2 Message Receive Function

When a request is received assuming that the 262IF-01 is an FL-net message transmission server or a response is
received as a client, the message receive function MSG-RCV is used.
Upon FL-net message reception by the MSG-RCV function, the 262IF-01 automatically sends a response message and
quits the message function. When the MSG-RCV function has not been started, the received FL-net message is retained
in the 262IF-01 for 5 seconds, but is discarded unless the MSG-RCV function is started after 5 seconds passes.
As for FL-net messages to be looped back within the 262IF-01, the MSG-RCV function does not need to be started.

6.2.1 Basic Specifications

∗ 1. The I/O designations are as follows:

B-VAL: I/O is specified as bit data.
I-REG: I/O is specified as integer data. Specify the number of an integer register.
Constants (immediate data) can also be specified for inputs.
Address input: The address of the specified register (any integer register) is passed to the function.

∗ 2. Non-procedure 1: Data is received in word units.

Function
Name

MSG-RCV

Function

Receives a message from a remote station on the line specified by the Transmission Device Type parameter
(DEV-TYP). The function supports multiple protocols. The Execute command must be held ON until the Com-
plete or Error output turns ON.

Function Defi-
nition

I/O Definitions

No.

Name

I/O Designation

∗1

Description

Inputs

1

Execute

B-VAL

Receive message command

2

Abort

B-VAL

Reception abort command

3

Dev-Typ

I-REG

Transmission device type

FL-net = 14

4

Pro-Typ

I-REG

Communication protocol

MEMOBUS = 1, Non-procedure 1

∗2

= 2

5

Cir-No

I-REG

Circuit number

FL-net = 1 to 8

6

Ch-No

I-REG

Transmission buffer channel number

FL-net = 1 to 10

7

Param

Address input

Parameter List Leading Address
(MA, DA)

Outputs

8

Busy

B-VAL

Processing in progress.

9

Complete

B-VAL

Processing completed.

10

Error

B-VAL

Error has occurred.

Advertising