9 - 38 9 - 38
MELSEC-Q
9 PROGRAMMING
(b) Program example for automatic communication function
POINT
After execution of the REMTO/REMFR instruction, it requires several scans until
read/write of actual data is completed.
Program for normal automatic communication parameter 1
Program for normal automatic communication parameter 2
When automatic communication
parameter 1 is normal
When automatic communication
parameter 2 is normal
Turns ON External output (Y40)
when automatic communication
parameter 1 is invalid.
Acquires error code when
automatic communication
parameter 1 is invalid.
Acquires error code when
automatic communication
parameter 2 is invalid.
Turns OFF External output
(Y40) when automatic
communication is normal.
Turns OFF automatic
communication operation status
for automatic communication
parameter 1 (D4000.0).
Turns OFF External output
(Y41) when automatic
communication is normal.
Turns OFF automatic
communication operation status
for automatic communication
parameter 2 (D4000.1).
Acquires automatic
communication operation status
and automatic communication
error code at automatic
communication error.
Handling of Z.REMFR
instruction error
Turns ON External output (Y41)
when automatic communication
parameter 2 is invalid.
Automatic
communication
operation status
Automatic
communication
operation status
Module
READY
<<Processing for normal automatic communication: For automatic communication parameter 1>>
Module
READY
<<Processing for normal automatic communication: For automatic communication parameter 2>>
Automatic
comm.
operation
status
Automatic
comm.
error
status
Automatic
comm.
error
status
Automatic
comm.
error
status
REMFR
instruction
completion
REMFR
instruction
completion
REMFR
instruction
completion
REMFR
instruction
result
REMFR
instruction
completion
REMFR
instruction
result
Module
READY
<<Handling of automatic communication error>>
REMFR
instruction
completion
REMFR
instruction
result
Take corrective action for error completion, referring to Q
Corresponding MELSECNET/H Network System Reference
Manual (Remote I/O Network).
Содержание QJ71MT91
Страница 1: ......
Страница 2: ......
Страница 278: ...App 1 App 1 MELSEC Q APPENDICES APPENDICES Appendix 1 External Dimensions Unit mm in 27 4 1 08 90 3 54 98 3 86 APP ...
Страница 291: ......
Страница 292: ......