Example Program; Example Of 16 Bits Data Communication - Mitsubishi Electric MELSEC FX Series User Manual

Programmable logic controllers
Hide thumbs Also See for MELSEC FX Series:
Table of Contents

Advertisement

FX communication

10.4 Example Program

10.4.1

Example of 16 Bits Data Communication

This system configuration describes an example in which 16-bit buffer length data is sent and
received between the equipment of the terminal specifications. In this example, the ASCII code
saved in the data registers D201 to D205 in the programmable controller sent to the counterpart
equipment, and the data received from the counterpart equipment is saved to the data registers
D301 to D304 in the programmable controller.
1 ) System configuration
FX
programmable contraller
2N
2 ) Example setting buffer memories
The items not described here are set to the default respectively.
a ) Communication format <BFM #0>
Bit
b0
b1
b2
b3
b4
b5
b6
b7
b8
b9
b10
b11
b12
b13
b14
b15
b15
0
0
0
FX
-232IF
2N
Cross cable
Personal computer
Description
Data length
Parity
Stop bit
Baud rate
Control line
Addition of CR and LF
Availability of check sum and
ASCII/HEX conversion
Send/receive buffer data length (0): 16 bits
Undefined
b8 b7
0
0
0
0
0
0
1
0
0
9
Setting
(1): 8 bits
(1, 1): Even
(1): 2 bits
(1001): 19200 bps
(0, 0): Not used
(0, 0): Not added
(0, 0): Not available
b0
0
1
1
1
1
1
F
(009F
)
H
FX
2N
. Specification item for
16-bit length
-232IF 10
10
10-19

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rs-232cRs-422Rs-485

Table of Contents