3. Instruction Set
4. When setting the function code to H’05, 0 in the operand D means to Reset bit and for other
values in the operand D means to Set bit.
5. n: Length of data (Unit: word, the setting range: K1~K96) (Unit: bit, the setting range: K1~K256)
If n exceeds the range, it will be taken as the maximum value or the minimum value.
6. Whenever the instruction is executed, the communication command is sent. Users do not need
to enable a special flag to send the communication command.
7. The instruction can be used several times. However, if an ETHRW instruction specifies a
module, other ETHRW instructions cannot send communication commands to the module. The
next communication command cannot be sent until the reception is complete or the module
replies that an error occurs.
8. If a communication command is being received, the reception stops when the execution of the
instruction stops. Besides, the flag related to the command’s having being received and the
error flag are not ON.
9. The communication timeout is stored in D1349. The default timeout is 3000 milliseconds. The
range of digital values is 1~32767. If the communication timeout exceeds the range, it will be
taken as 3000 milliseconds.
10. The values of bit0~bit8 in D1395 indicate which communication port has received a command.
For example, if the communication port built in DVP-SE has received a command, “BLD
D1395 K8” is satisfied.
11. The values of bit0~bit8 in D1396 indicate which module experience an error. For example, if a
reception error occurs in the first left-side DVP-EN01, “BLD D1396 K0” is satisfied.
12. D1111 is the setting of Modbus communication port; the supported range is 1 to 65535. If the
value 0 is used, it will be seen as the default value 502. It is available for ES2-E V1.46 and SE
V2.04.
13. When the instruction is executed, user can not use the online editing function. Otherwise, the
data received will not be stored correctly.
14. SA2/SX2 v2.62, SE/ES2-E v1.00 and later versions support the function codes H’03, H’04, H’06,
and H’10.
15. SE v1.86, ES2-E v1.00 and later versions support the function codes H’01, H’02, H’05, and
H’0F.