Mitsubishi RS232/485/LAN Serial Communication Control Uživatelská příručka

Procházejte online nebo si stáhněte Uživatelská příručka pro Software Mitsubishi RS232/485/LAN Serial Communication Control. Mitsubishi RS232/485/LAN Serial Communication Control User`s guide Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 23
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
AzeoTech
®
DAQFactory
®
Serial / Ethernet
Communications Guide
Zobrazit stránku 0
1 2 3 4 5 6 ... 22 23

Shrnutí obsahu

Strany 1 - Communications Guide

AzeoTech® DAQFactory® Serial / Ethernet Communications Guide

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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(.

Strany 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

Strany 8

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

Strany 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

Strany 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

Strany 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

Strany 12

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Komentáře k této Příručce

Žádné komentáře