User manual

Highlevel Instructions
3 349
Precautions during programming
It is not possible to execute multiple F145 (SEND) instructions and F146 (RECV) instructions for the
same communication port simultaneously.
The program should be set up so that these instructions are executed when the SEND/RECV
execution enabled flag (R9044: COM1/R904A: COM2) is on.
R9044
(COM1)
0: Execution inhibited (SEND/RECV instruction being executed)
1: Execution enabled
R904A
(COM2)
0: Execution inhibited (SEND/RECV instruction being executed)
1: Execution enabled
The SEND instruction only requests that the data be sent, but the actual processing takes place when
the ED instruction is executed.
The SEND/RECV execution end flag (R9045: COM1/R904B: COM2) can be used to check whether or
not the transmission has been completed.
R9045
(COM1)
0: Completed normally
1: Completed with error (The error code is stored in DT90124.)
DT90124
(COM1)
If the transmission has been completed with an error (R9045 is on), the contents of the error (error
code) are stored.
R904B
(COM2)
0: Completed normally
1: Completed with error (The error code is stored in DT90125.)
DT90125
(COM2)
If the transmission has been completed with an error (R904B is on), the contents of the error (error
code) are stored.
If the error code is H73, a communication timeout error has occurred.
The timeout time can be changed within a range of 10.0 ms to 81.9 seconds (in units of 10 ms), using the
setting of system register 32.
The default value is set to 10 seconds.
Error code (HEX) Description
73 Timeout: Waiting for response
For global transmission (the transmission performed by specifying H00 for the unit No.), the program
should be set up so that the transmission is executed after a time of at least the maximum scan time
elapsed.
The F145 or F146 instruction cannot be executed if the target is a special internal relay (from R9000)
on a special data register (DT90000).
FPΣ/FPX/FP0R