Check Code - Mitsubishi Electric FX5 User Manual

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

Advertisement

Check Code

Use this element when an element indicating check code data is included in a packet.
CPU module automatically calculates a specified check code at timing of sending/receiving, and adds it to a send packet or
detects an error of a receive packet.
Window
Item
Description
Element Name
Set the name of the element.
Processing Method
Select a calculating method.
• Horizontal Parity
• Sum Check
• 16-bit CRC (for MODBUS)
Code Type
• ASCII Hexadecimal
• ASCII Decimal
• HEX
Data Length
Select the data length on the line (byte).
The range is 1 to 4.
Data Flow
Forward Direction
(Upper Byte  Lower Byte)
Reverse Direction
(Lower Byte  Upper Byte)
Byte Swap
(by Word)
Complement Calculation
Select the complement calculation.
• No Complement Calculation
• One's Complement
• Two's Complement
Calculating
Start
Select the starting element number of the calculating range.
Range
The range is 1 to 32.
End
Select the ending element number of the calculating range.
The range is 1 to 32.
When
Select a format in which a calculated check code is sent.
sending
When
Select a format in which data are received.
receiving
When
Sends a calculated check code, from the lower byte.
sending
When
Handles received data as a check code, from the upper
receiving
byte.
When
Sends a calculated check code, from the lower byte.
sending
When
Receives data from the lower byte.
receiving
When
Sends a calculated check code by swapping the upper
sending
byte and lower byte by word.
When
Receives data by swapping the upper byte and lower
receiving
byte by word, and handles as a check code.
6 PREDEFINED PROTOCOL SUPPORT FUNCTION
6
Remarks
For calculation
procedure, refer to
following .
Page 225
Page 227
Page 229
Not settable when
Processing Method is
16-bit CRC (for
MODBUS).
Not settable when
Processing Method is
16-bit CRC (for
MODBUS).
Not settable when
Processing Method is
16-bit CRC (for
MODBUS), or when the
Data Length is set to 1
(byte).
Not settable when
Processing Method is
16-bit CRC (for
MODBUS), or when the
Data Length is set to 1 to
3 (byte).
Not settable when
Processing Method is
16-bit CRC (for
MODBUS).
Refer to Page 230.
189
6.7 Packet Setting

Advertisement

Table of Contents
loading

Table of Contents