beautypg.com

Comtrol UP DeviceMaster User Guide User Manual

Page 42

background image

42 - Chapter 2. Programming Interface

DeviceMaster UP Modbus/TCP User Guide: 2000447 Rev. I

Instance Attribute Definitions

Attribute 18

Receive (DeviceMaster
UP to PLC) Data Tag
Name

This attribute specifies the PLC tag name. It indicates where to write received data
while operating in the Write-to-Tag or Write-to-Tag-Synced receive method.

Note: This attribute is not used in the Polling method.

Attribute 19

Application Socket
Enable

This attribute enables/
disables the Application
Socket Interface.
Enabling this function
allows an application to
be connected to the
device socket port. If both
the PLC and application
are connected to the
device socket port, both
can transmit to and
receive data from the
device socket port.
However, the PLC and application cannot communicate directly to each other.

Attribute 20

Application Listen
Enable

Enabling this setting allows the application to connect to the DeviceMaster UP via
an Ethernet TCP/IP socket.

0 = Disables listening - The DeviceMaster UP does not accept connection
attempts.

1 = Enables listening - The DeviceMaster UP accepts connection attempts from
the specified socket.

Attribute 21

Application Connect
Mode

This setting controls if and how the DeviceMaster UP attempts to connect to the
application at the specified IP address and socket.

0 = Never - The DeviceMaster UP does not attempt to connect to the
application.

1 = Connect Always - Attempts to connect to the application until a connection
is made.

2 = Connect On Data - The DeviceMaster UP does not attempt to connect to the
application until there is data to send to the application. Once data is received
from the socket device, the DeviceMaster UP attempts to connect to the
application until a connection is made.

Attribute 22

Application Disconnect
Mode

This setting controls if and how the DeviceMaster UP disconnects from an
application.

0 = Never - The DeviceMaster UP does not disconnect from the application.

1 = Disconnect On Idle - The DeviceMaster UP disconnects when there has been
no transmit or received data between the socket device and application for a
specified Idle period. (

See Attribute 32

.)

Attribute 23

Application Listen
Socket Port

This is the socket port number on the DeviceMaster UP the application connects to
if Application Listen Enable is enabled.

Attribute 24

Application
Connection Socket Port

This is the application socket port number the DeviceMaster UP connects to if the
Application Connect Mode is set to either Connect Always or Connect On Data.

Attribute 25

Application
Connection IP Address

This is the application IP address the DeviceMaster UP connects to if the
Application Connect Mode is set to either Connect Always or Connect On Data.

Attribute 26

Application Idle
Timeout

The idle timeout period in milliseconds that is used if the Application Disconnect
Mode
is set to Disconnect On Idle.

Attribute

Description (Continued)

Application Socket Interface