EasyManuals Logo
Home>Omron>Computer Hardware>Sysmac NJ-series

Omron Sysmac NJ-series User Manual

Omron Sysmac NJ-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 #329 background imageLoading...
Page #329 background image
9-15
9 Socket Service
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
9-6 Details on Using the Socket Services
9
9-6-2 Procedure to Use Socket Services
You execute special instructions for sockets in sequence to use the socket services according to the
procedure shown below. Use the values of the output variables for each instruction to confirm that each
instruction is completed normally.
9-6-2 Procedure to Use Socket Services
TCP
End socket communications.
Output variable: Done = TRUE
Normal End
Instruction end normally?
Output variable: Error = TRUE
Error End
Execute SktClose instruction.
Close Processing
Output variable: Done = TRUE
Normal End
Instruction end normally?
Output variable: Error = TRUE
Error End
Execute SktTCPRcv instruction.
Receive Processing
Output variable BufferDataByte
≥ Number of send bytes
All data received?
Output variable BufferDataByte
≤ Number of send bytes
Execute SktGetTCPSatus
instruction.
Checking TCP Status
Output variable: Done = TRUE
Normal End
Instruction end normally?
Output variable: Error = TRUE
Error End
Check error details based on
the error code and take
suitable actions.
Output variable: ErrorID
Execute SktTCPSend instruction.
Send Processing
Output variable: Done = TRUE
Normal End
Output variable: Error = TRUE
Error End
Instruction end normally?
Accepting a Connection
Execute SktTCPAccept instruction.
Opening a Connection
Execute SktTCPConnect instruction.
Check error details based on
the error code and take
suitable actions.
Output variable: ErrorID
Check error details based on
the error code and take
suitable actions.
Output variable: ErrorID
Check error details based on
the error code and take
suitable actions.
Output variable: ErrorID

Table of Contents

Other manuals for Omron Sysmac NJ-series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron Sysmac NJ-series and is the answer not in the manual?

Omron Sysmac NJ-series Specifications

General IconGeneral
BrandOmron
ModelSysmac NJ-series
CategoryComputer Hardware
LanguageEnglish

Related product manuals