Panasonic FP7 Series Command Reference Manual page 884

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

Advertisement

16.7 PMSET / pPMSET (Change of MEWNET-W2 Parameters)
Precautions for programming
● The station number of the FP7 multi-wire link unit can be set by the PMSET/pPMSET
instruction only when the rotary switch on the front panel of the unit is set to 0.
● Describe UNITSEL instruction immediately before PMSET/pPMSET instruction. Specify the
slot number of the unit from which the parameters are acquired for [S1] and specify 0 for
[S2].
● Checking of the processing result should be carried out when bit 15 (process in-progress
flag) of the area specified by [D] is switched from 1 to 0.
● The content set by PMSET/pPMSET instruction is not held in case of power outage. Turn on
the power supply again and switch to RUN mode to return to the configuration information
set in the tool software.
● When setting it for the FP7 multi-wire link unit, it cannot be used in an interrupt program.
Comparison between the PMSET instruction and the pPMSET instruction
Instruction
Characteristics
The processing result is checked during the operation processing of the PMSET instruction.
1)
Adv
anta
PMSET
ge
Disa
dvan
tage
The processing result is checked at the end of a scan.
Adv
anta
pPMSET
ge
(Note 1)
Disa
dvan
tage
(Note 1)
Checking of the processing result means that the result of the parameter change processing is stored
in [D].
Communication parameter settings in W2 mode
Operand
Parameter
[S]
Station number
Content of the processing result [D]
● Execution results are stored in the area of one word.
● The execution result code in the low byte is valid when the process in-progress flag of bit 15
is zero.
● If an error occurs, the execution result flag (bit 14) is turned ON. The description of the error
is stored in the execution result code (bits 0 to 7).
16-24
The PMSET instruction can be executed without any restrictions for different COM ports.
It is necessary to turn ON the execution condition of the PMSET instruction until the end of
processing, and turn OFF the execution condition at a scan in which the end of data
transmission is confirmed.
The parameter change processing is performed only once by turning on the execution
condition at the time of data send.
Up to 16 send operations can be performed simultaneously to different COM ports. (The
total of simultaneous usage of SEND, RECV, pGPSEND, GPTRNS, and pPMSET
instructions.)
Range
U1 to U64
(Note 1)
Settings
It can be changed only when the rotary switch on the
front panel of the unit is set to 0.
(Note
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents