User Guide Instruction Manual
20 - Chapter 2. Programming Interface DeviceMaster UP Modbus/TCP User Guide: 2000447 Rev. I
Common Services
2.3.1.3. Common Services
2.3.1.4. Instance Attribute Definitions
Service Code Implemented in Class Implemented in Instance Service Name
01 Hex Yes Yes Get_Attributes_All
02 Hex No Yes Set_Attributes_All
0E Hex Yes Yes Get_Attribute_Single
10 Hex No Yes Set_Attribute_Single
Attribute
Description
Attribute 1
Serial Port Device
This attribute indicates the Serial Port Device Type. Raw Data device is the only
currently supported option.
Attribute 2
Serial Port
Commands
DeviceMaster UP supports the following commands:
• Reset serial port - This option resets the serial port hardware and statistics
counters. You must reset the DeviceMaster UP after modifying any of the serial
port configuration options, including: baud rate, interface mode, parity, data bits,
stop bits, flow control, or DTR control. It does not clear the sequence counters.
• Save in Flash - This option saves the port configuration in flash memory. These
settings are restored when you reboot the DeviceMaster UP.
• Clear sequence counters - This option clears the Receive Produced and Consumed
Sequence counters for the selected port.
• Clear statistics counters - This option clears the statistics counters for the selected
port.
Attributes 3 to 9
Standard Serial Port
Settings
These are standard serial port settings.
Attribute 10 - PLC Transmit STX Append Value - You can set this attribute to append
an STX (start of transmission) byte sequence which is configurable as 1 or 2-bytes to
the beginning of the serial packet before it is sent.
The length indicates the number of STX bytes. The valid values for length are:
• 0 (zero) - Setting this attribute to zero disables this function.
• 1 (one STX byte) - Inserts one STX byte before the data.
• 2 (two STX bytes) - Inserts two STX bytes before the data.
• Value1 - Specifies the transmit character associated with the first STX byte. (Only
if the length is not zero.) You can specify a value between 0 and 255.
• Value2 - Specifies the transmit character associated with the second STX byte.
(Only if length is two bytes.) You can specify a value between 0 and 255.
Attribute 10
PLC Transmit STX
Append Value
You can set this attribute to append an STX (start of transmission) byte sequence
which is configurable as 1 or 2-bytes to the beginning of the serial packet before it is
sent.
The length indicates the number of STX bytes. The valid values for length are:
• 0 (zero) - Setting this attribute to zero disables this function.
• 1 (one STX byte) - Inserts one STX byte before the data.
• 2 (two STX bytes) - Inserts two STX bytes before the data.
• Value1 - Specifies the transmit character associated with the first STX byte. (Only
if the length is not zero.) You can specify a value between 0 and 255.
• Value2 - Specifies the transmit character associated with the second STX byte.
(Only if length is two bytes.) You can specify a value between 0 and 255.










