M800V/M80V Series PLC Development Manual
5 Peripheral Development Environment (GX Works2)
5.5 Common Items
(*4) Precautions for trace point details setting
When only devices that are not corresponding to Mitsubishi Electric CNC are set for "Device", an error occurs when the
trace setting file to execute trace is read.
(*5) Precautions for trigger point details setting
When devices that are not corresponding to Mitsubishi Electric CNC are set for [Device], an error occurs when the trace
setting file to execute trace is read.
When you select "Word device" in [Device] and "Write data" in [Condition] for the trigger point settings, an error occurs
when the trace setting file to execute trace is read.
(*6) Precautions on multi-project function
When the multi-project is enabled, one scan is executed in the order specified by the user.
Sampling is started after one scan is executed. Therefore, there may be some restrictions in operation depending on the
settings.
[Example 1: Three projects]
Project execution order
Program (ladder)
Device R: project-common
Device D: project-specific
Trace setting
Trace result
(1 sampling extracted)
In the above example, sampling is executed after the operation of project 3. Therefore, the result of update performed in
project 3 is used as the sampling data for R0 (the device common to all projects) of all projects.
[Example 2: Six projects]
Project execution order
Program (ladder)
Device R: project-common
Device D: project-specific
Trace setting
Trace result
(1 sampling extracted)
In the above example, sampling is executed after the operation of project 3. Therefore, the result of update performed in
project 3 is used as the sampling data for R0 (the device common to all projects) of all projects.
For project 4 to 6 for which the trace point is specified as "when device R0 is 5", tracing is not performed because R0 is "3"
at the sampling timing.
Project 1
Project 2
Project 3
Project 1 to 3 the same
Project 1
Project 2
Project 3
Project 1
Project 2
Project 3
Project 4
Project 5
Project 6
Project 1 to 3 the same
Project 4 to 6 the same
Project 1
Project 2
Project 3
Project 4
Project 5
Project 6
105
1 -> 2 -> 3
Device R0 <- 1, Device D0 <- 1
Device R0 <- 2, Device D0 <- 2
Device R0 <- 3, Device D0 <- 3
Trace point: Each scan
Trace device: R0, D0
R0: 3, D0: 1
R0: 3, D0: 2
R0: 3, D0: 3
6 -> 1 -> 5 -> 2 -> 4 -> 3
Device R0 <- 1, Device D0 <- 1
Device R0 <- 2, Device D0 <- 2
Device R0 <- 3, Device D0 <- 3
Device R0 <- 4, Device D0 <- 4
Device R0 <- 5, Device D0 <- 5
Device R0 <- 6, Device D0 <- 6
Trace point: Each scan
Trace device: R0, D0
Trace point: Detailed setting
When device R0 is 5
Trace device: R0, D0
R0: 3, D0: 1
R0: 3, D0: 2
R0: 3, D0: 3
No trace
No trace
No trace
IB-1501614-B