Mitsubishi Electric MELSEC FX3U Programming Manual page 778

Melsec fx series programmable logic controllers
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, D1 and D2 are logged to the area from R2048 to R6143 every time
X001 turns ON.
X001
FNC293
LOGRP
Initial value
R2048
HFFFF
R2049
HFFFF
R2050
HFFFF
R2051
HFFFF
R2052
HFFFF
R5899
HFFFF
R5900
HFFFF
R5901
HFFFF
R6143
HFFFF
776
D1
K2
R2048
X001
OFF→ON
1st time
H1234
H5678
HFFFF
HFFFF
HFFFF
Because two words
are used, low-order
two bits are set to
OFF (0).
HFFFC
HFFFF
HFFFF
HFFFF
D1
H1234
D2
H5678
D100
H0000
H0002
33 Extension File Register Control – FNC290 to FNC299
33.4 FNC293 – LOGR / Logging R and ER
K2
D100
X001
OFF→ON
2nd time
H1234
H5678
H9ABC
H1122
HFFFF
HFFF0
HFFFF
HFFFF
Because two words
are used, low-order
two bits are set to
OFF (0).
HFFFF
D1
H9ABC
D2
H1122
H0004
Data writing
area
Writing position
control area

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents