EasyManuals Logo

Omron NX102-12 Series User Manual

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
Page #393 background imageLoading...
Page #393 background image
Procedure
Use the Modbus TCP Master Function as follows. Check the values of the output variables of each
instruction to confirm whether the instruction ended normally
.
Execute SktTCPConnect
instruction.
Instruction end normally?
Execute SktSetOption instruction
Instruction end normally?
Execute Modbus TCP instruction
Instruction end normally?
Execute SktClose instruction
Instruction end normally?
End Modbus TCP Master
F
unction.
Check error details based on the error code which
is output to the ErrorID output variable and take
suitable actions.
Error end
Output variable ErrorID=TRUE
Normal end
Output variable
Done=TRUE
Normal end
Output variable
Done=TRUE
Normal end
Output variable
Done=TRUE
Normal end
Output variable
Done=TRUE
Check error details based on the error code which
is output to the ErrorID output variable and take
suitable actions.
Error end
Output variable ErrorID=TRUE
Check error details based on the error code which
is output to the ErrorID output variable and take
suitable actions.
Error end
Output variable ErrorID=TRUE
Check error details based on the error code which
is o
utput to the ErrorID output variable and take
suitable actions.
Error end
Output variable ErrorID=TRUE
If the response from the other equipment is slow and the Modbus TCP instruction ends before the
response is returned, there may be data remaining in the receive buf
fer. In such cases, execute the
Modbus TCP instruction after the receive buffer is cleared with the SktClearBuf instruction or
SktTCPConnect instruction.
Refer to the Modbus TCP instructions in the NJ/NX-series Instructions Reference Manual (Cat. No.
W502) for sample programming.
10 Modbus TCP Master Function
10-5
NJ/NX-series CPU Unit Built-in EtherNet/IP Port Users Manual (W506)
10-3 Modbus TCP Master Func-
tion Procedure
10

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NX102-12 Series and is the answer not in the manual?

Omron NX102-12 Series Specifications

General IconGeneral
BrandOmron
ModelNX102-12 Series
CategoryController
LanguageEnglish

Related product manuals