Program Example 1 (When 4 Devices Are Displayed As User-Registered Devices) - Mitsubishi FX3UC SERIES User Manual

Hide thumbs Also See for FX3UC SERIES:
Table of Contents

Advertisement

FX
Series Programmable Controllers
3UC
User's Manual - Hardware Edition

10.20.3 Program example 1 (when 4 devices are displayed as user-registered devices)

Use this program example as a reference when setting 4 devices as user-registered devices.
1. Operation
In this program example, the 4 devices shown in the table below are set as user-registered devices, with a
hexadecimal format specified for the current value display.
1) The hexadecimal display format applies only to current values which display at the "user-registered
device" menu. Other current values display in a decimal format.
2) In this program example, system information is assigned from D50 to D90 and from M50 to M56.
User-Registered Device
No.
1
2
3
4
2. Program
M8002
Initial pulse
M8002
Initial pulse
User-
registered
device
User message
monitoring
in progress
display command
M56
M54
User-
registered
device
User message
monitoring in
progress
display command
M56
M54
Devices Set As User-
Registered Devices
D100 (D101)
D102
D103
D104
MOV
K50
D8300
System information (system No.1) is set at D50 to D90.
MOV
K50
D8301
System information (system No.2) is set at M50 to M56.
MOV
K8
D50
User-registered device 1 is set as 32-bit data at "D101, D100".
MOV
K100
D51
MOV
K7
D52
User-registered device 2 is set as 16-bit data at "D102".
MOV
K102
D53
MOV
K7
D54
User-registered device 3 is set as 16-bit data at "D103".
MOV
K103
D55
MOV
K7
D56
User-registered device 4 is set as 16-bit data at "D104".
MOV
K104
D57
SET
M55
Hexadecimal current value appears while user-registered device
monitoring screen is displayed.
At other Monitor/Test screens, the current values and setting values
are displayed in a decimal format.
RST
M55
END
10 Display Module (Only FX3UC-32MT-LT)
10.20 User (User-Registered Device Setting)
Display
Data Length
Format
32Bit
16Bit
Hexadecimal
16Bit
16Bit
1
2
3
4
5
6
7
8
9
10
359

Advertisement

Table of Contents
loading

Table of Contents