hit counter script

Operation Of Control Line (Rs-232C) - Mitsubishi Electric FX5 User Manual

Melsec iq-f series
Hide thumbs Also See for FX5:
Table of Contents

Advertisement

■For receive data
Header
DLE
Low
order of
SD8623
Receive data

Operation of control line (RS-232C)

RS-232C communication is full-duplex, bi-directional communication. When using half-duplex, bi-directional communication,
pay attention not to turn ON the sending request flag while receiving. If set to ON, the PLC starts to send and as a result, the
counterpart equipment may not be able to receive data, and the sent and received data may be destroyed.
In full-duplex, bi-directional communication, the sending wait flag does not turn ON.
However, in the case that control is standard mode or interlink mode, the sending wait flag remains ON while DR (DSR) is
OFF and the PLC is waiting to send.
Control line not used
RS2 instruction
OFF ON
execution
SD(TXD)
Send data
Sending request
OFF
RD(RXD)
Receive data
Receiving
complete flag
5 NON-PROTOCOL COMMUNICATION
150
5.7 Programming
Data area
STX
35H
36H
37H
High
Low
High
Low
order of
order of
order of
order of
order of
SD8623
D200
D200
D201
Sum check code target
Low-order bits of D200
High-order bits of D200
Low-order bits of D201
High-order bits of D201
Low-order bits of D202
High-order bits of D202
Message
1
ON
Message
2
OFF
Start of waiting status
for receiving
Terminator
Sum data
38H
DLE
ETX
45H
44H
High
Low
High
High order
Low order
order of
order of
of sum
of sum
D201
D202
D202
SD8563
SD8563
35H
36H
Comparison
37H
38H
10H
03H
4544H
EDH
Converted into ASCII codes
Message
3
ON
Message 4
ON
Reset the flag from the program.
This flag must be turned off to receive the next data.
The order is different
from the data area.
CR
LF
Message
5
ON
ON

Advertisement

Table of Contents
loading

Table of Contents