3. SPECIFICATIONS
3
−
23
MELSEC-A
(14) Parameters (Address 0154
H
to 034F
H
/340 to 847)
Used to set parameters via the sequence program.
The parameters set by a sequence program are written to E
2
PROM.
Once parameters have been set, they do not require setting again until changes are
made to the parameters. After DN91 is turned ON, if the E
2
PROM contains valid
parameters, the parameters from E
2
PROM are stored in the parameter area
Follow the procedure below to write new parameters.
(a) Set parameters in the parameter area, as shown in Table 3.20.
(b) Turn ON the parameter set request (Y(n+1)7) with a sequence program.
(c) The set parameters are written.
Table 3.20 Parameter Set Data
Buffer Memory
Address (16 hex)
Item
Contents
01D4
H
Host station (MAC ID)
Stores the station number (MAC ID) of DN91 in a range from 0000
H
to 0003
H
.
Setting parameters with this value set at FFFF
H
invalidates the parameters that
have been set by the sequence program.
01D5
H
Baud rate
Select the baud rate:
1 = 500 Kbps, 2 = 250 Kbps, 3 = 125 Kbps
01D6H, 01D7H
Not used
01D8
H
Station number for the first slave
station
Lower byte: Station number (MAC ID) of first slave station
0 to 63
Upper byte: 01
H
→
Station that supports UCMM and uses the message group 3.
02
H
→
Station that supports UCMM and uses the message group 2.
03
H
→
Station that supports UCMM and uses the message group 1.
04
H
→
Station that does not support UCMM. (Dedicated server of
group 2)
80
H
→
Reserved station
01D9
H
Connection type for the first
slave station
Select the connection type for I/O communication:
0001
H
= polling,
0002
H
= bit strobe,
0004
H
= change of state,
0008
H
= cyclic
01DA
H
Number of byte modules for the
first slave station
Lower byte: Number of input byte modules
Upper byte: Number of output byte modules
(8 points of bit modules are calculated as one byte module.)
01DB
H
Number of word modules for the
first slave station
Lower byte: Number of input word modules
Upper byte: Number of output word modules
01DC
H
Number of double-word modules
for the first slave station
Lower byte: Number of input double-word modules
Upper byte: Number of output double-word modules
01DD
H
Expected packet rate for the first
slave station (EXPECTED
PACKET RATE)
Sets the expected packet rate at the slave station.
Setting = 0000
H
(default)
→
200 ms
Setting
≠
0000
H
→
The value (setting - 1) is the communication watchdog timer
setting (ms).
The setting will vary depending on the connection type. Refer to Table 3.21 for
further details of the setting.