Global Devices And Local Devices - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

2.8 Global Devices and Local Devices

2.8 Global Devices and Local Devices

Global devices
● While a global device has a unique number throughout the entire program, a local device has
a unique number inside each program block.
● For example, "Global device DT100" refers to the same data memory in program blocks A
and B. Therefore, data of DT100 is overwritten if the relevant information is revised in either
program block A or B.
● Global devices are utilized when the operation memory is required to be shared between
multiple program blocks (PB) for external input/output or other purposes.
Program block A
Local devices
● If data of local device dt10 is changed in either program block A or B, since the local device
is allocated to different data memory, the data for one program block will not be overwritten
by the other program block.
Program block A
List of available memory areas for local devices (●: Available)
X, Y, R, L, T, C
2-46
Refer to the same area
_DT10
Same name but separated
Bit device
P, E, SR, IN,
DT.n, LD.n
OT
Program block B
DT100
16-Bit device:
WX, WY, WR,
SD, WI, WO,
WL, DT, LD
Program block B
_DT10
32-Bit device:
TS, CS,TE, CE
UM
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents