Perle Systems DS1, TS2 manual Set Commands

Page 175

Accessing I/O Data Via TruePort

Example 1: Read the status of the first digital input (DI1) on a D2R2 unit.

DI1 sensor is a coil register with the decimal value of 6145 (hex 0x1801).

Request: 0x01 0x18 0x01 0x00 0x01

Response: 0x01 0x01 0x01 (Digital input 1 is active)

Example 2: Read the values for the Inactive Signal Width, Active Signal Width, and Pulse count for the second digital output (DO2) on a D4 unit.

DO2, Inactive Signal Width is a holding register with the decimal value of 6210 (hex 0x1842). Request: 0x03 0x18 0x42 0x00 0x03

Response: 0x03 0x06 0x00 0x0A 0x00 0x11 0x00 0x0F

(Inactive =10*100ms, Active= 17*100ms, and Pulse count = 15)

Example 3: Read the raw current, minimum and maximum values of the third Analog input (A3) on an A4D2 unit.

A3 current raw value is an input register with the decimal value of 2150 (hex 0x0866). Request: 0x04 0x08 0x86 0x00 0x03

Response: 0x04 0x06 0x10 0x03 0x0F 0x30 0x10 0x20

(Current = 0x1003, Minimum = 0x0F30, and Maximum = 0x1020)

Set Commands

The following tables show the general structure to be used for set commands.

Note: Numeric values provided in the API documentation are in Hexadecimal (Hex) format.

Command Format

Byte(s)

# of Bytes

Value

 

 

 

1

1

Command Code (in hex):

 

 

z 0x0F – Set “Boolean registers” (R/W coils)

 

 

z 0x10 – Set “holding registers” (read/write registers)

2-3

2

Starting register number (see A4/T4 Registers , A4D2/A4R2 Registers ,

 

 

or D4/D2R2 Registers for this value).

4-5

2

Number of registers to set. If this value is greater than 1, the response

 

 

will contain the values of multiple consecutive registers.

6

1

The length of the data (in bytes) to be written to the registers.

7-n

n

Data to be written to the registers.

 

 

If accessing registers which are 2 or 4 bytes, the data is in Network

 

 

order (Big endian) format (that is, MSB, LSB).

For Boolean registers, the value field will be a bit field with the LSBit corresponding to the IO channel referenced by the starting register.

175

Image 175
Contents Iolan DS1/TS2 EN 55022 1998, Class A, Note Documentation PrefaceAbout This Book Intended AudienceOnline Help Typeface ConventionsTable of Contents Configuration Methods Getting Started Using DeviceManager and WebManager Serial Port Profiles Network Settings Configuring Users Configuring Security UDP Configuring the System Controlling the I/O Channels Appendix a Virtual Modem AT Commands Appendix D I/O Wiring Diagrams Appendix H Data Logging Appendix I Modbus Remapping 241 About the Iolan IntroductionIolan Family Models Hardware Iolan FeaturesSoftware Security Introduction ConnectivityIolan Components Overview Power Supply SpecificationsGetting to Know Your Iolan Desktop ModelsSerial Activity DS1End View Top ViewConsole Mode Console/Serial SwitchSerial Mode Models with Barrel Connector Powering Up the IolanModels with Terminal Block Connector Configuration Methods Chapter Configures an IP Address Configuration Methods OverviewRequires a Configured IP Address Easy Config Wizard DeviceManager Access PlatformsFeatures Connecting to the Iolan Using DeviceManagerDeviceManager Navigating the Options Using DeviceManagerDownloading the Configuration Connecting to the Iolan Using WebManagerWebManager WebManager Using WebManager Connecting to the Iolan Using the CLI Command Line InterfaceThrough the Network Through the Serial Port Using the CLIConnecting to the Iolan Using the Menu MenuUsing the Menu Using DHCP/BOOTP Connecting to the Iolan Using DHCP/BOOTPDHCP/BOOTP Parameters Snmp Connecting to the Iolan Using SnmpUsing the Snmp MIB Getting Started Easy Configuration WizardSetting Up the Network Using a Direct Serial Connection to Specify an IP Address Using a Direct Serial Connection to Enable BOOTP/DHCP For an IPv6 Network Using ARP-PingSetting Up the Serial Ports Setting Up the Serial Ports Setting Up Users Using DeviceManager WebManager DeviceManager Navigating DeviceManager/WebManagerWebManager Starting a New Session Using DeviceManager to Connect to the IolanAssigning a Temporary IP Address to a New Iolan Logging in to the Iolan Adding/Deleting IOLANs ManuallyLogging into the Iolan Using WebManager to Connect to the IolanConfiguration Files Creating a New Iolan Configuration in DeviceManagerImporting an Existing Configuration File Opening an Existing Configuration FileManaging the Iolan Functionality Serial PortsEditing a Serial Port Resetting a Serial Port Hardware Tab Field Descriptions Serial Port ProfilesCommon Tabs OverviewEnable Inbound Default NoneDefault Full Default AutoPacket Forwarding Tab Field Descriptions Packet Size Enable Trigger1Enable Trigger2 Packet DefinitionFunctionality Console Management ProfileIP Address Default TelnetGeneral Tab Field Descriptions Protocol Listen for Connections on TCP PortAdvanced Tab Field Descriptions Dial Out Default 10 ms DialModem Dial TimeoutTruePort Profile Dial RetryTCP Port System Default Enabled Host NameConnect Default Disabled Define Additional Connect to remoteAdding/Editing Additional TruePort Hosts Adding/Editing a Multihost Entry Backup HostPrimary Host Day Motd Default Disabled Enable TCP Signals highWhen Enable Data Logging Trueport Lite Mode Dial Retry TCP Sockets Profile Connection Workstation/Server on the network Default EnabledDefault Disabled Adding/Editing Additional Hosts Adding/Editing a Multihost Entry Lost Day Motd Default Disabled Enable DataDefault 10 ms Dial UDP Sockets Profile Serial Port Profiles UDP Entry End IP Address Connections onUDP port Direction Start IP AddressSession Strings Port UDP port to use Default 0 zeroDefault 10 ms Terminal ProfileVT320 specifically supporting VT320-7 Default DumbVT100 TVI925Received Default Disabled ProtocolWhen any data is AutomaticallySession Timeout Default Disabled Hotkey PrefixData Range Login Settings User Service SettingsErase Telnet SettingsInterrupt QuitSerial Tunneling Profile Act As Tunnel Client Default Disabled Host NameServer Break Length Delay After BreakVirtual Modem Profile 100 DCD DTR Signal Acts as RTS Signal Always OnAT Command RTS Signal Acts asResponse Delay VModem Phone Number Entry Phone Number to Host MappingPhone Number Control Signal I/O ProfileHost IP Address Description Input Signal Field DescriptionsInvert Signal Auto Clear ModeFailsafe Action Output Signal Field DescriptionsMode Default Disabled Syslog Manual ClearModbus Gateway Profile Button IP address Advanced Slave Settings ButtonDestination Slave IP MappingsAdvanced Field Descriptions Default 30 msMessage Timeout Default 1000 msAdding/Editing Modbus Slave IP Settings Modbus Slave IP Settings Field DescriptionsUID Start Type Default HostDefault TCP UID EndModbus Slave Advanced Settings Field Descriptions Custom Application Profile Default OffGeneral Tab Field Description Field Descriptions Advanced Serial Settings TabClosing Serial Port Default Disabled Deny Multiple AdvancedAdding/Editing a Modem Modems TabName Name of the modem Field Definitions TruePort Baud Rate TabNetwork Settings Domain IP SettingsIPv4 Settings System NameIPv6 Settings Adding/Editing a Custom IPv6 Address Advanced Default IPV6 68-1500 bytesDelete Button Deletes a host from the host table Host TableAdding/Editing a Host Add Button Adds a host to the host table Edit ButtonAdding/Editing Routes Route ListHost Default DefaultIPv4 Subnet Mask IPv6 Prefix BitsConfiguring Users User Settings General Tab Adding/Editing UsersLevel Default NormalHost IP Services TabService Default DSPromptAdvanced Tab Default EnglishLanguage Sessions Tab Connect Session 1, 2, 3Serial Port Access Tab Services Configuring SecurityField Descriptions Technical Specifications Configuring I/O InterfacesAccess Functionality SettingsAdvanced Slave Modbus Settings Failsafe Timer Functionality UDP Functionality UDP Entry Temperature FunctionalityUDP Settings Default CelsiusAnalog I/O Analog ChannelsAnalog Monitoring Application A4D2Alarm Settings Default CurrentDigital I/O Monitoring ApplicationInput Mode 147 Default Sink Output ModeActive Signal Default ManualPulse Mode Inactive SignalRelay I/O Monitoring Application A4D2Relay151 Remote Host Digital I/O ExtensionFront Door Warehouse Perle Iolan ReceptionMessage type 1 Byte Current Alarm State 1 Byte z 0 = Not in alarmInput number 1 Byte Extension Enable I/OInput TCP Port Local connection HostsSimultaneously Communicate to the Primary Host Temperature I/O Industrial Freezers TemperatureDefault RTD Basic Analog Alarm Settings Alarm SettingsClear Advanced Analog Alarm SettingsClear Mode Trigger TypeUDP Broadcast Packet UDP Unicast FormatAnalog Section Length EnabledSection Channel Length Pin Serial Pin Signal SectionDigital/Relay Section Length ChannelModbus Serial Application Connected to the Network Modbus SlaveUDP Unicast Example Modbus Serial Application Connected to the Serial PortModbus TCP Application Modbus I/O AccessFunction Codes Coil/Register Descriptions Input Registers Serial Port Coil/Register DescriptionsA4/T4 Registers Data Model A1/T1 A2/T2 A3/T3 A4/T4 Holding RegistersData Model D1/R1 D2/R2 Coils A4D2/A4R2 RegistersData Model Pin Coils Serial Pin SignalsD4/D2R2 Registers Data Model D3/R1 D4/R2 CoilsPC running a Modbus Serial Application TruePort Power Digital OutputTruePort I/O TruePort/Modbus CombinationPC running Custom Application API TruePort API Over TruePort OnlySetup Accessing I/O Data Via TruePortIntroduction Response Format Format of API CommandsGet Commands Command FormatSet Commands Example 2 Turn on the first and second relay on a D2R2 unit Successful Response FormatUnsuccessful Response Format Example 1 Turn on the first relay on a D2R2 unitSnmp Traps Error CodesAlerts Configuring the System ChapterSyslog Management Snmp Traps Tab Field Descriptions Custom App/Plugin Default 1 secondField Description Login Tab Field Descriptions Bootup Files Tab Field Descriptions Filename WebManager WebManager. Default DisabledMessage of the Day Motd Tab Field Descriptions Tftp HostTftp Tab Field Descriptions Default 3 secondsRetry Controlling the I/O Channels Activate Output Manually activates the channel output Managing Configuration Files System Administration ChapterSaving Configuration Files Downloading Configuration Files Reboot Server Downloading Configuration Files to Multiple IOLANsServer Name Specifying a Custom Factory Default Configuration Uploading Configuration FilesCalibrating Analog Input Resetting the Iolan to the Default ConfigurationDownloading Iolan Firmware Calibrating I/OCalibrating Current Calibrating VoltageCalibrating Thermocouple Calibrating Temperature InputCalibrating RTD Calibrating Analog Channels Resetting Calibration DataRebooting the Iolan Setting the IOLAN’s Date and TimeResetting the Iolan to Factory Defaults Loading a Supplied Language Language SupportTranslation Guidance Software Upgrades and Language FilesCreating Terminal Definition Files Downloading Terminal DefinitionsFor example Resetting Configuration ParametersLost admin Password Virtual Modem Initialization Commands CommandsAT&Rn AT&SnAT&Cn Serial Pinouts Pinouts and Cabling DiagramsDB25 Male DB25 Female RJ45 DB9 Male I/O DB9 Male Serial OnlyDB25 Female EIA-232 Cabling DiagramsTerminal DB25 Connector DB25 MaleDB9 Male RJ4510-pin Pin Iolan RJ45 DCE Modem DB25 ConnectorRxD TxD DTR 20 DTR GND Port Iolan Setting JumpersIolan DB25 Male/Female Iolan RJ45 DIP Digital I/O Module Analog Input Module Digital Input Wet Contact Wiring I/O DiagramsDigital Input Dry Contact Digital Output Source Digital Output SinkVoltage Temperature InputAnalog Input CurrentRelay Output RTD 2-WireRTD 3-Wire RTD 4-WireNormally Closed Contact TruePort TruePort UtilityAPI Request Format API I/O Access Over TruePortAPI Response Format Error Codes Starter Kit Adapters/Cable AccessoriesRJ45F to DB25M DTE Crossover Adapter RJ45F to DB25M DCE Modem Adapter RJ45F to DB25F DTE Crossover Adapter RJ45F to DB9M DTE Crossover Adapter RJ45F to DB9F DTE Crossover Adapter Sun/Cisco RJ45M Connector Cable for Rack Mount ModelsStarter Kit Adapters/Cable Accessories Power/Ready LED continues to blink green in desktop models TroubleshootingHardware Problems Communication IssuesHost Problems DeviceManager ProblemsLogin Problems Login Problems Unknown IP Address Problems with TerminalsModels DHCP/BOOTP ProblemsLanguage Problems Long Reboot CycleIPv6 Issues Making a Technical Support Query Contacting Technical SupportFeedback on this Manual Repair ProcedureTrueport Profile Data LoggingTCP Socket Profile Line format for one UID is Modbus Remapping FeatureConfiguring the Modbus UID Translation Feature Create a configuration fileConfiguring the Modbus UID Translation Feature Glossary Silent Connection RIP RoutingInformation Protocol Roaming CallbackIndex BootpSnmp
Related manuals
Manual 224 pages 30.96 Kb Manual 88 pages 61.31 Kb Manual 122 pages 55.83 Kb

DS1, TS2 specifications

Perle Systems TS2 and DS1 are advanced serial-to-Ethernet devices designed to facilitate seamless integration of serial devices with modern IP networks. These devices serve as crucial tools for businesses looking to enhance their communication capabilities while leveraging existing infrastructure.

One of the standout features of the Perle TS2 and DS1 is their ability to support multiple serial protocols including RS232, RS422, and RS485. This versatile support allows businesses to connect various legacy devices to their networks, ensuring that critical equipment can still communicate effectively in an increasingly digital landscape.

The TS2 model is particularly noted for its dual serial ports, enabling simultaneous communication with multiple devices. This capability is invaluable for applications requiring real-time data transmission, such as remote monitoring and automated control systems. The DS1 model, on the other hand, is designed for single-port use, making it an ideal solution for smaller-scale operations or specific single-device connections.

Both the TS2 and DS1 incorporate advanced features such as configuration through a web interface, which simplifies setup and management. Users can easily access device settings and monitor performance metrics remotely, enhancing operational efficiency. These devices also support various network protocols such as TCP/IP, UDP, and ICMP, ensuring compatibility with a wide range of network architectures.

In terms of security, Perle Systems prioritize user data protection. The TS2 and DS1 offer features including SSL encryption and SSH protection, providing an added layer of security for sensitive information transmitted over the network. This is particularly important for industries where data integrity and security are paramount, such as healthcare and finance.

Additionally, the rugged design of both devices ensures reliable performance even in harsh environments. With extended temperature ratings and robust housing, the TS2 and DS1 can operate in diverse conditions without compromising functionality.

To summarize, the Perle Systems TS2 and DS1 provide a reliable and flexible solution for connecting legacy serial devices to modern networks. With their support for multiple serial protocols, web-based management, robust security features, and rugged design, these devices cater to a variety of industries looking to modernize their communication infrastructure while maintaining existing equipment. Whether for large-scale operations or smaller implementations, the TS2 and DS1 equip businesses with the tools needed for effective serial communication in an IP-driven world.