Mitsubishi RS232/485/LAN Serial Communication Control Guia do Utilizador

Consulte online ou descarregue Guia do Utilizador para Software Mitsubishi RS232/485/LAN Serial Communication Control. Mitsubishi RS232/485/LAN Serial Communication Control User`s guide Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 23
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
AzeoTech
®
DAQFactory
®
Serial / Ethernet
Communications Guide
Vista de página 0
1 2 3 4 5 6 ... 22 23

Resumo do Conteúdo

Página 1 - Communications Guide

AzeoTech® DAQFactory® Serial / Ethernet Communications Guide

Página 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

Página 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

Página 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

Página 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

Página 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(.

Página 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

Página 8

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

Página 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

Página 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

Página 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

Página 12

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Comentários a estes Manuais

Sem comentários