DVP-ES3 Series Programming Manual Explanation 1. The following table lists the names and descriptions of S 1 –S 11 . _6 6-580 Device Name Description Data type Remark S1 Communication port number 1=COM1, 2=COM2. Any other value, the instruction does not modify the operand. WORD S2 Item number in the data exchange table Valid range: 1–32. If the value is out the range, the instruction does not modify the operand. WORD S3 The station address of the remote equipment Valid range: 0 and 1–240. If the value is greater than 240, the instruction uses 240 as the value. If the value is less than or equal to 0, the original station address is not changed. WORD A negative number is processed as 0.
S4 Function code for reading data Supports 16#01, 02, 03, 04 and 17. If the value exceeds the valid range, the instruction does not modify the operand. If S4=16#17, it is processed as 16#17. WORD S5 Reading the remote communication address 16#0000–16#FFFF WORD S6 Reading data length Bit function code, 16#01, 02: Supports 1–256 bits; Word function code, 16#03, 04, 17: Supports 1–100 words. If the value is 0 or smaller than 0, it indicates do not read data. If the value is greater than the maximum, the instruction uses the maximum value. WORD S7 The local register for storing the data received Bit function code: only M device can be selected. Word function code: only D device can be selected.
BOOL WORD S8 Function code for writing data Supports 16#05, 06, 0F, 10. If the value is out of the range, the WORD