beautypg.com

5 socket communication, 6 ftp communication, Socket communication – KEYENCE SR-750 Series User Manual

Page 69: Ftp communication

background image

69

E SR-750 UM

7-5

Socket Communication

This section described the behavior and configuration items of the SR-750 Series
to perform socket communication.

Command port

Use this port to send the operation/setting commands to the SR-750 Series via
Ethernet.
The command port supports server operations only.
To send commands, establish a connection from the control device.

Server and Client Operations

Socket communication function of the data port supports both server and client
operations.
Socket communication function for PLC port is available for client operations only.
Server operations and client operations can be selected using the IP address
setting (Remote IP address setting) for Data port 1 and Data port 2.

„

Setting the SR-750 Series for server operations only
*Data port 1 only

Set the IP address of the connection destination as follows.

IP address: 0.0.0.0

* Data port 2 does not function.

„

Setting the SR-750 Series for server and client operations

Set the IP address of the connection destination as follows.

IP address: Other than 0.0.0.0

* Data port 2 performs client operations only.

Continually Send Connection Requests

When a connection is not established, "Continually Send Connection Requests"
configuration determines the establish request timing.

Keep Alive Function

This function checks whether the connection established with a remote device is
still alive.

„

Operating conditions

Operates when the status of no communication continues for 60 seconds or more.

„

Operation details

Sends a Keep packet to the remote device and checks the response.
• Response: Keep the connection established.
• No response: Disconnect the connection.

Configuration

Establish Request Timing

Continually Send

Connection Requests

No

When read data is determined and data output is ready.

Yes

As necessary when a connection is not established such as
at power-on.

7-6

FTP Communication

The SR-750 Series operates as FTP client or FTP server and can transfer scanned
images.
This section describes operations for FTP communication.

FTP Communication Settings

„

FTP client operations/FTP server operations settings

Select FTP client operations or FTP server operations from the IP address setting
for the FTP transmission setting.

• Setting the SR-750 Series for FTP server operations only

IP address: 0.0.0.0

• Setting the SR-750 Series for FTP server and FTP client operations

IP address: Other than 0.0.0.0

FTP Client Function

„

User name and password

Set the user name and pass word for FTP communication.
• User name : ASCII 16 characters or less (Default setting: admin)
• Password : ASCII 16 characters or less (Default setting: admin)

„

Image file

The following settings can be made for files sent from the SR-750 Series to FTP
server.
• Specified format

: Bitmap, JPEG

• JPEG image quality : 1 to 10
• Binning

: None, 1/4, 1/16, 1/64

„

Image file name

When the unit operates as FTP client, file names vary depending on the edit image
file name function status (Enable or Disable).
• Edit image file name function: Disable

(1) Image count value (3 bytes) 000 to 999

• The number is counted from 000 at

startup.

• The counter value is incremented

each time one image is sent.

• When the counter value of 999 is

incremented, the value returns to
000.

(2) Image type (1 byte)

S

: OK image

L

: Latest

E

: Error image

W

: Unstable image

N

: Comparison NG

C

: Captured image

X

: No decoding process

(3) Operation number (2 bytes) 00

: Latest

01 to 10 : From timing ON/OFF to specified

number

#1 to #8 : Burst number

(4) Bank number (2 bytes)

01 to 10

(5) Image file extension

bmp or jpg

• Edit image file name function: Enable

Operates when the edit of image file name by script is enabled.
Outputs data using the image file name edited by script.

„

Send FTP connection request as necessary

The connection request transmission timing for FTP server can be specified.

: No : Send when the image transfer is confirmed and

the image file output preparation is complete.

Yes : Send as necessary when FTP connection is not

established, such as when the power is turned
on.

File name : (1) _ (2) _ (3) _ (4) . (5)

Send FTP connection
request as necessary