AS Series Programming Manual 10. The data exchange function does not provide a writing success flag. It is suggested that you refer to the connection number in the execution to judge whether the writing of data succeeds or not. For example, when the executed connection number is 3 in SR1336, the successive communication actions are to read the communication data first, and then to write the communication data after reading is completed. The connection number is incremented to 4 after writing is completed. 11. If the reading data length value in S 6 and the initial device in S 7 are out of the range of the D or M device, the length value in S 6 is automatically set to be in the valid range.
For example, if the length value in S 6 is100 and the initial device of S 7 is M8182, the value in S 6 is set to 10 automatically. 12. In the following cases, the instruction is not executed and the parameter settings in HWCONFIG are not changed for the communication port, and SM0 is set to ON, and the error code in SR0 is 16#200B. An input error occurs when the setting values in S 1 , S 2 , S 4 and S 8 are out of the specified range. When S 4 or S 8 function code selects the bit type for reading or writing data, the local device for storing data S 7 or S 11 must select the M device. An input error occurs if the selection is not M.
When the S 4 or S 8 function code selects the word type for reading or writing data, the local device for storing data S 7 or S 11 must select the D device. An input error occurs if the selection is not D. Example: AS COM1 (RS485) _6 1. For the data exchange between the AS Series CPU and the DVP-ES2 CPU, the following table shows the COM1 data exchange table in HWConfig in ISPSoft. 2. Before starting data exchange, suppose that the corresponding data between the AS Series CPU and the DVP-ES2 CPU are listed in the following table. 6-600 Remote Detection Remote Function Item No.
station Local device Length How to start method device code address 1 Specified connection 2 D50 D50 50 H03 Program control D100 D100 50 H10 2 Specified connection 2 D150 D150 50 H03 Program control D200 D200 50 H10 AS PLC (Master) Content value ES2 PLC (Slave) Content value D50-D99 0 D50-D99 1-50 D100-D149 100-149 D100-D149 0