DVP-ES3 Series Programming Manual Symbol S 1 : Unit address _6 S 2 : Function code S 3 : Device address S : Register for reading/writing the data n : Data length Explanation 1. The operand S 1 must be between 0–254; 0 is the broadcasting mode. 2. S 2 is the function code. The following table shows an example.
6-532 API Instruction code Operand Function 1808 MODRW S1, S2, S3, S, n Reading and Writing Modbus data Device X Y M S T C HC D FR SM SR E K 16# “$” F S1 S2 S3 S n BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S1 S2 S3 S n Pulse instruction 16-bit instruction 32-bit instruction - ES3 - Function Data Description Devices that support devices for slaves code length 16#01 PLC reads the data from several bit devices. 1-1600 X, Y, M, SM, S, T, C, HC 16#02 PLC reads the data from several bit devices. 1-1600 X, Y, M, SM, S, T, C, HC 16#03 PLC reads the data from several word devices.
1-100 X, Y, SR, D, T, C, HC, E