RayTek FA, FR Programming Guide, Remote versus Manual Considerations, Command Structure

Page 47

Programming Guide

9 Programming Guide

This section explains the sensor’s communication protocol. Use them when writing custom programs for your applications or when communicating with your sensor with a terminal program.

9.1 Remote versus Manual Considerations

Since the sensor includes a local user interface, the possibility exists for a person to make manual changes to parameter settings. To resolve conflicts between inputs to the sensor, it observes the following rules:

Command precedence: the most recent parameter change is valid, whether originating from manual or remote.

If a manual parameter change is made, the sensor will transmit a “notification” string to the host. (Notification strings are suppressed in multidrop mode.)

A manual lockout command is available in the protocols set so the host can render the user interface “display only,” if desired.

All parameters set via the 2‐way interface are retained in the sensor’s nonvolatile memory.

When a unit is placed in multidrop mode its manual user interface is automatically locked! It can be unlocked with the command XXXJ=U <CR>, where XXX is the multidrop address.

9.2 Command Structure

Protocols are the set of commands that define all possible communications with the sensor. The commands are described in the following sections along with their associated ASCII command characters and related message format information. Types of commands include the following:

1.A request for the current value of a parameter

2.A change in the setting of a parameter

3.Defining the information contents of a string (either continuously output or periodically polled at the option of the user)

The sensor will respond to every command with either an “acknowledge” or a “not acknowledge” string. Acknowledge strings begin with the exclamation mark ! and are either verification of a set command or a parameter value. If the unit is in multidrop mode the 3‐digit address can be sent out before the exclamation mark.

For a change in the setting of a parameter, the range of possible setting values is defined, and, if the host inputs a value outside the allowed range, an appropriate “error” response character shall be transmitted back by the sensor.

All commands must be entered in upper case (capital) letters. Also note that leading and trailing zeros are necessary!

Marathon Series FA/FR

39

Image 47
Contents Marathon FA/FR Series Page European Headquarters France United Kingdom Fluke Service CenterContacts Worldwide HeadquartersWarranty Table of Contents Milliamp Output Relay Outputs Trigger Fiber Calibration Page Marathon Series FA/FR Safety InstructionsSafety Instructions Models Product DescriptionProduct Description Theory of Operation for 2‐Color SensorsLow or Changing Emissivities Partially Obscured TargetsTargets Smaller Than Field of View FA Models Technical DataTechnical Data Measurement SpecificationsGeneral Specifications Electrical Specifications Dimensions of Optical HeadFA Models DimensionsAdjustable Mounting Bracket for Optical Head Standard Focus Optical SpecificationsClose Focus Close Focus Spot Size Charts for FA modelsStandard Focus Spot Size Charts for FR models Scope of Delivery Close Focus Spot Size Charts for FR modelsSensor Location Sensor LocationSensor Placement 2‐Color Mode Sensor Placement 1‐Color ModeViewing Angles Sensor Placement in 2‐Color ModeAcceptable Sensor Viewing Angles Mounting the Sensor InstallationInstallation Fiber Optic Cable AimingConfiguring the Sensor Cable Installing the Electronics HousingRemoving the Terminal Block RS232/485 Interface Converter Power SupplyConnecting to a PC Multidrop Installation 2‐Wire Multidrop Installation 4‐WireWiring for 2‐Wire Sensor Setup Connecting to Terminal BlockAddressing Installing of Multiple Sensors in a NetworkWiring Control Panel OperationOperation Operation Modes Mode Selector Button Sequence FA ModelsSlope 2‐Color Temperature DisplayEmissivity 1‐Color Averaging AVG 4 2C/1C SwitchPeak Hold PKH Overview to Hold Functions Valley Hold VALHold Functions SetpointsDeadband Relay Outputs Ambient Background Temperature Compensation FA ModelsInputs and Outputs Milliamp OutputFactory Defaults Factory DefaultsOptions Cooling Platform for Electronics HousingOptions Overview AccessoriesAccessories Accessories selectionProtection Tube Air Purge CollarFlexible Fitting System Fitting SystemAvailable RS232/485 Interface Converters Order number ModelDimension of Industrial Power Supply Industrial Power SupplyRemote versus Manual Considerations Command StructureProgramming Guide Programming GuideTransfer Modes Poll ModeBurst Mode = + n ⋅15000 Response Time in Setup ModeCommand List Command ListXUFR1A Command Examples Command ExamplesTroubleshooting MaintenanceMaintenance Troubleshooting Minor ProblemsFail‐Safe Operation Error Codes in 1‐Color Mode FA modelsError Codes in 2‐Color Mode FR models Examples of failsafe conditions Current Output Values in accordance to an ErrorCleaning the Lens Removing the Fiber Optic Cable from the Optical Head Replacing the Fiber Optic CableRemoving the Fiber Optic Cable Put cable out Attaching the Fiber Optic Cable to the Optical Head Mounting the Fiber Optic CableFiber Calibration Dialog for the Calibration of the Fiber Cable Typical Emissivity Values AppendixAppendix Determination of EmissivityTypical Emissivity Values Non‐Metals Marathon Series FA/FR55Typical Emissivity Values Metals Typical Slopes How to determine slope?Typical Percentage of Allowed Signal Reduction FR1A Models Signal Reduction FR ModelsAttenuation Influence on Accuracy Maximum ErrorInstrument Calibration Marathon