hit counter script

Mitsubishi Electric FX3G SERIES Programming Manual page 598

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Program example
In the program example shown below, the CRC value of the ASCII code "0123456" stored in D100 to D106 is
generated and stored to D0 when M0 turns ON.
1. In the case of 16-bit mode
M8000
M0
FNC188
CRC
Device storing data for which CRC
value is generated
Device storing generated CRC value
2. In the case of 8-bit mode
M8000
M0
FNC188
CRC
Device storing data for which the
CRC value is generated
Device storing the generated CRC
value
596
M8161
D100
D0
K7
D100
D101
D102
D103
D0
M8161
D100
D0
K7
D100
D101
D102
D103
D104
D105
D106
D0
D1
24.4 FNC188 – CRC / Cyclic Redundancy Check
16-bit conversion mode
Contents of data
3130H
High-order byte
3332H
High-order byte
3534H
High-order byte
3736H
2ACFH
High-order byte
8-bit conversion mode
Contents of target data
Low-order byte
Low-order byte
Low-order byte
Low-order byte
Low-order byte
Low-order byte
Low-order byte
Low-order byte
Low-order byte
24 Others – FNC181 to FNC189
Target data
Low-order byte
30H
31H
Low-order byte
32H
33H
Low-order byte
34H
35H
Low-order byte
36H
Low-order byte
CFH
2AH
30H
31H
32H
33H
34H
35H
36H
CFH
2AH

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents