EasyManua.ls Logo

Omron NX102-12 Series

Omron NX102-12 Series
578 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
10-2
Modbus TCP Master Function Details
The Modbus TCP Master Function can be used by executing Modbus TCP instructions in the user
program.
10-2-1
Modbus TCP Instruction Type
The Modbus TCP instruction type and function are as follows.
Instruction Function
ModbusTCPCmd Sends general commands to the Modbus TCP slave and receives responses.
ModbusTCPRead Sends read commands to the Modbus TCP slave and receives responses.
ModbusTCPWrite Sends write commands to the Modbus TCP slave and receives responses.
For details on Modbus TCP instructions, refer to the NJ/NX-series Instructions Reference Manual (Cat.
No. W502).
10-2-2
Modbus TCP Instruction Function
This section describes Modbus TCP instruction functions.
Instruction Function
ModbusTCPCmd The ModbusTCPCmd instruction sends Modbus commands of the specified proto-
col data unit (PDU) to the specified Modbus TCP slave and receives responses.
ModbusTCPRead The ModbusTCPRead instruction sends read commands to the specified Modbus
TCP slave and receives responses. The following four Modbus commands can be
sent by the ModbusTCPRead instruction.
Output read
Input read
Retained register read
Input register read
ModbusTCPWrite The ModbusTCPWrite instruction sends write commands to the specified Modbus
TCP slave and receives responses. The following four Modbus commands can be
sent by the ModbusTCPW
rite instruction.
One output write
One retained register write
Multiple output write
Multiple retained register write
10 Modbus TCP Master Function
10-3
NJ/NX-series CPU Unit Built-in EtherNet/IP Port Users Manual (W506)
10-2 Modbus TCP Master Func-
tion Details
10
10-2-1 Modbus TCP Instruction Type

Table of Contents

Related product manuals