MAXREFDES150#

MAXREFDES150# Datasheet


MAXREFDES150# Pocket IO PLC Development Platform

Part Datasheet
MAXREFDES150# MAXREFDES150# MAXREFDES150# (pdf)
PDF Datasheet Preview
System Board 6330

MAXREFDES150# Pocket IO PLC Development Platform

Two analog input channels ±12V, 24-bit ADC Two analog input channels ±24mA, 24-bit ADC Analog output channel 0V to ±12V, 16-bit DAC Eight digital input channels 36V max configurable for 61131-2 input types 1, 2, and 3 Eight digital output channels 640mA high-side switches or 640mA push-pull at 24V Two RS-485 COM ports half-duplex up to 42Mbps data rate Three DC-motor controllers 9V to 32V full-bridge DC-motor drivers, up to 2.5A peak motor current supplied by separate power supply Four IO-Link master ports with M12 female connectors Fully IO-Link version compliant TEConcept IO-Link master stack

Factory and process automation Building automation Robotic control Rapidly creating and prototyping new industrial control systems IO-Link sensors and actuators

MAXREFDES150# contents

Pocket IO MAXREFDES150MAIN# and MAXREFDES150LED# stacked in plastic case with Intel Edison Connector attach board MAXREFDES150ATACH# 40-pin female-female cable off USB A to micro-USB B AC-to-DC 24VDC, 1A power supply with adapters for regional outlets

Introduction

Maxim's new Pocket IO development platform is a reference design integrating a total of 30 IO's consisting of four analog inputs, one analog output, eight digital inputs, eight digital outputs, two RS485 Profibus-capable field busses , three encoder motor-control ports, and four masters. Maxim’s Pocket IO technology demonstration platform shows how analog integration can enable lower heat dissipation and faster throughput in a footprint that is less than ten cubic inches. Pocket IO connectivity is through USB or its own network. Code can be developed to run on the Edison using the popular and easy to use opensource IDE.

Detailed Description of Hardware

Pocket IO is the brand name for MAXREFDES150#. The MAXREFDES150# consists of three different boards. The overall system block diagram is shown in Figure

Figure MAXREFDES150# system block diagram.

The ICs for the main functional blocks are within the Pocket IO case the two boards are MAXREFDES150MAIN# and MAXREFDES150LED# while the connectors are on a separate board called MAXREFDES150ATACH# which connects to Pocket IO using two 40-pin cable assemblies.

The control program for Pocket IO runs on the Intel Edison board, which is mounted on the MAXREFDES150MAIN# board. Separate STM microcontrollers are used to support the IOLink masters TEConcepts stack and the DC-motor drivers.

Figure MAXREFDES150# power inputs. Connections The main functional blocks are on the two PCBs within the Pocket IO case while the connectors are on a separate board, called MAXREFDES150ATACH# shown in Figure

Figure MAXREFDES150ATACH#.

LED Indicators Figure 4 explains the functions of the LED indicators for MAXREFDES150#.

Figure Pocket IO LEDs.

Detailed Description of Software

When building up a quick application, or when prototyping some feature, the quickest and easiest way to program Pocket IO, is through the Arduino application. Though not a full-code development, debugging environment, the Arduino sketch technique has a lot to offer, including:

A familiar interface, instantly recognizable by many A full C/C++ compiler Access to many useful features built into the Linux OS resident in the Intel Edison processor Access to Pocket IO features through an included library Access to library updates as they become available With so much capability packed into one small enclosure, the interface to manage all this is crucial. Each of Pocket IO's 10 resources has its own API. Figure 5 shows the software architecture for Pocket IO using Arduino IDE to compile code to run on the onboard Intel Edison CPU.

Figure Pocket IO software architecture.

The following sections are details about API and some techniques, many Linux-specific, that enhance the capability of your applications.

Detailed Pocket IO API

Analog Input Pocket IO features two analog voltage inputs and two analog current inputs, all easily accessible through sketch. The voltage channels read anything between -12V and +12V whereas the current channels read anything between -24mA and +24mA. Pocket IO features a MAX11254 24-bit ADC featuring built-in two-point calibration compensation, which the API accommodates.

The API selects from among four channels, as follows:

Channel First Voltage Second Voltage First Current Second Current

API Mnemonic AI0 AI1 AI2 AI3

Attach Board Symbol AI0+/AI0AI1+/AI1AI2 AI2+/AI2AI3 AI3+/AI3-

Note The analog input and output circuitry grounds are isolated from the ground of the rest of Pocket IO. The AGND labels on the attach board indicate this separate analog ground. If you accidentally return an analog signal, either from one of the analog inputs or from the analog output, to the more common GND, there can be unexpected results.

Calibration

The following code snippet shows how to perform a two-point calibration. Commonly, the user locks in the calibration, so it does not need to be done again, and calibration rarely needs to be done. Calibration comes in handy when attaching further circuitry to the analog inputs, and accuracy is to be maintained ahead of this extra circuitry. Pocket IO comes factory-calibrated for best accuracy at the connection points of the attach board.

The code snippet uses port AI0 as an example, but the code is the same regardless of which port is being calibrated. Each channel keeps its own unique calibration parameters.
// Makes Pocket IO analog input API available
// #include

PioAi // Instances an analog input interface object
pioAi.init // Always needed for analog input pioAi.initCal AI0 //Commences calibration
* Put code here to apply +12 volts at the point of calibration
* if channel AI0 or channel AI1, or to apply +24mA if channel
* AI2 or AI3.
* * Do not proceed until the voltage or current is applied and * stable. */ pioAi.setFullCal AI0 // +12V or +24mA measured /* * Put code here to apply 0 volts or at the point of * calibration. * * Do not proceed until the voltage or current is applied and * stable. */ pioAi.setZeroCal AI0 // 0V or measured
delay 1000 // needed for ADC to calc corrections
More datasheets: IDT49FCT3805EQI | IDT49FCT3805DPYI | IDT49FCT3805EQI8 | IDT49FCT3805DPYI8 | IDT49FCT3805DQI8 | IDT49FCT3805DQI | LTST-E670SL | DCMM37SMF225 | DBMAM-25P | MB6022APC-0


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived MAXREFDES150# Datasheet file may be downloaded here without warranties.

Datasheet ID: MAXREFDES150# 647475