2 msg-snd function setting example, 3 inputs and outputs for the message send function, 1 ) execute (send message execute command) – Yaskawa JAPMC-CM2304-E User Manual

Page 67: 2 ) abort (send message abort command), 3 ) dev-typ (transmission device type)

Advertising
background image

5.2 Message Send Function

5.2.2 MSG-SND Function Setting Example

5-5

5

Explicit Message and Explicit Message Send Function

5.2.2 MSG-SND Function Setting Example

This example illustrates the settings needed when using the EtherNet/IP as the transmission device.

The protocol type is set to MEMOBUS.
Set the circuit number in accordance with the circuit number assigned to the corresponding 263IF-01 Module.
Transmission buffer channel numbers in the same circuit must all be unique.
For details on settings, refer to 5.2.3 Inputs and Outputs for the Message Send Function on page 5-5.

5.2.3 Inputs and Outputs for the Message Send Function

The following table lists the registers that can be used for the inputs and outputs.

The following describes the inputs and outputs in more detail.

( 1 ) Execute (Send Message Execute Command)

Specify the bit that will be used to control execution of the Message Send function.
Message send processing is started when the Execute command turns ON. To execute processing, this bit must be
turned ON and OFF from the ladder program or other programs.

Œ

The Execute command must be held ON until the Complete or Error output turns ON. The message is sent when the
Execute command turns ON. To send another message consecutively, always turn OFF the Execute command for
at least one scan.

( 2 ) Abort (Send Message Abort Command)

Specify the bit that will be used to abort the Message Send function.
Sending the message will be aborted when the Abort command turns ON. The Abort command takes priority over the
Execute command.
To abort processing, this bit must be turned ON and OFF from the ladder program or other programs.

( 3 ) Dev-Typ (Transmission Device Type)

Specify the Dev-Typ to specify the transmission device type.

The transmission device type of EtherNet/IP is 17.

Transmission device = EtherNet/IP

Protocol type = MEMOBUS

Circuit number = 1

Transmission buffer channel number = 1

Parameter list leading address = DA00000

(DW00000 to DW00016 are used.)

Item I/O

Designation

Applicable

Registers

Input

Execute
Abort

B-VAL

Any bit registers (including those with subscripts)
except for # and C registers

Dev-Typ
Pro-Typ
Cir-No
Ch-No

I-REG

Any integer registers (including those with subscripts)
and constants

Param

Address input

Any register addresses (including those with subscripts)
except for # and C registers

Output

Busy
Complete
Error

B-VAL

Any bit registers (including those with subscripts)
except for # and C registers

Advertising
This manual is related to the following products: