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

Page 16

Klinkmann Automation Omron Ethernet DAServer

14

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.4

17014m14

Image 16
Contents Omron Ethernet Direct DAServer User’s Guide Ver 1.x Rev DR 170Contents About This User Guide ContentsIndex Introduction OverviewApplication Communications Protocols Communication ProtocolsSuiteLink Accessing Items via the DAServer Fins Message CommunicationFastDDE NetDDEDDE/SuiteLink Features Demo ModeKlinkmann Automation Omron Ethernet DAServer Before 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 Comments on example program ladder diagram Example program for sending unsolicited data from PLCKlinkmann Automation Omron Ethernet DAServer Klinkmann Automation Omron Ethernet DAServer Getting Started Quickly with the DAServer To prepare the Omron Ethernet DAServerNewSOCKET000 by default Configuring the DAServerAdd Controller Object To prepare the Omron Ethernet DAServer Klinkmann Automation Omron Ethernet DAServer To create Socket objects from the Configuration branch DASOmronEth Hierarchy in the DAServer ManagerPort Number Host Name IP AddrTo add Controller to your Omron Ethernet hierarchy Klinkmann Automation Omron Ethernet DAServer Klinkmann Automation Omron Ethernet DAServer Klinkmann Automation Omron Ethernet DAServer Enabling Software License Key for DASOmronEth Configuring Device Group Definitions Device Group DefinitionsTo create or add device groups To make edits on device groupsKlinkmann Automation Omron Ethernet DAServer To delete device groups To configure default update intervalsScan-Based Message Handling Configuring Device Item Definitions Archiving Configuration SetsTo archive configuration sets To use different configuration sets from the current oneDevice Item Definitions Name Item ReferenceTo create or add device items To add item referencesHot Configuration Klinkmann Automation Omron Ethernet DAServer Item Name General Format PnSPnb or Pnbb or Pn.b or Pn.bb Pn-PhSBCD Format Long Format Signed/BCDFloating Point Format IEEE/BCD Ascii Strings FormatWrite ReadImortant Note = a To M CS1/CJ1 PLCs= a Klinkmann Automation Omron Ethernet DAServer C200HX/C200HG/C200HE PLCs CV-series PLCs PVS Flag or Bit Status Step 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 System Item Type Description ValuesKlinkmann Automation Omron Ethernet DAServer DAServer Device-Group-Specific System Items RangeRange Generic OPC Syntax AREA10.VESSEL1.TIC1.PLC.D100Monitoring Connectivity Status with the PLC YourOPCAccessPath.$SYS$Status=DASOmronEthPLC!$SYS$Status Monitoring the Status of DAS Conversations Using DDEStatus and IOStatus in ExcelReading Values from the DAServer into Excel Writing Values to the DAServer from Excel Channel=INITIATEapplicationname,topicname=POKEchannel,itemname, DataReference =TERMINATEchannelDAServer Error Messages Error Messages and CodesError Message Explanation Probable Cause Solution Log Flag Item Names Creating write Invalid value poked Check Item’s DASProtFail Data, received Take into DASProtWarn Server-Specific Error Codes Error code Logger Message Log FlagFins Response Codes Main Code Sub Probable Cause Remedy Log Flag HexKlinkmann Automation Omron Ethernet DAServer Klinkmann Automation Omron Ethernet DAServer Klinkmann Automation Omron Ethernet DAServer Klinkmann Automation Omron Ethernet DAServer DAServer Architecture DAServersDAS Engine Plug-insPLC Protocol Layer Component Environments Klinkmann Automation
Related manuals
Manual 67 pages 16.17 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.