Setting Parameters With A Sequence Program - Mitsubishi Electric A1SJ71DN91 User Manual

Devicenet master module
Table of Contents

Advertisement

7. PROGRAMMING

7.3 Setting Parameters with a Sequence Program

Parameter set
X0
X0F
X1
command
Parameter set
X0
X0F
X1
command
X7
Y17
This section describes a sample sequence program to set parameters.
X7
Y17
X7
Y17
MOVP
H1
MOVP
K1
MOVP
H104
MOVP
H2
MOVP
H204
MOVP
H0
MOVP
H0
MOVP
K1
MOVP
H0
MOVP
K0
MOVP
H103
MOVP
H1
MOVP
H204
MOVP
H0
MOVP
H0
MOVP
K501
MOVP
H2
MOVP
K21
TOP
H0
MO
H1D4
D0
K200
VP
7
4
MELSEC-A
D0
Set host station to 1.
D1
Set baud rate to 500 kbps.
D4
Set first slave station
(sensor) to station number 4.
D5
Connection to sensor
Set connection type to bit strobe.
D6
Input byte module = 4
Output byte module = 2
D7
Input word module = 0
Output word module = 0
Input double-word module = 0
D8
Output double-word module = 0
Expected packet rate
D9
Default = 500 ms
Watchdog timeout action
D10
default = TIMEOUT
Production inhibit time
D11
Default = 10 ms
Set second slave station
D12
(remote I/O) to 3.
Set to polling the connec-
D13
tion type for the second
slave station.
Input byte module = 4
D14
Output byte module = 2
Input word module = 0
D15
Output word module = 0
Input double-word module = 0
D16
Output double-word module = 0
Expected packet rate
D17
= 500ms
D18
Watchdog timeout action
= Auto erase
Production inhibit time
D19
= 20 ms
Write parameter data to the
D19
K20
buffer
memory
area.
Set parameter set request.
SET
Y17
RST
Y17
Reset
request.
RST Parameter
set command
parameter
parameter
set

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aj71dn91

Table of Contents