Panasonic FP7 Series Command Reference Manual page 299

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

Advertisement

Example of processing: Presetting of specified PB local devices
The following example shows how to initialize the local devices of PBs that are specified in one
PB.
● Executes the instruction in PB1, and sets to initialize devices to the local devices of PB2 to 4
collectively.
PB1
Sets initial values to be preset.
R0
DF
Presets local devices of specified PBs.
(Specified PBs are PB2 to 4.)
R1
DF
WUME-FP7CPUPGR-12
5.17 LCRD (Specified PB Local Device Read)
LCWT.US
DT0
LCWT.US
DT0
LCWT.US
DT0
MV.US
U0
MV.US
U1
MV.US
U2
MV.US
U3
U4
U2
Data amount:4
PB2
U4
U3
PB3
Data amount:4
U4
U4
Data amount:4
PB4
DT0
Initial value 0
DT1
Initial value 1
DT2
Initial value 2
DT3
Initial value 3
_DT0
Local DT
_DT0
Local DT
_DT0
Local DT
5-41

Advertisement

Table of Contents
loading

Table of Contents