Delta Electronics — 6.19.2 Explanation of Communication Instructions

AS Series Programming Manual The instruction supports only the function codes mentioned above, and cannot execute other function codes. Please refer to the examples below. 3. S 3 is the device address. If the address is invalid for the designated communication device, the communication device responds with an error message. For example, the device address 16#8000 is invalid in the DVP-ES2. 4. S is the register involved in the reading/writing the data. The data to be written into the external equipment is stored in the register in advance. The data to be read from the external equipment is stored in the register. 5.

N is the length of the data _6 For word-type communication function codes, the data length cannot exceed 100 words. For bit-type (BOOL) communication function codes, the data length is between 1–1600 bits. 6. The following table shows how the functions of S 3 , S , and n vary with the function code used. 6-548 Function Data Description Devices that support devices for slaves code length 04 PLC reads the data from several word devices. 1-100 X 05 PLC writes the state into a bit device. 1 Y, M, SM, S, T, C, HC 06 PLC writes the data into a word device. 1 Y, SR, D, T, C, HC, E 0F PLC writes the states into several bit devices.

1-1600 Y, M, SM, S, T, C, HC 10 PLC writes the data into several word devices. 1-100 Y, SR, D, T, C, HC, E Function S3 S n code H01 Address from where the data is read Register where the data read is stored Length of data read H02 Address from where the data is read Register where the data read is stored Length of data read H03 Address from where the data is read Register where the data read is stored Length of data read H04 Address from where the data is read Register where the data read is stored Length of data read H05 Address into where the Status value written No meaning