Transmitting Data To Target Device; Sending Methods - Mitsubishi Electric MELSEC iQ-R Series User Manual

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

Advertisement

3.2

Transmitting Data to Target Device

This section explains data transmission from the CPU module to a target device.

Sending methods

The following shows how to send data in any format using the nonprocedural protocol.
CPU module
Transmission data
S
A
B
C
D
E
T
X
(02
) (41
) (42
) (43
) (44
) (45
H
H
H
H
H
H
Contents
Transmission command
OUTPUT instruction
completion device
OUTPUT
instruction
 Send data is stored in the device designated with the OUTPUT instruction.
 Control data is stored in the device designated with the OUTPUT instruction.
 When the OUTPUT instruction is executed, C24 transmits the amount of data designated by the send data quantity from
the send data area in ascending order of the send data area addresses.
E
F
G
H
T
X
) (46
) (47
) (48
) (03
)
H
H
H
H
Transmission
data count
Ò Ó
Transmission
OUTPUT instruction
data
designation
CH1/CH2
3 DATA COMMUNICATION USING NONPROCEDURAL PROTOCOL
C24
Transmission area
(buffer memory)
10
(00
)
(0A
)
H
H
A
STX
(41
)
(02
)
H
H
C
B
(42
)
(43
)
H
H
E
D
Ô
(45
)
(44
)
H
H
Transmission data
G
F
ETX
(47
)
(46
)
H
H
(03
)
(48
H
ETX
H
(03
)
(48
)
H
H
Target device
Control timing
OUTPUT
3.2 Transmitting Data to Target Device
H
A
STX
)
(41
)
(02
)
H
H
H
3
77

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents