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

Hide thumbs Also See for FX3U SERIES:
Table of Contents

Advertisement

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

19.19.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
386
Devices Set As User-
Registered Devices
D100 (D101)
D102
D103
D104
MOV
K50
D8300
MOV
K50
D8301
MOV
K8
D50
MOV
K100
D51
MOV
K7
D52
MOV
K102
D53
MOV
K7
D54
MOV
K103
D55
MOV
K7
D56
MOV
K104
D57
SET
M55
RST
M55
END
Display
Data Length
Format
32Bit
16Bit
Hexadecimal
16Bit
16Bit
System information (system No.1) is set at D50 to D90.
System information (system No.2) is set at M50 to M56.
User-registered device 1 is set as 32-bit data at "D101, D100".
User-registered device 2 is set as 16-bit data at "D102".
User-registered device 3 is set as 16-bit data at "D103".
User-registered device 4 is set as 16-bit data at "D104".
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.
19 FX3U-7DM (Display Module)
19.19 User (User-Registered Device Setting)

Advertisement

Table of Contents
loading

Table of Contents