6 message send and receive functions, Message send and receive functions – Yaskawa JAPMC-MC2303-E User Manual

Page 86

Advertising
background image

6

Message Send and Receive Functions

6-1

6

Message Send and Receive Functions

This chapter describes message send (MSG-SND) and message receive (MSG-RCV) functions in
detail and sample programs necessary for transmission and reception.

6.1 Message Send Function - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -6-2

6.1.1 Outline Specifications - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-2
6.1.2 MSG-SND Function Setting Example - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-3
6.1.3 Inputs and Outputs for the Message Send Function - - - - - - - - - - - - - - - - - - - - - - - - - 6-3
6.1.4 Parameter List for MSG-SND Function - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-9
6.1.5 Parameter Details for MSG-SND Function - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-10
6.1.6 Specifying an FL-net Virtual Address Space Using the MSG-SND Function - - - - - - - 6-15
6.1.7 Relationship among the Data Address, Data Size, and Offset in the MSG-SND

Function - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-16

6.2 Message Receive Function - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-17

6.2.1 Basic Specifications - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-17
6.2.2 MSG-RCV Function Setting Example - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-18
6.2.3 Inputs and Outputs for the Message Receive Function - - - - - - - - - - - - - - - - - - - - - - 6-18
6.2.4 Parameter List for MSG-RCV Function - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-23
6.2.5 Parameter Details for MSG-RCV Function - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-24
6.2.6 Relationship among the Data Address, Data Size, and Offset in the MSG-RCV

Function - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-28

6.3 Combination of FL-net Messages and Message Functions - - - - - - - - - - - 6-29

6.4 Displaying a Register List and Notes at Register Input - - - - - - - - - - - - - - 6-30

6.4.1 Displaying a Register List - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-30
6.4.2 Notes at Register Input - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-32

6.5 Programming Example - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-33

6.5.1 Word Block Data Read (Client) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-33
6.5.2 Word Block Data Write (Client) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-36
6.5.3 Word Block Data Read/Write (Server) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-39
6.5.4 Sending Request (Client)/Response (Server) according to Non-procedure Protocol - 6-42
6.5.5 Sending Request/Receiving Response (Client) according to Non-procedure Protocol 6-45
6.5.6 Receiving Transparent Message Request (Server) - - - - - - - - - - - - - - - - - - - - - - - - - 6-51

Advertising