Omron NJ Series User Manual page 368

Machine automation controller, cpu unit built-in ethernet/ip port
Hide thumbs Also See for NJ Series:
Table of Contents

Advertisement

9 Socket Service
TCP
Opening a Connection
Execute SktTCPConnect instruction.
Normal End
Output variable: Done = TRUE
Normal End
Output variable: Done = TRUE
Output variable BufferDataByte
≥ Number of send bytes
Normal End
Output variable: Done = TRUE
Normal End
Output variable: Done = TRUE
9-14
Accepting a Connection
Execute SktTCPAccept instruction.
Instruction end normally?
Send Processing
Execute SktTCPSend instruction.
Instruction end normally?
Checking TCP Status
Execute SktGetTCPSatus
instruction.
All data received?
Receive Processing
Execute SktTCPRcv instruction.
Instruction end normally?
Close Processing
Execute SktClose instruction.
Instruction end normally?
End socket communications.
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User's Manual (W506)
Error End
Check error details based on
Output variable: Error = TRUE
the error code and take
suitable actions.
Output variable: ErrorID
Error End
Output variable: Error = TRUE
Output variable BufferDataByte
≤ Number of send bytes
Error End
Output variable: Error = TRUE
Check error details based on
the error code and take
suitable actions.
Output variable: ErrorID
Error End
Output variable: Error = TRUE
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

Advertisement

Table of Contents
loading

Table of Contents