1. Catalogs
  2. Ametek Land
  3. LANDSCAN TCP/IP Communications

LANDSCAN TCP/IP Communications

LANDSCAN TCP/IP Communications
1 / 52 PagesView full catalog

LANDSCAN TCP/IP Communications

Product catalog summary
Introduction
This document provides a technical guide for TCP/IP communications with the LSPHD system, focusing on the Landscan Protocol and offering C++ programming examples for socket-based communications.
LSPHD Communications Overview
The LSPHD operates in a Master/Slave configuration, acting as the Slave. Messages are ASCII-encoded with specific formatting requirements. The system supports up to four simultaneous client connections.
Reply Codes and Unit Identity
Reply codes indicate system health, with zero indicating success. Each unit has a unique Identity Code, retrievable via a 'hello' message.
Parameter Management
Parameters must conform to specified formats and ranges. Commands for setting and retrieving parameters include system, zone, and alarm parameters.
Ethernet Message Timing and TCP/IP Implementation
Ethernet message timing is crucial, with specific timing windows. TCP/IP is implemented using a socket interface, with the LSPHD as a server.
Commands and Responses
Commands initiate communication and configuration changes, with responses verifying system status and identity.
Health and Safety Information
Users should follow all safety instructions, including wearing protective clothing and isolating electrical connections before work.
Design and Manufacturing Standards
The LSPHD complies with European directives on Electromagnetic Compatibility and Low Voltage. Alterations may invalidate CE and IP classifications.
Contact Information
Contact details for Land Instruments International and AMETEK Land, Inc. are provided for assistance.
Parameter Verification
The document outlines verifying parameter changes using a 'get parameter' message to ensure successful changes.
System Health Check (SHO)
The SHO command verifies communication status, with a zero reply code indicating satisfactory operation.
Emissivity Settings (SEP & SEV)
Commands for setting and retrieving emissivity values are detailed.
Zone Parameters (SZP & SZV)
Instructions for configuring zone parameters, including tracking process or hot product, are provided.
Alarm Parameters (SAP & SAV)
Describes setting alarm thresholds and types, with options to disable unused alarms.
System Parameters (SSP & SSV)
Includes temperature adjustments and output range configurations, typically set during initial configuration.
Data Collection
The LSPHD provides scan line information for external analysis, with commands like SZD and SND.
Command Examples
Each section includes command examples and expected responses for effective interaction with the LSPHD system.
Data Communication
The SND command requests scan line data, highlighting Ethernet communication's importance for large data volumes.
Command Descriptions
Includes SND, SBD, Stream Binary Data, and SFD commands for various data transmission needs.
Remote Output Control
Includes AOC and DOC commands for setting analog and digital output channels.
High-Speed Communication
150Hz Client Priority Message ensures priority for clients needing 150Hz data updates.
Configuration Commands
Includes SUP, SLP, and SCM commands for setting parameters and performing operations.
Conclusion
The document emphasizes selecting appropriate communication protocols and settings to optimize performance and data integrity.
Technical Commands and Procedures
Outlines commands like 'SCM 4' for self-testing and 'SCM 8196' for identity codes.
Reply Codes
Reply codes range from 101 to 158, indicating operational statuses and errors.
C++ Programming Examples
Provides C++ examples for socket operations using WINSOCK_API, emphasizing error handling.
Product Warranty
Details warranty terms for various products, with exclusions for issues from incorrect wiring and unauthorized repairs.
See more

Catalog excerpts

LANDSCAN TCP/IP Communications-1

LANDSCANTCP/IP communicationsTechnical Guide Programmers Guide Issue 27 March 2013 Language: English MARCOM0232 © Land Instruments International, 2011-2012 VMETEK PROCESS & ANALYTICAL INSTRUMENTS

 Open the catalog to page 1
LANDSCAN TCP/IP Communications-3

IMPORTANT INFORMATION - PLEASE READ Health and Safety Information Read all of the instructions in this booklet - including all the WARNINGS and CAUTIONS - before using this product. If there is any instruction which you do not understand. DO NOT USE THE PRODUCT. Safety Signs WARNING Indicates a potentially hazardous situation which, if not avoided, could result in death or personal injury. CAUTION Indicates a potentially hazardous situation which, if not avoided, could result in minor or moderate injury to the user or users, or result in damage to the product or to property. NOTE Indicates a...

 Open the catalog to page 3
LANDSCAN TCP/IP Communications-4

Land Instruments International E-Mail: [email protected] E-Mail: [email protected] For further details on all LAND/Ametek offices, distributors and representatives, please visit our websites. Return of Damaged Goods IMPORTANT If any item has been damaged in transit, this should be reported to the carrier and to the supplier immediately. Damage caused in transit is the responsibility of the carrier not the supplier. DO NOT RETURN a damaged instrument to the sender as the carrier will not then consider a claim. Save the packing with the damaged article for inspection by the carrier. Return...

 Open the catalog to page 4
LANDSCAN TCP/IP Communications-5

2.9.7 SZV Send Zone Parameter Values 14 2.9.9 SAV Send Alarm Parameter Values 17 2.9.11 SSV Send System Parameter Values 19 2.10.4 Stream Binary Data Commands 27 3.3 Read data from server 42

 Open the catalog to page 5
LANDSCAN TCP/IP Communications-7

Service Guide Technical Support This document describes the TCP/IP communications interface to the LSPHD. TCP/IP is based upon socket based communications. Establishing a TCP/IP communications link involves the server (LSPHD) listening for client connection requests on a server listening port (1050). Following the successful creation of a socket between the client and the server the client provides suitable commands as described in the Landscan Protocol to communicate with the server. The Landscan Protocol is described in detail and examples of the appropriate message strings for each command...

 Open the catalog to page 7
LANDSCAN TCP/IP Communications-8

Technical Support Service Guide It is the responsibility of the user, when interfacing to the LAND processor, to ensure transmissions were received intact and interpreted as intended and that parameter changes have been accepted. Please allow 6 seconds before attempted reconnections. 2.2 Multiple Clients The LSPHD supports a maximum of four simultaneous client connections. NOTE: It is important that only one LSPHD client is used to change the LSPHD configuration to prevent conflicting client configuration data. 2.3 Reply Code All responses from the processor return a reply code, which conveys...

 Open the catalog to page 8
LANDSCAN TCP/IP Communications-9

Technical Support Service Guide 2.5 Parameters The parameters settings are validated by the LSPHD on receipt to be an integer, i.e. a whole number, a floating point value, i.e. with a fractional part or a character string of length. Each individual parameter is checked against the range given in the 'Accepted Values' field. The whole message is rejected if either the format or the range of any individual parameter is invalid. The message is also rejected if the number of parameters is incorrect, either too many or not enough are received. 2.6 Ethernet Message Timing A request for scan line information...

 Open the catalog to page 9
LANDSCAN TCP/IP Communications-10

Technical Support Service Guide 2.7 Ethernet TCP/IP Implementation TCP/IP is implemented in the LSPHD using the concept of a socket interface. The LSPHD acts as a server, passively listening for a connection on a selected port. The client can then at any time actively open the connection and establish a channel for communications. Messages can be exchanged whilst the interface remains open. If the LSPHD is removed from service requiring the power to be switched off or if there is a mains supply failure then the client must attempt to re-establish that connection indefinitely until the unit is...

 Open the catalog to page 10
LANDSCAN TCP/IP Communications-11

Technical Support Service Guide 2.8 Commands & Responses This type of message can be used by the Master to initiate communications with the LAND LSPHD and checks that it is communicating properly and its current condition. It is the simplest message, and takes the form of a Hello command with an Answer response. The response returns the system reply code followed by the unit identity code. It is recommended that this message precedes any other message. SYSTEM INTEGRITY CHECK Land Processor (Validate integrity) Send Hello Verify the identity of the ReSpond with AnSmr Respond with system...

 Open the catalog to page 11
LANDSCAN TCP/IP Communications-12

Service Guide Technical Support 2.9 Configuration Setup This type of message allows interrogation and configuration of the processing parameter settings secured within the LSPHD's non-volatile memory. Groups of functionally similar parameters within the LSPHD are handled by individual messages. 2.9.1 Set Parameters Commands These commands can be used to configure the parameter group within the LSPHD. The LSPHD will reply with an acknowledgment after the data changes have been validated and any new settings have been secured to non-volatile memory. If this process is not completed successfully...

 Open the catalog to page 12
LANDSCAN TCP/IP Communications-13

Service Guide Technical Support SYSTEM PROCESSOR PARAMETERS Land Processor (Validate integrity) Send Hello Verify the identity of the processor by recognising its unique identity number. Interpret the reply code to validate the system integrity. A reply code of 0 indicates a healthy processor. Respond with Answer Respond with system integrity and unit integrity If the reply code and unit Set Parameters identity are OK, contruct the message according to this document and send the selected parameter settings to the processor Check that the reply code 0, to indicate a sucessful update Check the...

 Open the catalog to page 13
LANDSCAN TCP/IP Communications-14

Service Guide Technical Support 2.9.2 Get Parameter Commands This type of command message can be used to instruct the LSPHD to return the requested parameter group values and transfer the information back to the process computer. This is used to verify that parameter changes made using the 'set parameter' message have been successful by reading back the same parameters which were previously written. PROCESSOR PARAMETERS Land Processor (Validate integrity) Send Hello Verify the identity before changing the processor configuration Respond with Answer Respond with system integrity and unit integrity...

 Open the catalog to page 14

All Ametek Land catalogs and technical brochures

  1. CYCLOPS L

    4  Pages

  2. 4650-PM

    4  Pages

  3. AUTO POUR

    4  Pages

  4. SPOT actuator

    5  Pages

  5. SPRINT 8

    2  Pages

  6. PRODUCT GUIDE

    8  Pages

  7. SPOT Family

    8  Pages

  8. ARC Imager

    4  Pages

  9. NIR-B Thermal

    2  Pages

  10. NIR BoreScope

    2  Pages

Archived catalogs

*Prices are pre-tax. They exclude delivery charges and customs duties and do not include additional charges for installation or activation options. Prices are indicative only and may vary by country, with changes to the cost of raw materials and exchange rates.