Procedures before operation
MELSEC-WS
102
(2) Sample program
1) Device assignment
The following tables list devices used in the sample program.
Table 35: 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
M0 to M15
Open complete signal
D2
BUFRCV instruction failure error code
M20 to M35
Open request signal
D500 and D501 BUFRCV instruction control data
M40 to M55
Fixed buffer reception status signal
D520
Response command check device
M500
Receive execution
D900 to D976
BUFRCV instruction receive data area
M501
BUFRCV instruction success device
X device
M502
BUFRCV instruction failure device
X19
Initial processing normal completion
signal
M510
BUFRCV instruction normal completion
-
-
M511
BUFRCV instruction abnormal completion
-
-
M520
Response command verification normal
completion
M521
Data size error device
C device
*1
C20
BUFRCV instruction
Number of executions
C21 Number
of
successes
C22 Number
of
failures
C31
Verification check
Number of successes
C32 Number
of
failures
*1 C device is used to check the operation of the communication program.
If the QCPU connected to the QJ71E71-100 stops during communications in
auto update mode, the BUFRCV instruction will not be executed even when data
are transmitted from the WS0-GETH. This may cause the receive buffer of the
QJ71E71-100 to overflow and data transmission of the WS0-GETH to stop.
If the scan time of the QCPU connected to the QJ71E71-100 is longer than the
transmission interval of the WS0-GETH, update of received data delays. For this
reason, configure the auto update interval much longer than the scan time.
Note
Содержание 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: ......