User Frame On-Demand Data Transmission And Buffer Memory Used - Mitsubishi Electric MELSEC iQ-R Series User Manual

Serial communication module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

14.2
User Frame On-Demand Data Transmission and
Buffer Memory Used
This section explains the on-demand data transmission processing using a user frame and the arrangement of on-demand
data based on the user frame specification to the buffer memory.
Transmission of on-demand data using user frames
The following describes the transmission of on-demand data using user frames.
■Processing on the CPU module side
• Before issuing a transmission request to C24, set the No. of the user frame registered in C24 to the buffer memory shown
in the table below.
• The execution procedures and control procedures of the CPU module side excluding the above are the same as
transmitting on-demand data without user frame described in the following manual.
( MELSEC Communication Protocol Reference Manual)
■Processing of the target device side
• When the target device receives the user frame transmitted by C24 as the start frame, receive it as on-demand data.
Buffer memory to be used and the order of on-demand data
■Buffer memory to be used
For on-demand data transmission using a user frame, the user frame to be transmitted is designated in the buffer memories
shown below.
Address
CH1
CH2
A9H
149H
AAH
14AH
ABH
14BH
ACH
14CH
*1 Designates the registration No. (shown below) of the user frame to be transmitted from among the user frames registered in C24.
1H to 3E7H (1 to 999) : Default registration frame
3E8H to 4AFH (1000 to 1199) : User frame (registered in flash ROM)
8001H to 801FH (-32767 to -32737) : User frame (registered in buffer memory)
■On-demand data arrangement
The following shows the order of on-demand data by user frame specification.
User frame
User frame
14 ON-DEMAND DATA COMMUNICATIONS USING USER FRAMES
268

14.2 User Frame On-Demand Data Transmission and Buffer Memory Used

Name
On-demand user
Start frame No. designation
frame specification
Final frame No. designation
On-demand data
Send data
User frame
User frame
Description
(1st)
Designates the number of the user frame to be
transmitted as the start frame.
(2nd)
0H : No designation
Others : Designated
For the 1st frame, other than 0 must be designated.
When designating the 1st frame, the 2nd frame can
also be designated.
(1st)
Designates the number of the user frame to be
transmitted as the final frame.
(2nd)
0H : No designation
Others : Designated
When designating the 1st frame, the 2nd frame can
also be designated.
Transmitted when last frame (2nd) designated.
Transmitted when last frame (1st) designated.
On-demand instruction/transmitted when send
data designated in buffer memory.
Transmitted when first frame (2nd) designated.
First frame (1st).
*1
*1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents