Chapter 6 Applied Instructions
6-511
7. While using this instruction, if the transmission length is an odd number, use the following flag to
set up.
Socket number
sending an odd number of
characters (TCP socket)
sending an odd number of
characters (UDP socket)
Explanation:
1. Refer to the execution of SOPEN instruction for relative setups and examples for the
transmission length with 4 Words.
2. Using the flags for sending an odd number of characters will take 1 byte and thus the actual
transmission will be 7 Bytes. For transmission without using the flags for sending an odd
number of characters, the actual transmission will be 8 Bytes.
Data transmission address
D0 D1 D2 D3
High Byte Low Byte High Byte Low Byte High Byte Low Bytes
High Byte Low Byte
16#01 16#02 16#03 16#04 16#05 16#06 16#07 16#08
Actual data transmission (The flag for sending an odd number of characters is OFF.)
0102 0304 0506 0708
Actual data transmission (The flag for sending an odd number of characters is ON.)
0102 0304 0506 07