Download  Print this page

Data Examples Of Non-conversion Variable - Mitsubishi Electric FX5 User Manual

Melsec iq-f series.
Hide thumbs

Advertisement

Calculating range
The following shows specification examples of the calculating range of Length.
Packet
element 1
Packet format
Header
Example 1
Example 2
Example 3
Example 1: Calculating range when 1 and n are specified as the start and the end respectively.
Example 2: Calculating range when 3 and n-2 are specified as the start and the end respectively.
Example 3: Calculating range when 3 and n are specified as the start and the end respectively.

Data examples of Non-conversion Variable

Shows the data examples of element non-conversion variable that can be placed in a packet.
Data example 1
The following table shows data to be stored in the data storage area when the string of send data is 'ABCD' (ASCII code:
A=41H, B=42H, C=43H, and D=44H).
Item
Fixed Length/Variable Length
Data Length/Maximum Data Length
Unit of Stored Data
Byte Swap
Data Storage Area Specification
Data to be stored in data storage area
Data example 2
The following table shows data to be stored in the data storage area when the string of send data is 'EFG' (ASCII code:
A=45H, B=46H, C=43H, and D=47H).
Item
Fixed Length/Variable Length
Data Length/Maximum Data Length
Unit of Stored Data
Byte Swap
Data Storage Area Specification
Data to be stored in data storage area
Packet
Packet
element 2
element 3
Length
Static data
Calculating range when specifying 1 to n
Calculating range when specifying 3 to (n-2)
Calculating range when specifying 3 to n
Description
Fixed Length
4 bytes
Lower Byte + Upper Byte
Disable
D0
D0=4241H
D1=4443H
Description
Fixed Length
3 bytes
Lower Byte + Upper Byte
Disable
D0
D0=4645H
D1=0047H
Appendix 2 Operation Image and Data Structure of Predefined Protocol
Packet
element n-2
element n-1
Variable
Terminator
Lower Bytes Only
Enable
Disable
D0=4142H
D0=0041H
D1=4344H
D1=0042H
D2=0043H
D3=0044H
Lower Bytes Only
Enable
Disable
D0=4546H
D0=0045H
D1=4700H
D1=0046H
D2=0047H
D3= (any data)
Packet
Packet
element n
Check code
Enable
D0=0042H
D1=0041H
D2=0044H
D3=0043H
Enable
D0=0046H
D1=0045H
D2=0047H
D3= (any data)
APPENDIX
A
219

Advertisement

Table of Contents

Comments to this Manuals

Symbols: 0
Latest comments: