Delta DVP-ES3 — 6.22.2 Explanation of Ethernet Instructions

DVP-ES3 Series Programming Manual 2. In general, the SCONFP pulse instruction is used. 3. The Socket parameters uses the setting values in HWCONFIG by default. Use the SCONFP instruction when the parameters need to be changed during communication. 4. If you set the parameters while the socket is communicating, the settings do not take effect until the communication is complete. The setting should be changed after the socket is no longer in use. 5. If any one of the parameters is out of range, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003.

6-716 Operand Name Description Data Type Remarks S3 Remote IP address The first two sections of the IP address occupy the first word and the remaining two sections of the IP address occupy the second word. For example, if the IP address is 192.168.1.5, S3=16#C0A8 and S3+1=16#0105. WORD[2] Occupies two consecutive words S4 Remote port Range: 0–65535; 0 indicates any port WORD S5 Local port Range: 0–65535; 0 indicates any port WORD S6 Register where sent data comes from Specifies the number of a D device. Range: 0–29999. Example: The setting value 100 means S7 bytes of data are sent from the registers starting at D100 (from the low byte to the high byte). WORD S7 Size of sent data Maximum:

512 bytes WORD S8 Register where received data is stored Specifies the number of a D device. Range: 0–29999. Example: The setting value 200 means S9 bytes of data are received and stored in the registers starting at D200 (from the low byte to the high byte). WORD S9 Size of received data Maximum: 512 bytes WORD S10 Connection time Range: 1–30000, unit: second WORD Applicable to TCP mode only 6 _