Mitsubishi RS232/485/LAN Serial Communication Control Betriebsanweisung

Stöbern Sie online oder laden Sie Betriebsanweisung nach Software Mitsubishi RS232/485/LAN Serial Communication Control herunter. Mitsubishi RS232/485/LAN Serial Communication Control User`s guide Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 23
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
AzeoTech
®
DAQFactory
®
Serial / Ethernet
Communications Guide
Seitenansicht 0
1 2 3 4 5 6 ... 22 23

Inhaltsverzeichnis

Seite 1 - Communications Guide

AzeoTech® DAQFactory® Serial / Ethernet Communications Guide

Seite 2

This window is very similar to the user device window, but that is not terribly important at this time. At the top you should specify a name for

Seite 3 - Overview

Give your I/O type a name (say GetData) and leave the rest in their default settings and hit OK. This adds the new I/O type to the protocol and gi

Seite 4

function again, and return the result converted to a number. That’s it! Now you can create multiple channels with the same I/O type and different

Seite 5 - Getting Started

Binary and fixed field protocols: But first, we should talk a little more about binary protocols. The protocols so far have been primarily ASCII pr

Seite 6 - New Ethernet:

Mid(datain,1,4) returns the 2nd through 5th characters, thus skipping the first code which should be 15, our command code echoed back to us. AscA(.

Seite 7 - The Monitor Window

installation directory. If it does not end in .ddp, or if it is not placed in the DAQFactory directory, it will not be loaded the next time you sta

Seite 8

Channel.AddValue(strDevice, 0,"Input",0, StrToDouble(Parse(DataIn,0,","))) Channel.AddValue(strDevice, 0,"Input"

Seite 9 - Using an existing protocol:

endif Of course you’ll need to set and clear the streamflag from somewhere. This can be done in the code that sends the stream start and stop comma

Seite 10

Advanced Communications The Poll() function in detail: Here is the script for the poll function with line numbers: 1 function Poll(string out, u

Seite 11

being over used, the port may not come available within the timeout specified in the port. In this case, LockPort() returns 0 and we throw an error

Seite 12

DAQFactory Serial / Ethernet Communications Guide DAQFactory for Windows, Version 5.34, July 18th, 2006. Copyright © 2001-2006 AzeoTech, Inc. All

Seite 13

Ethernet Primer Since an IT person may not be available, here is a quick explanation of Ethernet communications and IP addressing and a few pointer

Seite 14 - Mid(datain,1,4) returns the 2

4 billion computers directly connected to the Internet. Fortunately there are things called routers which allow you to connect multiple computers o

Seite 15

hardware devices. You have to have both the correct IP address and port to communicate with a device over Ethernet. One final discussion: static v

Seite 16

will probably not want to simply plug this device into your LAN. Instead, you should connect directly to the device with a crossover cable and assi

Seite 17

Overview DAQFactory can communicate with a wide variety of devices with serial (RS-232/422/485) and Ethernet connections. This guide explains how t

Seite 18 - Advanced Communications

port on your PC. For even more specialized devices, such as USB DAQ devices, the manufacturer should provide a DLL with functions you can call to

Seite 19

Getting Started Enough of the fine print on USB devices. Let’s start communicating with your device. The first step when trying to setup a new se

Seite 20 - Ethernet Primer

New Serial: 4) If you are doing a serial (RS-232, RS-422 or RS-485) connection: in the window that appears, give your comm port a name, then speci

Seite 21

The Monitor Window 6) Once you have created your new port, click on the port in the port list so there is a check next to it, and then click the mo

Seite 22

characters, put a backslash and the three digit code. For example, if you needed to send it “Give me data” and a carriage return, you would put: G

Seite 23

Mitsubishi uses a combined binary ASCII protocol, thus the combination of control codes (\002 and \003) and ASCII characters. For other devices or i

Kommentare zu diesen Handbüchern

Keine Kommentare