Transmission/Reception Processing Using User Frame Registration Data; Transmitting Data - Mitsubishi Electric MELSEC iQ-R Series User Manual

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

Advertisement

13.2
Transmission/Reception Processing Using User
Frame Registration Data
The following explains how C24 transmits and receives using user frame registration data.
C24 checks the transmission/reception of following data, using registered data.

Transmitting data

When user frame transmission is designated
A user frame is converted or not converted from ASCII to binary data and transmitted, depending on the data communications
protocol, ASCII-BIN conversion designation, and user frame No. designation, based on the following data as the send data of
the given part.
■Registered portion of 1-byte data for code of registration data, 01H to FEH
C24 transmission is based on the data for registered code (01H to FEH).
Ex.
When data codes 03H, 0DH, and 0AH are registered as user frame number, 3E8H
When user frame number, 3E8H is designated during data transmission, C24 transmits the data codes 03H, 0DH, 0AH (ETX,
CR, LF) as the data to be transmitted for the given user frame if ASCII-BIN conversion is disabled.
When ASCII-BIN conversion is enabled, C24 converts each of the data above to 2-byte ASCII code data and transmits.
Data designated by program
to
A
B
1
2
(89ABH)
41H
42H
31H 32H
ABH 89H 03H 0DH 0AH
■Registered portion of 2-byte data for code of registration data, FFH+00H to FFH
C24 transmission is based on the variable data corresponding to the combination of the registered codes FFH and 00H to
FFH.
For example, if sum check code is registered, C24 will calculate and transmit the sum check code. If C24 station No. is
registered, the station number set to C24 is transmitted.
Ex.
When data codes 03H, FFH, F0H, 0DH, 0AH are registered as user frame number, 3E9H
When user frame number, 3E9H is designated during data transmission, C24 calculates the sum check code as the data to be
transmitted for the given user frame portion. If ASCII-BIN conversion is disabled, C24 transmits the calculated data. If ASCII-
BIN conversion is enabled, C24 converts the calculated data to 2 bytes per byte ASCII code data and transmits.
Data designated by program
to
A
B
1
2
(89ABH)
41H
42H
31H 32H
ABH 89H
Part that designated user frame
No. 3E8H (Added by the C24)
(When ASII-BIN conversion disabled)
E
C
L
T
X
R
F
Part that designated user frame
No. 3E9H (Added by the C24)
(When ASII-BIN conversion disabled)
E
C
L
T
X
R
F
03H
12H 0DH 0AH
Calculated by the C24
13 CONTENTS AND REGISTRATION OF USER FRAMES FOR DATA COMMUNICATION

13.2 Transmission/Reception Processing Using User Frame Registration Data

13
259

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents