EasyManuals Logo

Mitsubishi FX3U-232-BD User Manual

Mitsubishi FX3U-232-BD
668 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #495 background imageLoading...
Page #495 background image
F-57
FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (RS/RS2 Instruction)
8 Creating Programs (RS2 Instruction)
8.2 How to Use RS2 Instruction
A
Common Items
B
N:N Network
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX
2N
-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
8.2.6 Sum check code
The sum check code indicates a two-digit ASCII code converted from the lowest-order byte (8-bit) of the
result (sum) acquired by adding the sum check target data as hexadecimal data.
By setting a parameter, set whether or not the sum check code is added in the message.
• When "sum check provided" is selected, the sum check code is added in the message during sending.
During receiving, the sum check code is compared with the value calculated from the received data to
check the received data.
• When "sum check not provided" is selected, the sum check code is not added, so the received data is not
checked either.
A calculation example of the sum check code is shown below.
Example: When the communication format (parameters) is set as follows
- Control line not provided
- Headers provided [DLE+STX (D8410: 0210H, D8411: 0000H)]
- Terminators provided [DLE+ETX (D8412: 0310H, D8413: 0000H)]
In the case of send data
In the case of receive data
Sum check code target
D100 lowest-order bits
→
31H
D100 highest-order byte
→
32H
D101 lowest-order byte
→
33H
D101 highest-order byte
→
34H
D8412 lowest-order byte
→
10H (DLE)
D8412 highest-order byte
→
03H (ETX)
DDH
Converted into ASCII codes
Send data
The order is
different from
the data area.
D8410
lowest
-order
byte
D8410
highest
-order
byte
D100
lowest
-order
byte
D100
highest
-order
byte
D101
lowest
-order
byte
D101
highest
-order
byte
D8412
lowest
-order
byte
D8412
highest
-order
byte
CR LF
Sum
highest
-order
byte
Sum
lowest
-order
byte
Header Data area Terminator
Sum data . . . . .
DLE STX 31H 32H 33H 34H DLE ETX 44H 44H
Sum check code target
EDH
Compared
Receive data
4544H
Converted into ASCII codes
The order is
different from
the data area.
D200 lowest-order bits
→
35H
D200 highest-order byte
→
36H
D201 lowest-order byte
→
37H
D201 highest-order byte
→
38H
D202 lowest-order byte
→
10H
D202 highest-order byte
→
03H
DLE
D8410
lowest
-order
byte
STX
D8410
highest
-order
byte
35H
D200
lowest
-order
byte
36H
D200
highest
-order
byte
37H
D201
lowest
-order
byte
38H
D201
highest
-order
byte
DLE
D202
lowest
-order
byte
ETX
D202
highest
-order
byte
CR LF
45H
highest
-order
byte
44H
lowest
-order
byte
Header Data area Terminator
D8414
Sum data . . . . .
Sum Sum
D8414

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi FX3U-232-BD and is the answer not in the manual?

Mitsubishi FX3U-232-BD Specifications

General IconGeneral
BrandMitsubishi
ModelFX3U-232-BD
CategoryController
LanguageEnglish

Related product manuals