■
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
PMSET
The processing result is checked during the operation processing of the PMSET instruction.
(Note
1)
Adv
anta
ge
The PMSET instruction can be executed without any restrictions for different COM ports.
Disa
dvan
tage
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.
pPMSET
(Note 1)
The processing result is checked at the end of a scan.
(Note 1)
Adv
anta
ge
The parameter change processing is performed only once by turning on the execution
condition at the time of data send.
Disa
dvan
tage
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.)
(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 Range Settings
[S] Station number U1 to U64
It can be changed only when the rotary switch on the
front panel of the unit is set to 0.
■
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.7 PMSET / pPMSET (Change of MEWNET-W2 Parameters)
16-24 WUME-FP7CPUPGR-12