![Mitsubishi Electric Melsec WS Series Скачать руководство пользователя страница 113](http://html.mh-extra.com/html/mitsubishi-electric/melsec-ws-series/melsec-ws-series_user-manual_239157113.webp)
Procedures before operation
MELSEC-WS
110
(2) Sample program
This manual describes only devices used in sample programs and details of the
processing.
For the acquisition of sample programs, please contact your local Mitsubishi
representative.
1) Device assignment [for reading/writing]
The following tables list devices used in the sample program.
Table 37: Devices used in the sample program
W device
W0 to W18
Input data set 1 storage area
W20 to W2F
Input data set 2 storage area
W30 to W4D
Input data set 3 storage area
M device
D device
M300
Open execution
D0
SOCOPEN instruction abnormal
completion error code
M301
SOCOPEN instruction success device
D1
SOCSND instruction abnormal
completion error code
M302
SOCOPEN instruction failure device
D2
SOCRCV instruction abnormal
completion error code
M310
SOCOPEN instruction normal completion
D3
SOCCLOSE instruction abnormal
completion error code
M311
SOCOPEN instruction abnormal completion
D300 to D309
SOCOPEN instruction control data
M400
Send execution
D400 and D401
SOCSND instruction control data
M401
SOCSND instruction success device
D500 and D501
SOCRCV instruction control data
M402
SOCSND instruction failure device
D520
Response command check device
(reading)
M410
SOCSND instruction normal completion
D521
Response command check device
(writing)
M411
SOCSND instruction abnormal completion
D600 and D601
SOCCLOSE instruction control data
M420
Command in execution
D700 to D705
SOCSND instruction send data area
(reading)
M500 Receive
execution
D800 to D831
SOCSND instruction send data area
(writing)
M501
SOCRCV instruction success device
D900 to D976
SOCRCV instruction receive data area
(reading and writing)
M502
SOCRCV instruction failure device
-
-
M510
SOCRCV instruction normal completion
-
-
M511
SOCRCV instruction abnormal completion
-
-
M520
Response command verification normal
completion
- -
M521
Data size error device
-
-
M601
SOCCLOSE instruction success device
-
-
M602
SOCCLOSE instruction failure device
-
-
M610
SOCCLOSE instruction normal completion
-
-
M611
SOCCLOSE instruction abnormal completion
-
-
Содержание Melsec WS Series
Страница 1: ...Safety Controller Ethernet Interface Module User s Manual WS0 GETH ...
Страница 2: ......
Страница 89: ...Procedures before operation MELSEC WS 86 ...
Страница 90: ...MELSEC WS Procedures before operation 87 ...
Страница 91: ...Procedures before operation MELSEC WS 88 ...
Страница 97: ...Procedures before operation MELSEC WS 94 ...
Страница 98: ...MELSEC WS Procedures before operation 95 ...
Страница 99: ...Procedures before operation MELSEC WS 96 ...
Страница 108: ...MELSEC WS Procedures before operation 105 Sample program auto update mode Figure 62 Sample program auto update mode ...
Страница 141: ......