A - 8
7.4.4 Precautions.......................................................................................................................................7- 21
7.5 Registration frames................................................................................................................................. 7- 22
7.5.1 List of default registration frames..................................................................................................... 7- 23
7.5.2 Details of user registration frames ...................................................................................................7- 25
8. OTHER FUNCTIONS 8- 1 to 8- 24
8.1 Canceling data communication to an external device ............................................................................ 8- 1
8.2 Forcibly completing reception .................................................................................................................. 8- 3
8.3 Flow control .............................................................................................................................................. 8- 6
8.4 ASCII-BIN conversion of transmission data...........................................................................................8- 10
8.5 RW update function ................................................................................................................................ 8- 12
8.6 Initializing the R2..................................................................................................................................... 8- 15
8.7 Clearing the OS reception area .............................................................................................................. 8- 16
8.8 Registering and initializing the R2 EEPROM ......................................................................................... 8- 19
8.9 Controlling the RS-232-C signal ............................................................................................................. 8- 22
8.9.1 Correspondence of RS-232-C control signal and remote input/output signal ............................... 8- 22
8.9.2 Precautions for using RS-232-C control signal read/write function................................................ 8- 23
8.10 Confirming the R2 switch states and software version........................................................................8- 24
9. PROGRAM EXAMPLES 9- 1 to 9- 48
9.1 Conditions for program examples ........................................................................................................... 9- 1
9.2 Example of program for using buffer memory automatic update function ............................................. 9- 2
9.2.1 When using FROM/TO command with ACPU / QCPU-A (A mode) ............................................... 9- 2
9.2.2 When using dedicated commands with ACPU / QCPU-A (A mode) .............................................. 9- 6
9.2.3 When using dedicated commands with QCPU (Q mode) / QnACPU............................................9- 11
9.2.4 When using the FROM/TO commands with ACPU / QCPU-A (A mode)
(Three R2 modules connected) ...................................................................................................... 9- 14
9.3 Example of program for using transmission/reception buffer................................................................ 9- 28
9.3.1 When using FROM/TO command with ACPU / QCPU-A (A mode) .............................................. 9- 28
9.3.2 When using dedicated commands with ACPU / QCPU-A (A mode) .............................................9- 37
9.3.3 When using dedicated commands with QCPU (Q mode) / QnACPU............................................9- 43
10. TROUBLESHOOTING 10- 1 to 10- 12
10.1 Error codes........................................................................................................................................... 10- 1
10.1.1 Error code storage area ................................................................................................................ 10- 1
10.1.2 List of error codes.......................................................................................................................... 10- 2
10.2 Confirming the error with the LED ....................................................................................................... 10- 5
10.3 Examples of trouble in general-purpose input circuit.......................................................................... 10- 7
10.4 Troubleshooting per symptom............................................................................................................. 10- 9
10.5 Troubleshooting when the master station's ERR. LED flashes.........................................................10- 10
APPENDIX Appendix- 1 to Appendix- 2
Appendix 1 Outline dimension drawing ............................................................................................Appendix- 1
INDEX INDEX- 1 to INDEX 3