Omron DR 170 14 manual Example program for sending unsolicited data from PLC

Page 15

Klinkmann Automation Omron Ethernet DAServer

13

To complete the configuration: from the "Ethernet Unit CPU Bus Unit" (or from the "PLC IO Table - NewPLC1") dialog box select "Options" and click "Transfer to PLC".

Example program for sending “unsolicited” data from PLC

The PLC example program presented in Plcprg.cxp project incorporates the SEND(090) instruction for transferring unsolicited data from PLC to the OMRON ETHERNET DAServer (for programming details see SYSMAC CS1 Series CS1W-ETN01 Ethernet Unit OPERATION MANUAL, section 5).

The program transfers 10 words of data from D10 (notation in ladder diagram - D00010) from the PLC to the OMRON ETHERNET Server (into address D500). The computer where Omron Ethernet DAServer is running has the IP Address: 195.2.103.55 and the destination node number is assigned to 55 (37 in hex).

Comments on example program ladder diagram:

(0)Periodically (once per second) the execution condition flag CIO 000000 turns ON. Note: There can be different logic to turn ON execution condition flag in real application.

(1)If the Communication Port Enabled Flag for port 7 is ON, the send execution program will start when the execution condition flag CIO 000000 turns ON. Input CIO 120000 remains ON from the start of SEND execution until completion. Note: The CS1-series CPU Unit’s Communication Port Enabled Flags are allocated the following way - in Word

A202: Bit 0 – is associated with Port 0, Bit 1 – is associated with Port 1, … , Bit 7 – is associated with Port 7. Bit’s status OFF - means execution enabled, ON – means execution disabled.

(2) Control data (D0, D1, … D4) creation

Word

Contents

Meaning

D0000

00 0A

Number of send words = 10

D0001

00

00

Destination network number = 0 (local

 

 

 

network)

D0002

37

00

Destination node number = 55 (37 hex)

 

 

 

Destination unit address = 0

D0003

87

05

Response not required

 

 

 

Communication port No = 7

 

 

 

Number of retries = 5

D0004

00

64

Response monitor time = 10 s

Ten words with data from D10 from PLC are sent to D500 onwards on the local network, node number 55, unit address 0 (the computer where Omron Ethernet DAServer is running) – to receive all these data the items with addresses D500…D509 can be correspondingly activated for Omron Ethernet DAServer.

Important! With current example program an application will periodically toggle values of areas D500…D509 with values of areas D10…D19. This is because of DAServer time-

Omron Ethernet DAServer Ver 1.x User Manual Rev 1.3

17014m13

Image 15
Contents Ver 1.x Rev DR 170 Omron Ethernet Direct DAServer User’s GuideContents Contents About This User GuideIndex Overview IntroductionCommunication Protocols Application Communications ProtocolsSuiteLink NetDDE Accessing Items via the DAServerFins Message Communication FastDDEDDE/SuiteLink Demo Mode FeaturesBefore starting the Omron Ethernet DAServer Ethernet Unit Configuration Example for CS1 PLC Klinkmann Automation Omron Ethernet DAServer Klinkmann Automation Omron Ethernet DAServer Klinkmann Automation Omron Ethernet DAServer Klinkmann Automation Omron Ethernet DAServer Example program for sending unsolicited data from PLC Comments on example program ladder diagramKlinkmann Automation Omron Ethernet DAServer Klinkmann Automation Omron Ethernet DAServer To prepare the Omron Ethernet DAServer Getting Started Quickly with the DAServerConfiguring the DAServer NewSOCKET000 by defaultAdd Controller Object To prepare the Omron Ethernet DAServer Klinkmann Automation Omron Ethernet DAServer DASOmronEth Hierarchy in the DAServer Manager To create Socket objects from the Configuration branchHost Name IP Addr Port NumberTo add Controller to your Omron Ethernet hierarchy Klinkmann Automation Omron Ethernet DAServer Klinkmann Automation Omron Ethernet DAServer Klinkmann Automation Omron Ethernet DAServer Configuring Device Group Definitions Device Group DefinitionsTo create or add device groups To make edits on device groups To delete device groups To configure default update intervalsScan-Based Message Handling To edit update intervalsArchiving Configuration Sets To archive configuration setsName Item Reference Configuring Device Item DefinitionsTo use different configuration sets from the current one Device Item DefinitionsTo delete a device item from the list To create or add device itemsTo add item references To rename a device item from the listHot Configuration To export device itemsTo import device items Pn-PhS Item Name General FormatPnS Pnb or Pnbb or Pn.b or Pn.bbAscii Strings Format BCD FormatLong Format Signed/BCD Floating Point Format IEEE/BCDRead WriteImortant Note CS1/CJ1 PLCs = a To M= a Klinkmann Automation Omron Ethernet DAServer C200HX/C200HG/C200HE PLCs CV-series PLCs PVS Step Status Flag or Bit StatusCPM2x PLCs Klinkmann Automation Omron Ethernet DAServer CQM1 PLCs DAServer Standard System Items System Item Type Description Values Name Access Rights DAServer Global System ItemDAServer Device-Specific System Items Klinkmann Automation Omron Ethernet DAServer Range DAServer Device-Group-Specific System ItemsRange AREA10.VESSEL1.TIC1.PLC.D100 Generic OPC SyntaxYourOPCAccessPath.$SYS$Status Monitoring Connectivity Status with the PLC=DASOmronEthPLC!$SYS$Status Using DDEStatus and IOStatus in Excel Monitoring the Status of DAS ConversationsReading Values from the DAServer into Excel =TERMINATEchannel Writing Values to the DAServer from ExcelChannel=INITIATEapplicationname,topicname =POKEchannel,itemname, DataReferenceError Messages and Codes DAServer Error MessagesError Message Explanation Probable Cause Solution Log Flag Item Names Creating write Invalid value poked Check Item’s DASProtFail Data, received Take into DASProtWarn Main Code Sub Probable Cause Remedy Log Flag Hex Server-Specific Error CodesError code Logger Message Log Flag Fins Response CodesKlinkmann Automation Omron Ethernet DAServer Klinkmann Automation Omron Ethernet DAServer Klinkmann Automation Omron Ethernet DAServer Klinkmann Automation Omron Ethernet DAServer DAServers DAServer ArchitecturePlug-ins DAS EnginePLC Protocol Layer Component Environments Klinkmann Automation
Related manuals
Manual 70 pages 30.48 Kb

DR 170 14 specifications

The Omron DR 170 14 is a leading-edge digital infrared thermometer that has established a strong reputation for its accuracy and efficiency in measuring body temperature. This advanced device is particularly noted for its user-friendly design, making it suitable for both medical professionals and home use.

One of the key features of the Omron DR 170 14 is its non-contact measurement capability, allowing users to obtain temperature readings from a distance of about 1-3 centimeters. This feature is crucial in minimizing the risk of cross-contamination, especially in healthcare settings. The thermometer utilizes infrared technology to detect the infrared energy emitted by the body, ensuring quick and reliable readings in just seconds.

The Omron DR 170 14 also boasts a large, easy-to-read LCD display that provides clear visibility of temperature readings. This display is backlit, allowing for usage in low-light conditions, making it convenient during nighttime monitoring of children's temperatures.

Furthermore, the device includes a memory function that can store multiple temperature readings, assisting users in tracking fever patterns over time. This feature is invaluable for caregivers and healthcare providers as it allows for better assessment and decision-making regarding treatment plans.

In terms of accuracy, the Omron DR 170 14 is equipped with advanced measurement algorithms that enhance precision in readings, positioning it as a reliable option for temperature measurement. The thermometer can measure not only body temperature but also surface temperatures of objects and liquids, providing versatility beyond just clinical settings.

Another notable characteristic is its compact and lightweight design, which makes it highly portable and easy to carry around, whether in a medical bag or a home setting. The thermometer is also powered by batteries, ensuring that it remains operational even in case of power outages.

Overall, the Omron DR 170 14 stands out for its combination of modern technology, ease of use, and reliable performance. With its non-contact functionality, rapid readings, and memory features, it serves as an essential tool for anyone needing accurate temperature assessments, whether in a clinical or home environment. The thermometer exemplifies Omron's commitment to creating healthcare solutions that are not only innovative but also accessible to a wide range of users.