MEWNET-W2
5.3.6 Configuration Using User Programs
In MEWNET-W2, unit numbers can be set by the user programs (PMSET/pPMSET
instruction). The unit number selector on the front panel of the unit needs to be set to 00.
Sample program
This sample program shows the case that the unit number for the FP7 MW Unit (W2 link unit)
in the slot number 1 is set to 10.
R100
R101
KEY POINTS
•
For the MEWNET-W2, the link area cannot be allocated by the user
programs. Allocate the area in the "W2 Link Unit Settings" dialog box of the
tool software.
5-10
MV.US
UNITSEL
pPMSET
DT100
S1
Unit number setting
U10
DT100
DT100: Unit no. (U10)
S
D
Communication port settings
S1: Slot no. (U1)
U1
U0
S2: Port no. (U0)
S1
S2
Communication parameter settings
S1: Communication parameter
U1
DT200
setting area (DT100)
n
D1
D1: Processing result storage
destination (DT200)
n: No. of set words (U1)