Brainboxes

ED-504 - Uncategorized Brainboxes - Free user manual and instructions

Find the device manual for free ED-504 Brainboxes in PDF.

📄 99 pages English EN Download 💬 AI Question
Notice Brainboxes ED-504 - page 6
Pick your language and provide your email: we'll send you a specifically translated version.

User questions about ED-504 Brainboxes

0 question about this device. Answer the ones you know or ask your own.

Ask a new question about this device

The email remains private: it is only used to notify you if someone responds to your question.

No questions yet. Be the first to ask one.

Download the instructions for your Uncategorized in PDF format for free! Find your manual ED-504 - Brainboxes and take your electronic device back in hand. On this page are published all the documents necessary for the use of your device. ED-504 by Brainboxes.

USER MANUAL ED-504 Brainboxes

Brainboxes Ethernet to Digital IO

Brainboxes ED-504 - Brainboxes Ethernet to Digital IO - 1

text_image effortless, wireless, communications on the move

Contents

1 Introduction....6

2 Before you start....7

2.1 Box Contents ....7

2.2 Requirements....7

Supported Operating Systems 7

System Requirements....8

Network Requirements....8

3 Hardware Features 9

3.1 ED Range – Industrial....9

3.2 ED Range – Light Industrial....9

3.3 Usability Features 10

3.4 Technical Specifications .... 10

Network connection....10

Power 10

3.5 Storage and Operating Environment Guidelines....10

LED indicators....11

3.6 Circuit Diagrams 11

ED-588 12

ED-516 12

ED-527 13

ED-538 13

ED-038 14

ED-008 14

ED-004 15

ED-204 15

ED-504 16

3.7 Pin Outs: 17

ED-516: 16 digital inputs....17

ED-527: 16 digital outputs....17

ED-538: 4 relays and 8 digital inputs .... 18

ED-588: 8 digital outputs and 8 digital inputs....18

ED-504: 4 Digital IO & RS232/422/485....18

3.8 Pinouts: 19

ED-004 19

ED-008 19

ED-038 19

ED-204 19

Terminal Block Connector Pinout (Light Industrial) 19

3.9 RS-232 Standard 20

3.10Device Dimensions 20

Industrial Devices 20

Light Industrial Devices 21

3.11 Reset Button 21

Manual Reboot 21

ED Range – Industrial 22

ED Range – Light Industrial 22

Relay Information (ED-538, ED-038 Only)....23

ED-538 23

ED-038 23

Firewall Exceptions and Port Numbers....24

4 Getting Started....25

4.1 Connecting your ED device 25

4.2 Configuring your device settings....26

5 Boost.IO Manager....27

5.1 Introduction 27

5.2 Installing Boost.IO Manager 27

5.3 Finding and Installing an ED device 28

5.4 COM Port Settings 30

Advanced COM Port Settings 32

TCP/IP Settings....32

5.5 Alternate Access Methods 33

5.6 Adding a Device by IP Address 33

5.7 Adding a Device by MAC Address....35

5.8 IP Addressing....37

5.9 Rebooting Device....38

5.10Restoring Factory Settings 38

5.11 Firmware Upgrade 39

5.12Proxy Server Settings 41

5.13Device Swapping 41

5.14 Adding a Remote Device Using Boost.IO 41

5.15 Remote Access 41

6 Web Configuration Pages 43

6.1 Introduction 43

6.2 Home page 43

6.3 Network page 46

6.4 Serial Port page 47

6.5 Protocol page 48

ASCII Protocol Settings....49

Serial Gateway 50

6.6 Console page 51

6.7 IO Lines page....52

6.8 Device Management page 55

6.9 Factory Default Settings....55

7 Configuration Tables....56

7.1 Baud Rate Settings (BB)......56

7.2 Data Format Settings (FF) 56

7.3 Digital Input/Output Data Characters Format 56

8 ASCII Protocol 57

8.1 Introduction 57

Command Format 57

Response Format....58

8.2 Command List....59

8.3 %AANNTTCCFF....60

8.4 #** 61

8.5 #AA00DD 62

8.6 #AA0ADD....63

8.7 #AA0BDD....64

8.8 #AA1cDD 65

8.9 #AAAcDD....66

8.10#AABcDD 67

8.11#AAN....68

8.12\$AA2 69

8.13\$AA4 70

8.14\$AA5 71

8.15\$AA6 72

8.16\$AAC....73

8.17\$AACN 74

8.18\$AAF 75

8.19\$AALS 76

8.20\$AAM 77

8.21\$AAS1....78

8.22\$AARS 79

8.23@AA....80

8.24@AA(Data)....81

8.25\~AAO(Name) 82

8.26\~** 83

8.27\~AA0 84

8.28\~AA1 85
8.29\~AA2 86
8.30\~AA3EVV 87
8.31\~AA4V 88
8.32\~AA5V 89
9 Worked Hardware Examples 90
9.1 Output to a Light Circuit....90
9.2 Switch Input Circuit 90
9.3 Digital Outputs: SINK 90
9.4 Digital Outputs: TTL Compatible....91
9.5 Turning ON Indicator Light....92
9.6 Turning ON Indicator Sounds 92
9.7 Digital Inputs: NPN/PNP Compatible....92
9.8 Digital Input/Output 94
9.9 Dry Contacts 94
9.10 Detecting Dry Contacts....95
9.11Dry Contact: PIR Detector 95
9.12 Sensors & Actuators 96
10 Lifetime Warranty and Support....97
11 Regulatory Approvals / Compliance 98
11.1 Company Accreditation....98
11.2Europe – EU Declaration of Conformity....98
11.3WEEE Directive (Waste Electrical and Electronic Equipment)....98
11.4 RoHS Compliance 99
12 Copyright....99

1 Introduction

The Brainboxes Ethernet to DIO products are a range of Ethernet devices controlled by a host computer which provide digital communication functions using Input, Output and Relay lines. The ED product range has Input and Output lines which are capable of driving high current and high voltage loads and are specifically designed for use in industrial process control and automation environments.

The ED range is designed and built on-site with close collaboration between the hardware and software teams to deliver a product that is both user-friendly and has plenty of functionality.

Brainboxes ED-504 - Introduction - 1

text_image brainboxes ED-588 Industrial Ethernet to DIO

Digital Input & # digital output

ED-558 brainboxes ED-538 Ied initial Ethernet to Digital Battery & Digital Input & 4 Power & Relays ED-538 brainboxes ED-527 Industrial Ethernet to DIO 16 Digital input ED-527 brainboxes ED-516 Industrial Ethernet to DIO 16 Digital input ED-516 ED-558

Fig 1.1. ED Range - Industrial

Brainboxes ED-504 - Digital Input & # digital output - 1

text_image ED-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD-008 EBD-008 EBD-008 EBD-008 EBD-008 EBD-008 EBD-008 EBD-008 EBD-008 EBD-008 EBD-008 EBD-008 EBD-008 EBD-008 EBD-008 ED-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD-204 EBD 1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.

Fig 1.2. ED Range – Light Industrial

2 Before you start

2.1 Box Contents

The following items are included with your product:

Ethernet Digital Input and/or Output/Relay Device (ED)

Boost.IO Installation CD including manual, Microsoft signed drivers and utilities

Quick Start Guide

Optional Items:

■ Global mains power supply unit - PW-600
USB port power supply – PW-650 – Ideal for powering your ED device from anywhere using your laptop

If any of the items are missing from your box or damaged in anyway please contact support@Brainboxes.com

2.2 Requirements

Supported Operating Systems

The Ethernet to DIO product range can be used in the following Microsoft Operating Systems with the supplied Boost.IO drivers:

■ Windows 10 32-bit
■ Windows 10 64-bit
■ Windows Server 2012
■ Windows 8.1 32-bit
■ Windows 8.1 64-bit
■ Windows 8 32-bit
■ Windows 8 64-bit
■ Windows 2008 R2
■ Windows 7 32-bit
■ Windows 7 64-bit
■ Windows Server 2008 32-bit
■ Windows Server 2008 64-bit
■ Windows Vista 32-bit
■ Windows Vista 64-bit
■ Windows Server 2003 32-bit
■ Windows Server 2003 64-bit
■ Windows XP 32-bit
■ Windows XP 64-bit
Windows 2000

Brainboxes ED-504 - Supported Operating Systems - 1

text_image Windows10

Compatible

Brainboxes ED-504 - Supported Operating Systems - 2

text_image Windows 8 Compatible

Brainboxes ED-504 - Supported Operating Systems - 3

text_image Windows®7

Brainboxes Boost.IO drivers have undergone extensive Microsoft testing with the ED range. Upon passing these tests, the drivers were signed by Microsoft, as an indication of their quality and stability.

System Requirements

Components: Microsoft .NET Framework 2.0 (installed automatically with Boost.IO package)

Windows Installer: Windows Installer 3.1 or later (Recommended)

Internet Explorer: If you are running Internet Explorer, then Internet Explorer 7.0 or later is required

Processor: 400 MHz Pentium processor or equivalent (Minimum); 1GHz Pentium processor or equivalent (Recommended)

RAM: 96 MB (Minimum); 256 MB (Recommended)

Hard Disk: Up to 500 MB of available space may be required

CD or DVD Drive: Not required

Display: 800 x 600, 256 colours (Minimum); 1024 x 768 high colour, 32-bit (Recommended)

Network Requirements

Ethernet network connection (wired).

3 Hardware Features

3.1 ED Range – Industrial

Brainboxes ED-504 - ED Range – Industrial - 1

text_image 8 Digital Outputs, Inputs or Relay Functional Earth contact to DIN rail Ventilation RS485 Gateway for NuDAM/ADAM Modules ED-588 Industrial Ethernet to DIO 8 Digital Input & 8 digital output Ethernet port ED-588 Integral snap-on DIN rail mount +5V to +30V Power supply Inputs Digital Outputs or Inputs

3.2 ED Range – Light Industrial

Brainboxes ED-504 - ED Range – Light Industrial - 1

text_image Ethernet Port Reset Hole +5V to +30V Power supply inputs Integral Wall Mounting Lugs LED Status Indication ETHERNET STATUS DVO ACTIVITY NETWORK POWER brainboxes ETHERNET TO REMOTE I/O ED-008 BxD/D/O DIGITAL I/O Variety of Inputs, Outputs, Relays and Serial on screw terminal pin connections

3.3 Usability Features

The ED range has been designed so that it is as easy as possible to wire up the input, output, relay, serial gateway and power wires to the terminal blocks and to connect the network cable:

Removable screw terminal blocks make installation easier and quicker.

Colour coded terminal blocks and ports prevent an incorrect connection. (Industrial only)

Individually numbered pins simplify the wiring and removes confusion. (Industrial only)

Smart Ethernet which automatically detects the polarity of the Ethernet connection so either a straight through or crossover Ethernet cable can be used.

Functional ground to DIN rail.

Can use the 5 Volt power from any computer USB port via the optional cable accessory PW-650.

3.4 Technical Specifications

Network connection

  • 10Base-T or 100Base-TX Ethernet connection
  • Standard 8P8C ("RJ45") socket connector
  • TCP/IP protocol stack
  • DHCP or static IP address
  • Automatic transmit/receive crossover detection
  • 1500V magnetic isolation

Power

  • Wide-range +5 to +30V DC 60mA@24V 1.4W Typical 120mA@24V 2.9W Max
  • Reverse voltage protected
  • ESD and surge protected
  • Earthing connection point

Brainboxes ED-504 - Power - 1

Caution - Do not attempt to operate this product with any other power supply/rating than that specified.

3.5 Storage and Operating Environment Guidelines

ED Range – IndustrialED Range – Light Industrial
Operating Temperature: -30^ to +80^ 0^ to +60^
Storage Temperature: -40^ to +85^ -40^ to +85^
Humidity:5% to 95% non-condensing
Housing:IP 30 rated non-conducting polyamide case with integrated DIN rail mount

LED indicators

There are 4 LED's on the ED devices representing the status, gateway, Ethernet link and the activity. The table below lists these LEDs, the colours of them and the meaning of the colours.

Status LEDGreenDevice Ready
Flashing YellowChanging Settings
Flashing between Red & GreenQuerying IP
Flashing Green and RedUser performing Hard Reset
Flashing between Green & Red/YellowIP address diagnostic
Flashing between Green & YellowInitialization diagnostic
GatewayFlashing RedRS-485 Comms error
Flashing GreenRS-485
Link LEDGreen light onNetwork Link Established
Flashing GreenNetwork Data RX/TX
ActivityFlashing GreenOutput set / Input Read
Flashing RedOutput overload

3.6 Circuit Diagrams

As long as you have the relevant jumper set to the 'NPN' position, you do not need an external power supply to use a contact switch. The NPN jumper position puts a pull-up resistor on the input so that you can just wire the switch between the input and ground.

For ED-588, ED-527, ED-516, ED-504, ED-538:

When in RS422/485 mode. There are biasing jumpers for Biasing (B+ and B-) and for Terminating Resistor (T).

These a factory default set in the ON position. (Biasing and Terminating Resistor Enabled). If these jumpers are in the PARK position, then Biasing and Terminating Resistor is Disabled.

ED-588
Brainboxes ED-504 - Circuit Diagrams - 1

flowchart
graph TD
    A["Ethernet interface"] --> B["Microcontroller"]
    B --> C["RS-485 interface"]
    C --> D["Power supply"]
    D --> E["+5V"]
    D --> F["+3.3V"]
    G["NPN"] --> H["PNP"]
    H --> I["+5V"]
    J["Din 0"] --> K["Diode"]
    L["Din 7"] --> M["Diode"]
    N["DOut 0"] --> O["Diode"]
    P["DOut 7"] --> Q["Diode"]

Default position
Brainboxes ED-504 - Circuit Diagrams - 2

text_image NPN PNP

NPN or PNP jumper position should be changed depending on the type of sensor/input.

Brainboxes ED-504 - Circuit Diagrams - 3

NPN or PNP jumper position should be changed depending on the type of sensor/input.

Brainboxes ED-504 - Circuit Diagrams - 4

NPN or PNP jumper position should be changed depending on the type of sensor/input.

PARK
Brainboxes ED-504 - Circuit Diagrams - 5

text_image T B- B+

ED-038
Brainboxes ED-504 - Circuit Diagrams - 6

flowchart
graph TD
    A["Ethernet interface"] --> B["Microcontroller"]
    C["Power supply"] --> D["V+"]
    C --> E["GND"]
    F["NPN PNP"] --> G["Din 0"]
    F --> H["Din 2"]
    F --> I["RL 0"]
    F --> J["RL 2"]
    B --> K["+5V"]
    D --> L["+3.3V"]
    G --> M["Ground"]
    H --> N["Ground"]
    I --> O["Ground"]
    J --> P["Ground"]

Default position
Brainboxes ED-504 - Circuit Diagrams - 7

text_image NPN PNP

NPN or PNP jumper position should be changed depending on the type of sensor/input.

ED-008

• NPN for NPN Input
- PNP for PNP Input
- Off for Output

Brainboxes ED-504 - Circuit Diagrams - 8

flowchart
graph TD
    A["Ethernet interface"] --> B["Micro-controller"]
    C["Power supply"] --> D["V+"]
    E["GND"] --> F["Ground"]
    G["NPN PNP"] --> H["+5V"]
    I["NPN PNP"] --> J["+5V"]
    K["D 0"] --> L["Diode"]
    M["D 7"] --> N["Diode"]
    O["+5V"] --> P["Resistor"]
    Q["+3.3V"] --> R["Resistor"]

Default position
Brainboxes ED-504 - Circuit Diagrams - 9

text_image NPN PNP

NPN or PNP jumper position should be changed depending on the type of sensor/input.

ED-004

• NPN for NPN Input
- PNP for PNP Input
- Off for Output

Brainboxes ED-504 - ED-004 - 1

flowchart
graph TD
    A["Ethernet interface"] --> B["Microcontroller"]
    C["TXD"] --> D["RS-232 interface"]
    E["RXD"] --> D
    F["RTS"] --> D
    G["CTS"] --> D
    H["V+"] --> I["Power supply"]
    J["GND"] --> I
    K["+5V"] --> L["NPN PNP"]
    M["+5V"] --> N["NPN PNP"]
    O["D 0"] --> P["Diode"]
    Q["D 3"] --> R["Diode"]
    S["Ground"] --> T["Ground"]

Default position
Brainboxes ED-504 - ED-004 - 2

text_image NPN PNP

NPN or PNP jumper position should be changed depending on the type of sensor/input.

ED-204

• NPN for NPN Input
- PNP for PNP Input
- Off for Output

Brainboxes ED-504 - ED-204 - 1

flowchart
graph TD
    A["Ethernet switch"] --> B["Microcontroller"]
    B --> C["RS-232 interface"]
    C --> D["Power supply"]
    D --> E["GND"]
    F["TXD"] --> C
    G["RXD"] --> C
    H["RTS"] --> C
    I["CTS"] --> C
    J["V+"] --> D
    K["GND"] --> D
    L["+5V"] --> M["NPN PNP"]
    M --> N["D 0"]
    O["+5V"] --> P["NPN PNP"]
    P --> Q["D 3"]

Default position
Brainboxes ED-504 - ED-204 - 2

text_image NPN PNP

NPN or PNP jumper position should be changed depending on the type of sensor/input.

ED-504

• NPN for NPN Input
- PNP for PNP Input
- Off for Output

Brainboxes ED-504 - ED-504 - 1

flowchart
graph TD
    A["Ethernet switch"] --> B["Micro-controller"]
    B --> C["RS-232 interface"]
    C --> D["Power supply"]
    D --> E["GND"]
    F["NPN PNP"] --> G["D 0"]
    H["NPN PNP"] --> I["D 3"]
    J["TXD"] --> C
    K["RXD"] --> C
    L["RTS"] --> C
    M["CTS"] --> C
    N["V+"] --> D
    O["GND"] --> D
    P["+5V"] --> Q["Diode +5V"]
    R["+5V"] --> S["Diode +5V"]

Default position
Brainboxes ED-504 - ED-504 - 2

text_image NPN PNP

NPN or PNP jumper position should be changed depending on the type of sensor/input.

Brainboxes ED-504 - ED-504 - 3

Functional Ground is the EARTH connection through the DIN rail that the ED-5xx and ES-5xx is attached to. This Functional Ground (EARTH) on the ED-5xx is on PIN 5 of the BLACK power connector. It is directly connected to the FUNCTIONAL EARTH metal tab on the DIN rail clip. Thus the FUNCTIONAL EARTH electrically connects the metal DIN rail to PIN 5 of the BACK power Connector. The customer can choose to wire or not wire to PIN 5 on the Black power input.

Power Ground is the low side (0V) of the power input. The GND on the schematic is connected directly to PIN 1 and PIN 4 of the BLACK power input connector and is thus connected to the low side of the customers power supply.

Signal Ground is applicable to those ED/ES products which have a serial gateway or serial port. (ES-020/357/246/257/701/279/313/320/368/842 and ES-5xx range) This is the ground associated with the data transmission signals- it is typically connected to the cable sheath. It is important to connect this even in twisted pair situations.

ED-516: 16 digital inputs

Type of PortTerminal BlockPin 1Pin 2Pin 3Pin 4Pin 5
Digital InYellow-VDIn 0DIn 1DIn 2DIn 3
Digital InOrange-VDIn 4DIn 5DIn 6DIn 7
ExpansionGreySIG GNDRS-485 D-RS-485 D+RS-485 D+RS-485 D-
Digital InGreen-VDIn 8DIn 9DIn 10DIn 11
Digital InBlue-VDIn 12DIn 13DIn 14DIn 15
PowerBlack-V+VA+VB-VFunc. GND

ED-527: 16 digital outputs

Type of PortTerminal BlockPin 1Pin 2Pin 3Pin 4Pin 5
Digital OutYellow-VDOut 0DOut 1DOut 2DOut 3
Digital OutOrange-VDOut 4DOut 5DOut 6DOut 7
ExpansionGreySIG GNDRS-485 D-RS-485 D+RS-485 D+RS-485 D-
Digital InGreen-VDOut 8DOut 9DOut 10DOut 11
Digital InBlue-VDOut 12DOut 13DOut 14DOut 15
PowerBlack-V+VA+VB-VFunc. GND

ED-538: 4 relays and 8 digital inputs

Type of PortTerminal BlockPin 1Pin 2Pin 3Pin 4Pin 5
Relay OutYellowRL 0 COMRL 0 N/ORL 1 COMRL 1 N/O-
Relay OutOrangeRL 2 COMRL 2 N/ORL 3 COMRL 3 N/O-
ExpansionGreySIG GNDRS-485 D-RS-485 D+RS-485 D+RS-485 D-
Digital InGreen-VDIn 0DIn 1DIn 2DIn 3
Digital InBlue-VDIn 4DIn 5DIn 6DIn 7
PowerBlack-V+VA+VB-VFunc. GND

ED-588: 8 digital outputs and 8 digital inputs

Type of PortTerminal BlockPin 1Pin 2Pin 3Pin 4Pin 5
Digital OutYellow-VDOut 0DOut 1DOut 2DOut 3
Digital OutOrange-VDOut 4DOut 5DOut 6DOut 7
ExpansionGreySIG GNDRS-485 D-RS-485 D+RS-485 D+RS-485 D-
Digital InGreen-VDIn 0DIn 1DIn 2DIn 3
Digital InBlue-VDIn 4DIn 5DIn 6DIn 7
PowerBlack-V+VA+VB-VFunc. GND

ED-504: 4 Digital IO & RS232/422/485

Type of PortTerminal BlockPin 1Pin 2Pin 3Pin 4Pin 5
RS232YellowSIG GNDCTSRXDRTSTXD
RS422YellowSIG GNDRXD-RXD+TXD+TXD-
RS485YellowSIG GNDDATA+DATA-
Digital IOGreen-VDIO 0DIO 1DIO 2DIO 3
PowerBlack-V+VA+VB-VFunc. GND

3.8 Pinouts:

ED-004

Pin12345678910
PortRS232Digital I/O
OutTxDRxDRTSCTSSIG GNDDIO 3DIO 2DIO 1DIO 0-V

ED-008

Pin12345678910
PortDigital I/O
OutDIO 7DIO 6DIO 5DIO 4-VDIO 3DIO 2DIO 1DIO 0-V

ED-038

Pin12345678910
PortFORM A RELAYDigital In
OutCOM 2NO 2COM 1NO 1COM 0NO 0DIO 2DIO 1DIO 0-V

ED-204

Pin12345678910
PortRS232Digital I/O
OutTxDRxDRTSCTSSIG GNDDIO 3DIO 2DIO 1DIO 0-V

Terminal Block Connector Pinout (Light Industrial)

Brainboxes ED-504 - Terminal Block Connector Pinout (Light Industrial) - 1

text_image 1 2 3 4 5 6 7 8 9 10

3.9 RS-232 Standard

The RS-232 standard was introduced in 1962, it is now widely established. RS-232 is a slow speed, short distance, single ended transmission system (i.e. only one wire per signal). Typical RS-232 maximum cable length is 50 feet.

3.10 Device Dimensions

Industrial Devices
Brainboxes ED-504 - Device Dimensions - 1

text_image 102.0mm 22.5mm 128.8mm

Light Industrial Devices
Brainboxes ED-504 - Device Dimensions - 2

text_image 26mm 96.9mm 77.5mm

3.11 Reset Button

Manual Reboot

1) Press the reset button once.
2) The status LED will flash and after 5 seconds the device will reboot.
3) When the device is restarted, any connections you have had to the COM ports will need to be re-established.

Manual Hard Restore

1) Press and hold the reset button on the device for 5 seconds.
2) The status LED will flash red/green and the device will be restored to factory default settings. For the factory settings, see Factory Default Settings section.

3.12 Input/Output Specification

ED Range – Industrial

Inputs: ED-588, ED-516, ED-538
NPN/PNPOne jumper configures all inputs as either pull up for NPN, active low, type sensors or pull down for PNP, active high, type sensors
Logic Level 00V to +1V maximum
Logic Level 1+3.5V to 30V maximum
Latched InputsTriggered by user programmable positive or negative edges, stays true until acknowledged
Counter InputsUser programmable – counts positive or negative transitions 0-65335
Outputs: ED-588, ED-527
Maximum output currentSinks up to 1Amp per pin 40V max loadMax combined load 4.0 Amps per ED device
CharacteristicOpen drain output, protected MosFET with intelligent short circuit protection up to 36VOver temperature shutdown: 175°C typical 150°C min
Maximum output load Voltage40V
ESD Protection16kV

ED Range – Light Industrial

Inputs: ED-008, ED-038
NPN/PNPOne jumper configures each input as either pull up for NPN, active low, type sensors or pull down for PNP, active high, type sensors
Logic Level 00V to +1V maximum
Logic Level 1+3.5V to 30V maximum
Latched InputsTriggered by user programmable positive or negative edges, stays true until acknowledged
Counter InputsUser programmable – counts positive or negative transitions 0-65335
Outputs: ED-008
MaximumSinks up to 0.85Amp per pin 30V max load
outputMax combined load 4.0 Amps per ED device
current
CharacteristicOpen drain output, protected MosFET with intelligent short circuit protection
Maximum30V
output load
Voltage
ESD Protection16kV

Relay Information (ED-538, ED-038 Only)

A relay is an electrically operated switch used to control a circuit by a low power signal giving complete electrical isolation between the control and the controlled circuits. Relays are often used where several circuits must be controlled by one signal.

Relay Outputs Brainboxes ED-504 - Relay Information (ED-538, ED-038 Only) - 1
Relay TypeForm A (SPST-NO: Single Pole Single Throw, Normally Open)When power is removed from the ED-538/ED-038, the relay is open
Contact Rating5A @ 30VDC5A @ 250VAC
Contact Resistance100mΩ max. (at 1A 24VDC)
Relay Endurance100,000 operations at 3A, 30 operations/min, resistive AC load50,000 operations at 5A, 20 operations/min, resistive AC load

Each relay requires 2 terminal pins:

Pin 1 is COMMON and Pin 2 is NORMALLY OPEN.

The configuration and status of the relays can be viewed in the devices webpage.

ED-538

Terminal BlockPin 1Pin 2Pin 3Pin 4Pin 5
YellowRL 0 COMRL 0 N/ORL 1 COMRL 1 N/O-
OrangeRL 2 COMRL 2 N/ORL 3 COMRL 3 N/O-

ED-038

Pin 1Pin 2Pin 3Pin 4Pin 5Pin6
COM 3NO 3COM 2NO 2COM 1NO 1
Relay 3Relay 2Relay 1

Firewall Exceptions and Port Numbers

When using the ED Devices with a firewall you may need to manually add the exception entries and port numbers to the firewall list.

Below are the default port numbers and the firewall exceptions.

Program NameDefault Port Number
Device Web Server80
TCP Port9500
Firmware Upgrade67 (BOOTP Server)68 (BOOTP Client)69 (TFTP Port)

Default Windows Firewall Exception entries:

Brainboxes Boost.IO Suite

Brainboxes Boost.IO Suite (Device Discovery)

(Except Windows XP32 & 64 bits)

UPnP Framework (Windows XP32 & 64 bits)

Network Discovery (Windows 7 or later)

4 Getting Started

4.1 Connecting your ED device

  1. Connect the ED device to your local network using an Ethernet cable and plug into the Ethernet port connection on the device. The ED Ethernet port will automatically detect the polarity of the Ethernet connection so either a straight through or crossover Ethernet cables can be used.

  2. Connect a suitable power supply to the ED removable power terminal block.

The optional PW-600 power supply allows the device to be plugged into a standard power socket. Alternatively, the device can be plugged into any USB using the optional PW-650 power cable. ED devices require a power supply providing a minimum of 1.1 watts with an output voltage between +5VDC and +30VDC.

ED Industrial Range

Brainboxes ED-504 - Connecting your ED device - 1

The ED device is fully operational when only one power supply is attached. When only one power supply is being used connect the positive terminal of the power supply to either +VA or +VB pin and the negative terminal to one of the GND pins.

Two separate sets of power supply inputs terminals are available; one to +VA and GND and the other to +VB and GND providing redundancy when both are connected. The higher voltage of the two power supplies is selected by the device and in the event of a failure the other supply automatically takes over to keep the device running. The status of the two power supply inputs can be monitored visually via a browser from the ED devices home page and also programmatically.

ED – Light Industrial

POWER TERMINAL PIN OUTS
PIN123
FUNCTIONV +V -Earth/Chassis GND

Brainboxes ED-504 - Connecting your ED device - 2

  1. On connecting to the network, the device automatically checks if it is connected to a DHCP Server. If this is the case, the DHCP server will allocate an IP address automatically to the ED device.

  2. If no DHCP Server is detected (e.g. you have the ED device plugged directly into the PC), the ED device will default to an IP address of 192.168.127.254 after 60 seconds. If connecting directly to a PC, make sure the PC is on the same 192.168.127.xxx subnet in order to find your device.

  3. The LED's will flash when the power is first applied. When the status LED turns a steady green (after 5-60 seconds) the device is ready to use.

Make a note of device MAC address (on the side of the ED device, 00-0A-4F-XX-XX) as you will need it to identify the device on your network later.

4.2 Configuring your device settings

There are three methods to view and configure your Ethernet to DIO device. Which method to use depends on personal preference and convenience.

■ Boost.IO Manager: This is the Windows application that is installed initially to find the device and install the COM port drivers if required. Configuring from here is the recommended option for ease and convenience, as it centralises all Ethernet to DIO devices in one window. However, not all of the settings of the ED device can be configured from the Boost.IO Manager. See Section 5 for information about Boost.IO Manager.
■ Web Page Interface: This allows the Ethernet to DIO device to be accessed from any PC within your network as it does not require Boost.IO Manager. Unlike Boost.IO Manager, every setting can be configured using the web configuration pages. See Section 6 for more information about the web page interface.
ASCII Protocol: The ASCII protocol is a query-response communication protocol which can be used to set all of the protocol settings of the device, send and read data, and get status information from the devices. To send the commands and receive responses a connection to the device needs to be set up. This can be done using either a TCP connection or through the COM port.

5 Boost.IO Manager

5.1 Introduction

Boost.IO Manager is a graphical user interface application which will allow you to find your Brainboxes ED device on a network and then configure some of the settings in Windows. As part of the Boost.IO application a COM port can be installed which allows communication with the device using the ASCII protocol.

Boost.IO Manager is not required if you want to communicate with the device using just the IP address or if you want to configure the device only using the web configuration pages.

Boost.IO Manager can be found on the CD that was packaged with your device.

5.2 Installing Boost.IO Manager

Insert the CD into your PC

Browse the contents of the CD and locate the "Setup" program on the CD and double click to launch. Proceed to Step 3.

Click 'Install' to launch the Boost.IO setup program.

Follow the on screen instructions to install the Boost.IO application.

Brainboxes ED-504 - Installing Boost.IO Manager - 1

text_image Welcome to the Brainboxes Boost.IO Suite 1.0 Setup Wizard The installer will guide you through the steps required to install Brainboxes Boost.IO Suite 1.0 on your computer. WARNING: This computer program is protected by copyright law and international treaties. Unauthorized duplication or distribution of this program, or any portion of it, may result in severe civil or criminal penalties, and will be prosecuted to the maximum extent possible under the law.

Once the installation process is complete you will see the setup wizard now says "Installation Complete" and there will be a Boost.IO Manager icon on your desktop.

Brainboxes ED-504 - Installing Boost.IO Manager - 2

text_image Brainboxes Boost.IO Suite 1.0 Installation Complete Brainboxes Boost.IO Suite 1.0 has been successfully installed. Click "Close" to exit. Please use Windows Update to check for any critical updates to the .NET Framework. Cancel < Back Close

5.3 Finding and Installing an ED device

When using the ED device with Boost.IO Manager a COM port can be installed which allows the user to send ASCII commands to the device using a COM port connection.

  1. Open Boost.IO Manager by double clicking the Boost.IO Manager icon on your desktop.
  2. Click 'File' > 'Find Devices' to search for devices on the network (or press F5). This will find any ED devices on the same subnet as your PC. If your device is on a different subnet, please see the section entitled "Adding a Device by IP Address".

Brainboxes ED-504 - Finding and Installing an ED device - 1

text_image Boost.IO Manager File Tools View Help Find Devices F5 Exit To search for devices, click File and select 'Find Devices' on the menu or press F5. Then select a device on the right panel. Idle 0 device found.
  1. Once the search is complete, all the devices that have been found on the network will be displayed in the main window of Boost.IO Manager. When you select a device, the information and settings options for that device will appear in the left column.

  2. You can identify your ED device by matching the MAC address in the left panel of Boost.IO Manager with the MAC address on the sticker of your ED device's case.

Brainboxes ED-504 - Finding and Installing an ED device - 2

text_image Boost.IO Manager File Tools View Help Device Info Name: ED-588 Click here to change device name Model: ED-588 IP Address: 192.168.0.130 Change MAC Addr: 00:0A:4F:05:17:B7 Firmware: 2.52 Tasks Locate Device Install Device Other Tasks Reboot Device Restore Factory Settings Firmware Upgrade Online - Device Not Installed ED-588 ED-588 192, 168.0, 130 Driver Not Installed Idle 1 device online
  1. When you have found your device in Boost.IO Manager, in the left panel under 'Tasks' click 'Install Device'.

Brainboxes ED-504 - Finding and Installing an ED device - 3

text_image Boost.IO Manager File Tools View Help Device Info Name: ED-588 Click here to change device name Model: ED-588 IP Address: 192.168.0.130 Change MAC Addr: 00:0A:4F:05:17:B7 Firmware: 2.52 COM Ports Double click on the COM port to configure. Port No. COM Type Port 1 I/O Tasks Locate Device Remove Device Online - Device Not Installed ED-588 ED-588 192.168.0.130 Installing driver... Idle 1 device online
  1. The driver for the device will be installed and, when complete, the icon in Boost.IO Manager will have a blue tick next to it and the status will be 'Ready'.

Brainboxes ED-504 - Finding and Installing an ED device - 4

text_image Boost.IO Manager File Tools View Help Device Info Name: ED-588 Click here to change device name Model: ED-588 IP Address: 192.168.0.130 Change MAC Addr: 00:0A:4F:05:17:B7 Firmware: 2.52 COM Ports Double click on the COM port to configure. Port No. COM Type Port 1 COM8 I/O Tasks Locate Device Remove Device Online - Device Installed ED-588 ED-588 192.168.0.130 Ready Idle 1 device online ...
  1. There will now be a COM Ports section in the left panel which allows you to change the settings of the installed COM Port such as baud rate and COM label. For details on how to do this please see the COM Port Settings section.

5.4 COM Port Settings

To change the COM Port settings of an installed ED device, follow the steps below.

  1. Open Boost.IO Manager, if it is not already open, by clicking the Boost.IO icon on your desktop.
  2. Select the installed device which you want to configure by clicking on it.
  3. In the left panel find the 'COM Ports' section and double click on the port which you want to configure.

Brainboxes ED-504 - COM Port Settings - 1

text_image COM Ports Double click on the COM port to configure. Port No. COM Type Port 1 COM8 I/O
  1. You will then see the port properties dialog box. Click on the 'Port Settings' tab, then click the 'Configure Settings.' button.

Brainboxes ED-504 - COM Port Settings - 2

text_image Brainboxes RS-232 Serial Port (COM6) Properties General Port Settings Driver Details Events brainboxes Default / Override Settings The followings setting will be applied when the port is opened. Serial Port Status: Idle Current Port Mode: RS232 Baud Rate: 9600 Data Bits: 8 Parity: None Stop Bits: 1 Flow Control: None Configure Settings... CTS Always True - hardware state ignored: DSR Always True - hardware state ignored: Need More Help? Click: ? Advanced... Restore Default OK Cancel
  1. A webpage will be opened which allows you to configure all of the devices settings. For more information on configuring the device using the web configuration pages please see section 7. Web Configuration Pages

CTS Always True

- CTS is an incoming hardware handshaking line. This means it receives a signal from the connected device which tells the ED device when it is and isn't OK to send data out the RS232 port.

Sometimes these signals may want to be ignored. By forcing CTS True, the ED device will ignore those signals and always send data.
These settings are especially helpful when CTS is not physically connected (such as in a 3 wire setup) and it is not acceptable for the data flow to stop and start due to arbitrary variances on the unconnected signal lines.

Advanced COM Port Settings

From the Port Settings tab, you can get to the advanced settings for the COM port by clicking the 'Advanced...' button. This will open another dialog window allowing you to change the advanced settings for the COM port.

Brainboxes ED-504 - Advanced COM Port Settings - 1

text_image Advanced Settings for COM8 Properties Port Settings | TCP/IP Settings | About | brainboxes COM Number Change selection to use a different COM number for this port. COM Port Number: COM8 COM8 COM9 (in use) COM10 COM11 (in use) COM12 COM13 COM14 (in use) COM15 COM16 COM17 COM18 COM19 Information Interface Type: Receive FIFO Size: Transmit FIFO Size: Maximum Baud Rate: Port Accessible When Device is Offline Need More Help? Click: ? OK Cancel

COM Number

The COM Port Number is changed using the drop down box on this page. Click the drop down box and select a COM Port Number from the list. If the COM Port number is labelled "in use", it is either currently used by a COM Port present on the system, or is reserved for a device which is not currently present. It is possible to select this COM number and force the change if you are sure it is not required by any other device. Click the 'OK' button to apply the changes.

Port Accessible When Device is Offline

With ED devices being connected through a network, whenever a device is unplugged the device will go offline in Boost.IO Manager and any COM ports that are installed will become unavailable. By ticking this checkbox, it will keep the COM port available to use the port, even if the ED device is offline. This is useful if the device is being used in an application that requires a constant connection to a COM port.

TCP/IP Settings

Under the 'TCP/IP Settings' tab is information about the ED device. There is also a connection attempt timeout field. This value is the time that the driver will attempt to connect to the device COM port before giving up. For example, if this value is set at 5 seconds, the driver will attempt to connect to the COM port for 5 seconds. If no connection could be made after 5 seconds, then the driver will stop attempting to connect.

If this value is set to 0, the driver will attempt to connect without ever giving up.

Brainboxes ED-504 - TCP/IP Settings - 1

text_image Advanced Settings for COM8 Properties Port Settings | TCP/IP Settings | About | MAC Address: 00:0A:4F:05:17:B7 Remote Device IP Address : 192.168.0.116 Remote TCP Port Number : 9500 Connection Attempt Timeout (1-20) : 0 seconds Need More Help? Click: ? Restore Defaults OK Cancel

5.5 Alternate Access Methods

There are three methods to view and configure your Ethernet Device once it's installed on the target PC. Which method to use depends on personal preference and convenience.

NB: Only certain settings can be configured using the Web Page Interface

■ Boost.IO Manager: This is the application that is installed initially to find the device and install the COM port drivers. Configuring from here is the recommended option for ease and convenience, as it centralises all ED devices.
■ Windows Device Manager: This is the standard Windows Control Panel that allows users to view and control all hardware attached to a computer. The ED devices ports can be configured from here also.
■ Web Page Interface: This allows the ED device to be accessed from any PC within your network as it does not require Boost.IO Manager. Configuration from here is recommended for socket based applications only.

5.6 Adding a Device by IP Address

You may already know the IP address of the device that you are using. This might be because the device has had an IP address reserved for it by a system administrator or you are remotely connecting to the device. Using the IP address of the device, you can add it manually into Boost.IO Manager.

  1. Open Boost.IO Manager by clicking the icon created on the desktop when the application was installed.

  2. Select 'Tools' and then click 'Add Device Manually'.

Brainboxes ED-504 - Adding a Device by IP Address - 1

text_image File Tools View Help Add Device Manually Alt+A Manual Upgrade
  1. Enter the IP address and port number of the device into the Device IP Address box the click the 'Next' button.

Brainboxes ED-504 - Adding a Device by IP Address - 2

text_image Add Device Manually - Step 1 of 2 There are two methods to add a device into Boost.IO Manager, either using the device's IP address or the device's MAC address. Important Note: If the device is on a different network or behind a firewall - like for example when accessing the device from the internet - port forwarding is required. Please contact your network administrator to setup port forwarding. Add device by IP address Device IP Address: 192 . 168 . 0 . 130 Device Port Number: 80 Add device by MAC address Device MAC Address: 00 : 0A : 4F : 00 : 00 : 00 Next Cancel
  1. Enter the ASCII Protocol Port number into box. The default Port Number is 9500.

Brainboxes ED-504 - Adding a Device by IP Address - 3

text_image Add Device Manually - Step 2 of 2 Important Note: If the device is on a different network or behind a firewall port forwarding is required. Please enter the "forwarded port number" for each port of the device below, then press 'Add'. If this is not required, just press 'Add' to accept the default values. IP Address: 192.168.0.130 Open Device Web Page Web Port Number: 80 ASCII Protocol Port: 9500 Add Cancel
  1. Click 'Add' and the device will be added to the Boost.IO Manager window.

5.7 Adding a Device by MAC Address

A device can be added into Boost.IO Manager by entering the MAC address. The MAC address of a device can be found on the sticker of the device. Follow the instructions below to add the device using the MAC address.

Open Boost.IO Manager by clicking the icon created on the desktop when the application was installed.

Select 'Tools' and then click 'Add Device Manually'.

Brainboxes ED-504 - Adding a Device by MAC Address - 1

text_image File Tools View Help Add Device Manually Alt+A Manual Upgrade

Select the 'Add device by MAC address' radio button then enter the MAC address of your device.

Add Device Manually - Step 1 of 2

Brainboxes ED-504 - Add Device Manually - Step 1 of 2 - 1

Brainboxes ED-504 - Add Device Manually - Step 1 of 2 - 2

There are two methods to add a device into Boost.IO Manager, either using the device's IP address or the device's MAC address.

Important Note:

If the device is on a different network or behind a firewall - like for example when accessing the device from the internet - port forwarding is required. Please contact your network administrator to setup port forwarding.

Brainboxes ED-504 - Important Note: - 1

Add device by IP address

Device IP Address:

Brainboxes ED-504 - Important Note: - 2

Device Port Number:

Brainboxes ED-504 - Important Note: - 3

Brainboxes ED-504 - Important Note: - 4

Add device by MAC address

Device MAC Address:

Brainboxes ED-504 - Important Note: - 5

Next

Cancel

Enter the MAC address of your device into the text box and click the 'Next' button.

Add Device Manually - Step 2 of 2

Brainboxes ED-504 - Add Device Manually - Step 2 of 2 - 1

Brainboxes ED-504 - Add Device Manually - Step 2 of 2 - 2

Important Note:

If the device is on a different network or behind a firewall port forwarding is required. Please enter the "forwarded port number" for each port of the device below, then press 'Add'.

If this is not required, just press 'Add' to accept the default values.

IP Address: 192.168.0.130

Open Device Web Page

Web Port Number: 80

ASCII Protocol Port:

9500

Brainboxes ED-504 - Important Note: - 1

Add

Cancel

5.8 IP Addressing

The IP address settings can be easily changed using Boost.IO Manager.

  1. Click on the device of which you want to change the settings.
  2. In the 'Device Info' section on the left hand side, click the 'Change' link next to the current IP address.
  3. Click 'OK' to confirm that you do want to change the IP address of your device

Brainboxes ED-504 - IP Addressing - 1

text_image Confirm IP Address Change Do you really want to change device network IP address? OK Cancel
  1. Select the 'Assign Static IP Address' radio button and enter an IP Address, Subnet Mask and Gateway Address then click 'Apply'.

Brainboxes ED-504 - IP Addressing - 2

text_image Network IP Address Settings Current IP Address is 192.168.0.112(DHCP) If you want to change Network Address of the device, please select the following options and click "Apply". Obtain IP Address Automatically (Use DHCP) Assign Static IP Address (Recommended) IP Address: 192 . 168 . 127 . 254 Mask: 255 . 255 . 255 . 0 Gateway: 0 . 0 . 0 . 0 Apply Cancel
  1. The ED device will reboot itself and have the new IP address once it has booted back up.

5.9 Rebooting Device

Note: Please ensure your device is not in operation before rebooting it to prevent data loss.

To reboot your device, firstly open Boost.IO Manager and select the device you wish to reboot.

On the left side of Boost.IO Manager under the 'Other Tasks' section, click 'Reboot Device'.

Brainboxes ED-504 - Rebooting Device - 1

text_image Boost.IO Manager File Tools View Help COM Ports Double click on the COM port to configure. Port No. COM Type Port 1 COM8 I/O Tasks Locate Device Remove Device Other Tasks Import Device Settings Export Device Settings Reboot Device Restore Factory Settings Firmware Upgrade Online - Device Installed ED-588 ED-588 192.168.0.116 Ready Confirm restart/reboot Do you really want to restart/reboot the device? OK Cancel Idle 1 device online

Confirm that you want to reboot your device.

The device will then reboot. Once the LED's on the device are green it is ready to use again.

5.10 Restoring Factory Settings

Note: Restoring the Factory Settings will erase any current settings that you have on your ED device. Please ensure your device is not in operation before rebooting it to prevent data loss.

  1. To restore the factory settings of your device, open Boost.IO Manager and select the device which you want to restore.
  2. On the left side of Boost.IO Manager, under the 'Other Tasks' section, click the 'Restore Factory Settings' link.

Brainboxes ED-504 - Restoring Factory Settings - 1

text_image Boost.IO Manager File Tools View Help Firmware: 2.03 COM Ports Double click on the COM port to configure. Port No. COM Type Port 1 COM8 I/O Tasks Locate Device Remove Device Other Tasks Import Device Settings Export Device Settings Reboot Device Restore Factory Settings Firmware Upgrade Online - Device Installed ED-588 ED-588 192.150.0.116 Ready Confirm Restore Factory Settings Do you really want to restore factory settings of the device? OK Cancel Idle 1 device online
  1. Confirm that you want to restore factory settings of the ED device.

  2. The device will be rebooted and the factory settings will be restored.

5.11 Firmware Upgrade

Note: Before upgrading your firmware, please ensure your device is not in operation.

Open Boost.IO Manager and select your device in the window.

On the left side of Boost.IO Manager, under the 'Other Tasks' section, click the 'Firmware Upgrade' link.

When the message box appears confirm that you have selected the correct device. If you wish to restore the device to default settings click the tick option and then click 'Upgrade'. Otherwise just click 'Upgrade'

Brainboxes ED-504 - Firmware Upgrade - 1

text_image Please confirm upgrading firmware Do you really want to upgrade the firmware of this ED-588? IP Address: 192.168.0.116 MAC Address: 00:0A:4F:05:17:B7 Current Firmware: 2.03 Restore device to default settings during upgrade. Upgrade Cancel

Navigate to the location that saved the new firmware efw file and open it.

Brainboxes ED-504 - Firmware Upgrade - 2

text_image Please select firmware file for ED-588 Organize New folder Favorites Desktop Name Data modified Type Size ED Firmware for 8x Digital Input and 8x Digital Output IO Range (Rev2) V1_54 (ED-588Rev2).efw 30/05/2013 13:55 EFW File 223 KB File name: ED Firmware for 8x Digital Input and 8x Digital Output IO Range (Rev2) V1_54 (ED-588Rev2).efw Encrypted Firmware Files (*.efw Open Cancel

The ED device will be upgraded with the firmware file you selected and then will reboot.

Brainboxes ED-504 - Firmware Upgrade - 3

text_image Upgrading Firmware... Please do not turn off your ED-588 Device or Application during the upgrading process. Please wait while upgrading firmware......

Click 'OK' when the upgrade success dialog box appears.

Brainboxes ED-504 - Firmware Upgrade - 4

text_image Upgrade Success Firmware upgrade completed successfully. OK

5.12 Proxy Server Settings

If you have a proxy server enabled on your PC this will restrict access to the web page interface. You may need to add the ED device to the Proxy Server's exceptions list. If you need help doing this contact your network administrator.

5.13 Device Swapping

In the unlikely event of a device failing, it can be easily replaced by swapping it with a device which has the same IP address. This is particularly useful when using a large number of ED devices together which have already been installed and setup and are already communicating with peripherals. The faulty device can be replaced without having to set up and install a new device. To set the device to the same IP address use the web page interface or Boost.IO to set the IP address to the static address of the device you are replacing.

5.14 Adding a Remote Device Using Boost.IO

  1. To access the device through Boost.IO go to Tools and then click 'Add Device Manually'.
  2. Enter the public IP address of your router into the Device IP Address field, and the port forwarding number into the Device Port Number field.
  3. Click the 'Next' button.

Brainboxes ED-504 - Adding a Remote Device Using Boost.IO - 1

text_image Add Device Manually - Step 1 of 2 There are two methods to add a device into Boost.ID Manager, either using the device's IP address or the device's MAC address. Important Note: If the device is on a different network or behind a firewall - like for example when accessing the device from the internet - port forwarding is required. Please contact your network administrator to setup port forwarding. Add device by IP address Device IP Address: 192 , 168 , 127 , 254 Device Port Number: 80 Add device by MAC address Device MAC Address: 00 : 0A : 4F : 00 : 00 : 00 Next Cancel

Brainboxes ED-504 - Adding a Remote Device Using Boost.IO - 2

text_image Add Device Manually - Step 2 of 2 Important Note: If the device is on a different network or behind a firewall port forwarding is required. Please enter the "forwarded port number" for each port of the device below, then press 'Add'. If this is not require, just press 'Add' to accept the default values. If you are not sure, please contact your network: administrator. IP Address: 82.68.120.56 Web Port Number: 20050 Open Device Web Page Port 1 8000 Port 2 8010 Add Cancel
  1. Enter the port forwarding number for Port 1 and then click the 'Add' button. The device will then appear in the Boost.IO manager window. It can then be installed and used as if it were on a local network.

5.15 Remote Access

The Remote access feature of the ED devices allows access to the device over the internet or from a different network. The device can be accessed either through the webpage interface, or through Boost.IO Manager. To access the ED device remotely, you will need the IP address of the router and have port forwarding set up on your router for the device and the ports on your device. If you need assistance setting up port forwarding on your network, contact your network administrator.

Once you have the IP address and port forwarding numbers of the device and the ports, you can either access the device through the webpage or add the device manually using Boost.IO Manager.

The ED devices store their settings in one place, inside the device. When accessing the device either from the web configuration pages or using Boost.IO Manager, it will get and set the settings inside the device itself. Therefore, if Boost.IO Manager is closed and a setting is updated using the web configuration pages, Boost.IO won't know that any settings have changed until it is opened. When the application opens, it will automatically get the settings of any installed devices.

6 Web Configuration Pages

6.1 Introduction

The web configuration pages for the ED device allow you to configure all the settings on the device and view the status of the device. To access the web configuration pages, type the IP address of the device into a web browser. To find the IP address of your device, see section 6.3 Finding and Installing an ED Device.

In the top right corner of every page there will be a box that displays information about your device. It will show you the model, firmware version, MAC address and how long the device has been powered on for.

Note: We recommend that you use Internet Explorer Version 7 and above

6.2 Home page

The Home page is the default page that loads when you enter the IP address of the device into a web browser. This page mainly displays information about the device and a visual display of the states of the input and output/relay lines.

Brainboxes ED-504 - Home page - 1

text_image brainboxes www.brainboxes.com Model: ED-588 Firmware Version: 2.67 MAC Address: 00:0A:4F:05:16:1E Up Time: 0hr:5min:44sec Home Network Protocol Console IO Lines Device Management Device Information Device Name: ED-588 Update Locate CPU Temperature: 42.6°C (Good) +Vin A:ON +Vin B:OFF Current Protocol Current Protocol: ASCII Legend: ON (1) OFF (0) Overload Digital Output (8): DOut 0 DOut 1 DOut 2 DOut 3 DOut 4 DOut 5 DOut 6 DOut 7 Legend: Low (0) High (1) Digital Input (8): DIn 0 DIn 1 DIn 2 DIn 3 DIn 4 DIn 5 DIn 6 DIn 7 Connections Protocol Statistics Device IP Settings Current Connections: 0 Connected Devices: IP Address Protocol Duration Update Interval: 10 seconds

Device Information

Under the Device Information section is a text box which shows the current device name. This is the name that you can use to identify the device on your network. By default the device name is set to the product name but this can be changed by typing the name you would like into the text box and clicking 'Update'.

When the Locate button is pressed, all the LED's on the front of the device will start flashing for 10 seconds. If you have a number of devices next to each other on a DIN rail, you may not be able to see the sticker on the side to identify the devices. Using the Locate button will allow you to clearly see which device you are configuring on the DIN rail.

Below this is the CPU temperature and voltages of the power supplies. The temperature will be displayed in green unless the CPU is getting hotter than it should in which case the temperature will be displayed in red.

Also, displayed is the state of both power inputs, Vin A and Vin B. The state will either be on or off, depending on whether they have power or not.

Current Protocol

The Current Protocol section displays the state of the digital inputs and outputs. The digital input lines have three states that they can be in: on, off or overload. The digital output lines have 2 states, either high or low. These states are represented by the diagrams in the legends.

Current Protocol
Brainboxes ED-504 - Current Protocol - 1

text_image Current Protocol: ASCII Legend: ON (1) OFF (0) Overload Digital Output (8): DOut 0 DOut 1 DOut 2 DOut 3 DOut 4 DOut 5 DOut 6 DOut 7 Digital Input (8): High (0) Low (1) Din 0 Din 1 Din 2 Din 3 Din 4 Din 5 Din 6 Din 7

Connections

The Connections tab displays information about any active connections to the device. The number of connections currently being made to the device will be displayed. The table will display more information about any devices connecting to the ED device.

Brainboxes ED-504 - Connections - 1

text_image Connections Protocol Statistics Device IP Settings Current Connections: 1 Connected Devices: IP Address Protocol Duration 192.168.0.69:60157 ASCII 00:00:07

Also, when a connection is made there will be a warning at the top of every page. When changing some of the settings, the device is required to be restarted for the settings to be applied and the ED device cannot be restarted while a connection is being made to it.

Brainboxes ED-504 - Connections - 2

There is an active connection to the device. Close all connections before changing any

Protocol Statistics

The Protocol Statistics tab will display information about the protocol commands that have been sent to the device since it was powered on, including a history of all the commands sent and the response of each command.

Brainboxes ED-504 - Protocol Statistics - 1

text_image Connections Protocol Statistics Device IP Settings Received: 1 Invalid Payload: 0 Success: 1 Invalid Length: 0 Responded: 1 Invalid Checksum: 0 Errors: 0 Invalid Address: 0 Route To Gateway: 0 Invalid Format: 0 Trace History: [00236AA0]CMD: $01M. [00236AA0]RES: !01ED-588. [00236AA0]Status: SUCCESS

Device IP Settings

Under the Device IP Settings tab there is information about the device's network settings. These settings can be changed on the Network page. See section 6.3 Network page.

Brainboxes ED-504 - Device IP Settings - 1

text_image Connections Protocol Statistics Device IP Settings IP Address: 192.168.0.130 Subnet Mask: 255.255.255.0 Gateway Address: 192.168.0.254 Web Server Port: 80

Update Interval

The Update Interval dropdown box controls how often the device information on the Home page will be refreshed. For example, if set to 5 seconds, the webpage will update all the temperature and voltage information, IO lines states, current connections, protocol statistics and device IP settings automatically, every 5 seconds. If set to 'Disabled', the webpage will not update these settings and you will have to refresh the page manually.

Brainboxes ED-504 - Update Interval - 1

text_image Update Interval: 10 seconds Disabled 1 second 2 seconds 3 seconds 5 seconds 10 seconds 30 seconds

6.3 Network page

The Network page allows you to configure all of the network settings of the ED device.

Network IP Address

Please consult the Network Administrator before changing any settings.

Brainboxes ED-504 - Network IP Address - 1

text_image Network IP Address Web Server/UPnP Obtain IP Address Automatically (Use DHCP) Assign Static IP Address (Recommended) Static IP Address: 192 . 168 . 127 . 254 Subnet Mask: 255 . 255 . 255 . 0 Gateway Address: 0 . 0 . 0 . 0

Save Cancel Changes

In the Network IP Address tab you can select whether the device is using DHCP or a static IP address which you specify. By default the ED device is set to use DHCP to obtain an IP address automatically. If there is no DHCP server present, after 60 seconds the device will switch to a static IP address of 192.168.127.254.

Web Server/UPnP

Please consult the Network Administrator before changing any settings.

Brainboxes ED-504 - Web Server/UPnP - 1

text_image Network IP Address Web Server/UPnP Web Server Port: 80 (1-65535) UPnP: ● On ○ Off Save Cancel Changes

Under the Web Server/UPnP tab you can change the Web Server Port number and also turn UPnP on or off. The default Web Server Port number is 80.

6.4 Serial Port page

The serial port page (available on some models) allows you to configure all the serial settings on the serial port on the device.

Serial Port 1

Port Status: Connected

Port Type: RS232

Default Serial Port Settings

√ Always use these settings (Ignore settings from application)

Baud Rate: 9600 bps

Data Bits: 8

Stop Bits: 1

Parity: None

Flow Control: None

Protocol Settings

Protocol Type: Telnet

Local TCP Port: 9001

Connection Timeout: 0 seconds

Note: Connection timeout will not be used if set to '0'.

Save

Cancel Changes

Always Use These Settings

If the tick box "Always use these settings" is ticked then the serial port will communicate using the baud rate, data bits, parity, stop bits and flow control set in this section regardless of what settings the application is using. For example, this will allow you to force baud rates that your application does not allow you to select. This can be useful for interfacing to equipment which uses higher baud rates or unusual baud rates which your application does not support.

Protocol Type

If you are using the Brainboxes Windows driver to create a COM port then the driver will use Telnet regardless of the protocol setting set on the webpage.

RAW TCP: Data sent over the network is the same as the data sent over the serial link. Any configuration of the serial port settings will need to be set via the web page.

Telnet: This is based on the RFC2217 standard which lets the serial ports settings be configured dynamically. Data is then encapsulated over serial link

Local TCP Port

This configures which TCP port the serial port of the ED device will use.

Connection Timeout

The Connection Timeout is set to 0 by default. If it is set to anything other than 0, the connection to the port will be disconnected automatically after being idle (i.e. no data is being received or sent to and from the port) for the specified time. The LED for the port will go off at this point. If the Connection Timeout setting is 0, the port will need to be disconnected manually by the user.

6.5 Protocol page

The protocol page has all of the ASCII settings and serial gateway settings.

ASCII Protocol

ASCII Protocol Settings

Device Address (1-255)

1

(Hex:01)

Counter Update Direction

Falling Edge

TCP Port (1-65535)

9500

Counter Mode

16bit Counter

Idle Timeout (0: no timeout) (0-65535)

0

Checksum

Disabled

Input Polarity

High = 1

Output Polarity

1 = ON

Serial Gateway Settings

Baud Rate

9600

Brainboxes ED-504 - Serial Gateway Settings - 1

Command Timeout

1000

ms

ASCII Protocol Settings

Device Address

The device address is a hexadecimal value which specifies the target device. If an ASCII command is being sent to a specific device, this address is used to specify which device the command is sent to. Also, any responses will contain a device address to indicate which device sent the response.

The number entered into the text box should be a decimal number between 1 and 255. Any decimal numbers entered will have their Hex value displayed to the right of the text box.

TCP Port

The TCP port is the network port that is used to connect to the device at the IP address that it's using. The default port number is 9500.

Idle Timeout

When the idle timeout is set, if there is no communication to the device for the specified period of time, the connection will be closed. The default idle connection is 0, meaning the connection will never be dropped automatically.

Counter Update Direction

The counter update direction can either be set to falling edge or rising edge using the drop down box. If the Update Direction is set to 'Falling Edge', the counter will be incremented every time the signal goes from high to low. If the Update Direction is set to 'Rising Edge' the counter will be incremented every time the signal goes from low to high. By default the Counter Update Direction is set to Falling Edge.

Brainboxes ED-504 - Counter Update Direction - 1

text_image Counter Update Direction Falling Edge Checksum Falling Edge Rising Edge

Counter Mode

The Counter mode box allows you set the counter mode to either a 16-bit Counter or 32-bit Counter. A 16-bit counter will count from 0 to 65535 and a 32-bit counter will count from 0 to 4294967295.

Brainboxes ED-504 - Counter Mode - 1

text_image Counter Mode 16bit Counter 16bit Counter Checksum 32bit Counter

Checksum

The purpose of the checksum is to help the PC and devices detect the communication errors that have corrupted the command strings. When the checksum is enabled all commands from the PC to the devices and all responses from the devices must contain a valid checksum otherwise the data is discarded. When the checksum is enabled, commands sent without a valid checksum will be ignored by the devices and the device will not respond to the host PC. By default, the checksum is disabled.

Brainboxes ED-504 - Checksum - 1

text_image Checksum Disabled Input Polarity Enabled Disabled

Input Polarity

The input polarity drop down box has 2 options. The first and default is 'High = 1'. When this option is selected, if a High voltage is applied to the input line then this will be displayed a 1. If there is no voltage applied to the input line, this will be Low and the input will be displayed as 0.

The second option is 'Low = 1'. If this is selected, when a High voltage is applied to the input line, then this will be displayed as 0. When no voltage is applied to the input line then 1 will be displayed.

Brainboxes ED-504 - Input Polarity - 1

text_image Input Polarity Low = 1 Output Polarity High = 1 Low = 1

Output Polarity

In the Output Polarity drop down box there are 2 options, '1 = ON' or '0 = ON'. When '1 = ON' is set, if there is a voltage on the output line, then the digital output will be 1. If there is no voltage being sent out then the digital output will be. When '0 = ON' is selected, when there is a voltage on the line the digital output will be 1. When there is no voltage on the output line then the digital output will be 0

For example, when the output polarity is set to '1 = ON' in the combo box...

Brainboxes ED-504 - Output Polarity - 1

...the Digital Output diagrams on the home page will display the 'OFF (0)' symbol when there is no voltage on the input lines.

Brainboxes ED-504 - Output Polarity - 2

text_image Legend: ON (1) OFF (0) Overload Digital Output (8): DOut 0 DOut 1 DOut 2 DOut 3 DOut 4 DOut 5 DOut 6 DOut 7

Serial Gateway

The Serial Gateway feature (available on ED-5XX models) turns the ED device into a serial gateway which allows it to send the commands out the gateway port to another ASCII protocol compatible device such as NuDAM, eDAM and ADAM modules. The gateway port uses half duplex RS485 with 8 data bits, no parity and 1 stop bit.

Baud Rate

The baud rate of the Serial Gateway can be changed using the drop down box. The default baud rate is 9600.

Brainboxes ED-504 - Baud Rate - 1

text_image Baud Rate 9600 Command Timeout 115200 57600 38400 19200 9600 4800 2400 1200 Save Cancel Chang

Command Timeout

The Command Timeout option determines how long the ED device will wait for a response from the Serial Gateway once a command has been sent. If, after the specified time no response has been received through the gateway port then the ED device will stop waiting for a response. If a response does come in after the timeout value, the response will be discarded. The default timeout is 200 milliseconds.

Command Timeout 200 ms

6.6 Console page

The Console Page contains the console window which allows ASCII commands to be sent straight to the device and be executed immediately. The response of the command is displayed in the console window in green. This is the simplest way to send ASCII commands to the ED device to either set or read settings.

Terminal Console

To communicate with the device, please enter any valid ASCII command. Please click here to view a list of ASCII Protocol commands.

Brainboxes ED-504 - Terminal Console - 1

text_image ASCII Command Console > @01 >0000 > $01F !012.69 > $01M !01ED-588 >

Note: Please type 'clear' to clear the console screen.

Also on the Console page is a link to a web view of all the ASCII protocol commands that can be sent to the device and a description of what each command does.

ASCII Command Summary

CommandResponseDescription
#AANNTTCCFF1AASet Module Configuration
P**No ResponseCheck this is 4** command
#AA0DD #AA0ADD-Check this is #AA00 and #AA0A command, set output value of lower 8 channels
#AA0B00-Check this is #AA0B command, set output value of upper 8 channels
#AA1DD #AAACDD-Sets a single digital output channel of the lower eight channels
#AABCD-Sets a single digital output channel of the upper eight channels
#AAN1AA(Data)Reacts the digital input counter of channel N
SAA21AANNTTCCFFRead the Module configuration
SAA4IS(Data)Reacts the synchronized data that was retrieved by the last P** command
SAA5IS(Data)Reacts the reset status of the module
SAA61VASReacts the status of the digital input output channel
SAA9Reacts the status of the digital output Sense line value on all output channel
SAAC1AAClears the status of latched digital input channels
SAACN1AAClears the digital input counter of channel N.
SAAF1AA(Data)Reacts the firmware version of a module.
SAAL91(Data)Reacts the status of the latched digital input channels

Brainboxes ED-504 - Terminal Console - 2

text_image @AA Description: Reads the status of the digital I/O lines Command Syntax: @AA[CS](CR) $ Delimiter character AA Address of the device to be configured in hexadecimal format (30 to FF) [CS] Checksum [CR] Carnage Return Response: Valid Command: >DDDD[CS](CR) Invalid Command: 7AA[CS](CR) P Delimiter for a valid command ? Delimiter character for an invalid command AA Address of the responding device DDDD Four digit hexadecimal value representing the status of the I/O lines. [CS] Checksum [CR] Carnage Return Examples: Reads the digital input/output port status of the device's lines and returns F000 representing lines DOut 0- DOut 3 being low, DOut 4--DOut 7 being high and DIn 0-DIn 7 as being low. Command: @01(CR) Response: >E200(CR)

6.7 IO Lines page

The IO Lines page lists all the output lines on the device and allows you to set the Power-On Value, Safe Value and Quick Stop Value for each of the output lines.

Note: The Quick Stop feature has not been designed or qualified as an Emergency Stop device and must not be used as part of a safety critical control system

Power-On Value

The Power-On Value drop down boxes determine what state the output lines will go to every time the device is powered on. By default, all of the output lines will be set low when the device is powered on.

For example, if the drop down boxes are set like below...

LineModePower-On ValueSafe ValueQuick Stop ValueDebounce Time (ms)
DOut 0Digital OutputOFF ▼OFF ▼OFF ▼N/A
DOut 1Digital OutputOFF ▼OFF ▼OFF ▼N/A
DOut 2Digital OutputOFF ▼OFF ▼OFF ▼N/A
DOut 3Digital OutputOFF ▼OFF ▼OFF ▼N/A

...when the device is powered on with these settings, the output lines of the device will be...

Brainboxes ED-504 - Power-On Value - 1

text_image Legend: ON (1) OFF (0) Overload DOut 0 DOut 1 DOut 2 DOut 3 DOut 4 DOut 5 DOut 6 DOut 7

Safe Value

The Safe Value drop down boxes set the state that the output lines will go when the device goes into a Watchdog state. This ensures that even if there is a problem with the communication to the device, the output lines will always revert to a safe, known state.

When the safe value is set like the pattern below...

LineModePower-On ValueSafe ValueQuick Stop ValueDebounce Time (ms)
DOut 0Digital OutputOFF ▼OFF ▼OFF ▼N/A
DOut 1Digital OutputOFF ▼ON ▼OFF ▼N/A
DOut 2Digital OutputOFF ▼OFF ▼OFF ▼N/A
DOut 3Digital OutputOFF ▼ON ▼OFF ▼N/A

...and the device goes into a Watchdog state for whatever reason, there will be a message at the top of every configuration page warning about the state.

Brainboxes ED-504 - Safe Value - 1

text_image Important Warning This device is in a watchdog state. No output lines can be set. Clear Watchdog State

Also, the output lines will be set to the state which has been set on the IO Lines page.

Brainboxes ED-504 - Safe Value - 2

text_image Legend: ON (1) OFF (0) Overload DOut 0 DOut 1 DOut 2 DOut 3 DOut 4 DOut 5 DOut 6 DOut 7

Quick Stop Value

When the Quick Stop Value is enabled, all the output lines will go to a user specified known state when the user programmed input transitions to a preconfigured high or low state.

To set the Quick Stop Value, the first thing that needs to be selected is the input line which is going to wait for the high or low signal.

Brainboxes ED-504 - Quick Stop Value - 1

text_image Please Select Quick Stop IO Line : DIn 0 Disabled DIn 0 DIn 1 DIn 2 DIn 3 DIn 4 DIn 5 DIn 6 DIn 7 Save Cancel Changes

Once the input line is selected, another drop down box will appear which allows you to select when the output line state is set. This could be on the falling edge, when the input line goes from high to low, or the rising edge, when the input line goes from low to high.

Brainboxes ED-504 - Quick Stop Value - 2

text_image Please Select Quick Stop IO Line : DIn 0 when Falling Edge Falling Edge Rising Edge Save Cancel Changes

Once this has been selected, set the digital output line pattern needs to be set.

As an example, from the settings on the page below, when the signal of the first input line (Din 0) goes from high to low, the first four outputs, DOut 0, DOut 1, DOut, 2 and DOut 3 will be set high and the second four outputs will be set low.

LineModePower-On ValueSafe ValueQuick Stop ValueDebounce Time (ms)
DOut 0Digital OutputOFF ▼OFF ▼OFF ▼N/A
DOut 1Digital OutputOFF ▼OFF ▼OFF ▼N/A
DOut 2Digital OutputOFF ▼OFF ▼OFF ▼N/A
DOut 3Digital OutputOFF ▼OFF ▼OFF ▼N/A
Dln 0Digital InputN/AN/AN/A1
Dln 1Digital InputN/AN/AN/A1
Dln 2Digital InputN/AN/AN/A1
Dln 3Digital InputN/AN/AN/A1

Debounce Time

Bouncing is the tendency of any two metal contacts in an electronic device to generate multiple signals as the contacts close or open; debouncing is any kind of hardware device or software that ensures that only a single signal will be acted upon for a single opening or closing of a contact.

The text fields which are displayed below for the Debounce Time will allow the user to select a value (in milliseconds) that ensures that only one digital signal can be registered within the space of a given time.

LineModePower-On ValueSafe ValueQuick Stop ValueDebounce Time (ms)
DOut 0Digital OutputOFF ▼OFF ▼OFF ▼N/A
DOut 1Digital OutputOFF ▼OFF ▼OFF ▼N/A
DOut 2Digital OutputOFF ▼OFF ▼OFF ▼N/A
DOut 3Digital OutputOFF ▼OFF ▼OFF ▼N/A
Dln 0Digital InputN/AN/AN/A1
Dln 1Digital InputN/AN/AN/A1
Dln 2Digital InputN/AN/AN/A1
Dln 3Digital InputN/AN/AN/A1

6.8 Device Management page

The Device Management page has 2 options. The first is to restart your device and the second to restore the factory default settings of the device.

Device Management

Click to restart the device

Click to restore the factory settings

Restart Device

Clicking the 'Restart Device' button will power cycle the device. In order to restart the device, there must be no connections being made to it. If there is a connection being made to the device, a warning message will be displayed asking you to close the connection.

Clicking the 'Restore Factory Default' button will revert all the settings on the device back to their factory default. Just like restarting the device, in order to restore the factory settings, there must be no connection to the device active. For a list of the factory settings of the device please see section 7.8 Factory Default Settings.

6.9 Factory Default Settings

Network Settings
Network IP AddressDHCP Mode
Web Server Port80
ASCII Protocol Settings
Device Address01
TCP Port9500
Idle Timeout0
Counter Update DirectionFalling Edge
ChecksumDisabled
Input PolarityHigh = 1
Output Polarity1 = ON
Serial Gateway Settings
Baud Rate9600
Command Timeout200 ms

7 Configuration Tables

7.1 Baud Rate Settings (BB)

Code:030405060708090A
Baud Rate:1200240048009600192003840057600115200

7.2 Data Format Settings (FF)

76543210
CUCSCMReserved

CS: Checksum Setting

0: Disabled

1: Enabled

CU: Counter Update

0: Falling edge in the input signal

1: Rising edge in the input signal

CM: Counter Mode

0: 16 bit Counter

1: 32 bit Counter

Note: The counter value will be preserved until it is either cleared or restored to factory settings. The counter will be preserved when the device is rebooted or powered off and on.

7.3 Digital Input/Output Data Characters Format

Some of the ASCII commands require data to be sent to set the output lines. Other ASCII commands will return the status of the input and output lines. The status of the output and input lines in the commands and responses will be in a 2 digit hexadecimal format.

For example, the response from the @AA command for the ED-588 is: >(first 2 hex digits)(second 2 hex digits)

The table below details which input/output lines these hexadecimal digits correspond to for your device.

DeviceFirst 2 hexadecimal digitsSecond 2 hexadecimal digits
ED-588DOut 7 - DOut 000-FFDIn 7 – DIn 000-FF
ED-516DIn 15 – DIn 800-FFDIn 7 – DIn 000-FF
ED-527DOut 15 – DOut 800-FFDOut 7 – DIn 000-FF
ED-538RL 0 – RL 300-0FDIn 7 – DIn 000-FF
ED-038RL 0 – RL 200-07Din 2 – Din 000-07
ED-008DOut 7 - DOut 000-FFDIn 7 – DIn 000-FF
ED-204DOut 3 – Dout 000-0FDIn 3 – DIn 000-0F
ED-004DOut 3 – Dout 000-0FDIn 3 – DIn 000-0F

8 ASCII Protocol

8.1 Introduction

The ASCII protocol is a query-response or a question and answer communication protocol in which a host PC uses ASCII characters to send commands to a device and then receives responses back from that device. The ASCII command set is used to configure devices, send data to devices and to read data and status information back from devices

Command Format

The command string is made up of several different parts. For example, the command #AA00DD can be broken down into as many as 6 separate parts.

#AA00(Data)[CS](CR)
DelimiterAddressCommandData*Checksum**Carriage Return

* Only applicable for commands setting digital outputs.
** Optional parameter for the command.

Every ASCII command sequence is a series of ASCII characters starting with a prefix delimiter and terminating with a carriage return character. All of the ASCII characters used are easily entered from a PC keyboard and every ASCII command is terminated with a Carriage Return character; hex 0D, denoted by (CR) All commands being sent to the device must be in uppercase characters.

Prefix or Delimiter: Each ASCII command starts with a single character command prefix or delimiter. The prefix will be one of the following five characters:

#the hash or pound sign, ASCII value hex 0x23
%the percentage sign, ASCII value hex 0x25
$the dollar sign, ASCII value hex 0x24
@the at sign, ASCII value 0x40
~the tilde or approx. sign, ASCII value hex 0x7E

These prefix signs cannot be used interchangeably but are particular to the command string which follows.

Address: The ASCII protocol was first introduced in the 1980s by Analog Devices with its RS485 Half Duplex connected 6B Series modules and digital I/O boards and has been adopted and adapted by many other companies since. It is the de-facto communication protocol on the widely used RS485 Half Duplex connected ADAM/NuDam/eDAM modules. A very wide range of PC based data acquisition packages have support for this command protocol communicating over PC COM port. The Brainboxes ED-xxx range of devices are completely backwards compatible with these devices.

Since it was initially developed for an RS485 bus system containing many devices, each ASCII command must include the address of the particular device the command is directed to. The address is a two character field giving the hexadecimal address of the device (00-FF). The default address is 01. The address field is written as AA in the examples that follow.

A few commands do not have an address as these are broadcast commands that go to all the devices. Here the address field AA is replaced by the wildcard two star signs **. Two such examples are #** and \~**.

Command: The command field contains the command that you want to send to the device. The next section (Command List) gives a detailed description of how to use each command and what the commands do.

Data: The data being sent to the device which is required in the command. Depending on the command this data is in different formats.

Checksum: An optional two character checksum denoted [CS] can be included immediately before the terminating (CR). The purpose of the checksum is to help the PC and devices detect the communication errors that have corrupted the command strings. When the checksum is enabled all commands from the PC to the devices and all responses from the devices must contain a valid checksum otherwise the data is discarded. When the checksum is enabled, commands sent without a valid checksum will be ignored by the devices and the device will not respond to the host PC. By default the checksum is turned off. To turn checksum on, you must configure the device via its webpage using a browser.

In the following sections of this chapter, those parts of the command string in bold and underlined are parameters that the user must enter. Those parts of the command string in normal text are to be used literally in the command without replacement by the user.

Additionally, any parts of the command string that are in square brackets are optional. The checksum is an example of this as it is only required when the checksum is enabled in the firmware of the device.

Example Commands: Assuming that the checksum has not been turned on by the user, the simplest command is:

@AA(CR)

This command reads the status of the digital input port. Assuming the ED devices address is 01, that is AA=01, then the command the user would issue would be:

@01(CR)

A typical response from the device would be:

01FA(CR)

Response Format

The response received from the device will depend on the ASCII command that has been sent. The response for each command is detailed in the Command List Section.

!AA(Data)[CS](CR)
DelimiterAddressData*Checksum**Carriage Return

* Only applicable for certain commands that return data.
** Optional parameter for the command.

Prefix or Delimiter: Each ASCII response starts with a single character prefix or delimiter. The prefix will be one of the following three characters:

>Greater than sign, ASCII value hex 0x3E
!Exclamation sign, ASCII value hex 0x21
?Question mark sign, ASCII 0x3F

Address: The address is a two character field giving the hexadecimal address of the device (00-FF). The default address is 01. The address field is written as AA in the examples that follow.

Data: The data being sent from the device in response to the command sent.

Checksum: Optional 2 character checksum.

8.2 Command List

CommandResponseDescriptionSupported Devices
%AANNTTCCFF!AASet Device ConfigurationAll Devices
#**No ResponseSynchronized SamplingAll Devices
#AA0DD>Set Digital Output of Lower 8 ChannelsDevices with Outputs
#AA0ADD>Set Digital Output of Lower 8 ChannelsDevices with Outputs
#AA0BDD>Set Digital Output of Upper 8 ChannelsDevices with Outputs
#AA1cDD>Set a Single Digital Output of Lower 8 ChannelsDevices with Outputs
#AAAcDD>Set a Single Digital Output of Lower 8 channelsDevices with Outputs
#AABcDD>Set a Single Digital Output of Upper 8 ChannelsDevices with more than 8 Outputs
#AAN!AA(Data)Read Digital Input CounterDevices with Inputs
AA2!AANNTTCCFFRead Device ConfigurationAll Devices
AA4!S(Data)Read Synchronized DataAll Devices
AA5!AASRead Reset StatusAll Devices
AA6!(Data)Read Digital I/O StatusAll Devices
AAC!AAClear Latched Digital InputDevices with Inputs
AACN!AAClear Digital Input CounterDevices with Inputs
AAF!AA(Data)Read Firmware VersionAll Devices
AALS!(Data)Read Latched Digital InputDevices with Inputs
AAM!AA(Data)Read Device NameAll Devices
AAM0!AA(Data)Read Device ModelAll Devices
AAM1!AA(Data)Read Device LocationAll Devices
AAS1!AARestore Factory DefaultsAll Devices
$AARSNo ResponseReset the module to power-on stateAll Devices
@AA>(Data)Read Digital I/O StatusAll Devices
@AA(Data)>Set Digital OutputDevices with Outputs
~AAO(Name)!AASet Device NameAll Devices
~**No ResponseHost OKAll Devices
~AA0!AASSRead Watchdog Timeout StatusAll Devices
~AA1!AAReset Watchdog Timeout StatusAll Devices
~AA2!AAVVRead Watchdog Timeout SettingsAll Devices
~AA3EVV!AASet Watchdog Timeout ValueAll Devices
~AA4V!AA(Data)Read Power On/Safe ValueDevices with Outputs
~AA5V!AASet Power On/Safe ValueDevices with Outputs
~AAL!AASSSet Device LocationAll Devices

8.3 %AANNTTCCFF

Description:

Set the device configuration.

Command Syntax:

%AANNTTCCFF[CS](CR)
%Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
NNNew device address in hexadecimal format (00 to FF)
TTType code, should be 40 for DIO module
CCNew Baud Rate code. (SeeBaud Rate Settings)
FFUsed to set the counter update direction and checksum(SeeData Format Settings)
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: !AACS

Invalid Command: ?AACS

!Delimiter for a valid command
?Delimiter for an invalid command
AAAddress of the device in hexadecimal format (00 to FF)
[CS]Checksum
(CR)Carriage Return

Examples:

Change the device address from 01 to 02. The device returns a valid response.

Command: %0102400600(CR)

Response: !02(CR)

Change the Baud Rate of device 01 to 115200. Device returns a valid response.

Command: %0101400A00(CR)

Response: !01(CR)

Change the Baud Rate of device 01 to 115200. Device returns invalid command because the baud rate code is incorrect.

Command: %010140FF00(CR)

Response: ?01(CR)

Note: Any change to the address and counter update direction take effect once the command has been received. Changes to the Baud Rate and checksum settings take effect the next time the device is restarted.

8.4 #\*\*

Description:

Allows the device to read and store data for later retrieval.

Command Syntax:

#**[CS](CR)
#Delimiter character
**Synchronized Sampling Command
[CS]Checksum
(CR)Carriage Return

Response:

There is no response for this command. To access the data, use the command \$AA4.

Examples:

Send synchronized sampling command.

Command: #**(CR)

No Response

8.5 #AA00DD

Description:

Sets the digital output value of the lower eight channels.

Command Syntax:

#AA00DD[CS](CR)
#Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
00Command to set the digital output value of the lower 8 channels
DDTwo digit hexadecimal value. Bit 0 corresponds to DOut 0, bit 1 corresponds to DOut 1, etc. If the bit is 1, the digital output channel will be on, if the bit is 0, the digital output channel will be off.
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: >CS

Invalid Command: ?CS

Ignored Command: Brainboxes ED-504 - #AA00DD - 1

>Delimiter for a valid command
?Delimiter for an invalid command
!Delimiter for an ignored command
[CS]Checksum
(CR)Carriage Return

Examples:

Set DOut 0, DOut 1, DOut 2, DOut 3 to on, and DOut 4, DOut 5, DOut 6, DOut 7 to off and device returns a valid response.

Command: #01000F(CR)

Response: >(CR)

Note: This command is only applicable on devices with digital output channels.

8.6 #AA0ADD

Description:

Sets the digital output value of the lower eight channels.

Command Syntax:

#AA0ADD[CS](CR)
#Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
OACommand to set the digital output value of the lower 8 channels
DDTwo digit hexadecimal value. Bit 0 corresponds to DOut 0, bit 1 corresponds to DOut 1, etc. If the bit is 1, the digital output channel will be on, if the bit is 0, the digital output channel will be off.
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: >CS

Invalid Command: ?CS

Ignored Command: Brainboxes ED-504 - #AA0ADD - 1

>Delimiter for a valid command
?Delimiter for an invalid command
!Delimiter for an ignored command
[CS]Checksum
(CR)Carriage Return

Examples:

Set DOut 0, DOut 1, DOut 2, DOut 3 to on, and DOut 4, DOut 5, DOut 6, DOut 7 to off and device returns a valid response.

Command: #010A0F(CR)

Response: >(CR)

Note: This command is only applicable on devices with digital output channels.

8.7 #AA0BDD

Description:

Sets the digital output value of the upper eight channels.

Command Syntax:

#AA0BDD[CS](CR)
#Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
OBCommand to set the digital output value of the upper 8 channels
DDTwo digit hexadecimal value. Bit 0 corresponds to DOut 0, bit 1 corresponds to DOut 1, etc. If the bit is 1, the digital output channel will be on, if the bit is 0, the digital output channel will be off.
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: >CS

Invalid Command: ?CS

Ignored Command: Brainboxes ED-504 - #AA0BDD - 1

>Delimiter for a valid command
?Delimiter for an invalid command
!Delimiter for an ignored command
[CS]Checksum
(CR)Carriage Return

Examples:

Set DOut 8, DOut 9, DOut 10, DOut 11 to on, and DOut 12, DOut 13, DOut 14, DOut 15 to off and device returns a valid response.

Command: #010B0F(CR)

Response: >(CR)

Note: This command is only applicable on devices with digital output channels.

8.8 #AA1cDD

Description:

Sets the specified digital output channel of the lower eight channels.

Command Syntax:

#AA1cDD[CS](CR)
#Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
1Command to set a single digital output of the lower 8 channels
cSpecifies the digital output channel to be set (0-7)
DD00: set the digital output channel to off01: set the digital output channel to on
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: >CS

Invalid Command: ?CS

Ignored Command: Brainboxes ED-504 - Response: - 1

>Delimiter for a valid command
?Delimiter for an invalid command
!Delimiter for an ignored command
[CS]Checksum
(CR)Carriage Return

Examples:

Set DOut 1, to on and device returns a valid response.

Command: #011101(CR)

Response: >(CR)

Note: This command is only applicable for the devices with digital output channels.

8.9 #AAAcDD

Description:

Sets the specified digital output channel from the lower eight channels.

Command Syntax:

#AAAcDD[CS](CR)
#Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
ACommand to set a single digital output of the lower 8 channels
cSpecifies the digital output channel to be set (0-7)
DD00: set the digital output channel to off01: set the digital output channel to on
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: >CS

Invalid Command: ?CS

Ignored Command: Brainboxes ED-504 - #AAAcDD - 1

>Delimiter for a valid command
?Delimiter for an invalid command
!Delimiter for an ignored command
[CS]Checksum
(CR)Carriage Return

Examples:

Set DOut 1, to on and device returns a valid response.

Command: #01A101(CR)

Response: >(CR)

Note: This command is only applicable for the devices with digital output channels.

8.10 #AABcDD

Description:

Sets the specified digital output channel from the upper eight channels.

Command Syntax:

#AABcDD[CS](CR)
#Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
BCommand to set a single digital output of the upper 8 channels
cSpecifies the digital output channel to be set (0-7) where 0 stands for channel 8, 1 stands for channel 9 etc
DD00: set the digital output channel to off01: set the digital output channel to on
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: >CS

Invalid Command: ?CS

Ignored Command: Brainboxes ED-504 - #AABcDD - 1

>Delimiter for a valid command
?Delimiter for an invalid command
!Delimiter for an ignored command
[CS]Checksum
(CR)Carriage Return

Examples:

Set DOut 11, to on and device returns a valid response.

Command: #01B301(CR)

Response: >(CR)

Note: This command is only applicable for the devices with 8 or more digital output channels.

8.11 #AAN

Description:

Reads the digital input counter value of specified channel.

Command Syntax:

#AAN[CS](CR)
#Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
NDigital input channel to be read (0 to F)
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: !AADataCS

Invalid Command: ?AACS

!Delimiter for a valid command
?Delimiter for an invalid command
AAAddress of the device in hexadecimal format (00 to FF)
DataIf the counter mode of the device is set to 16-bit, then the data will be a five digit decimal representing the digital input counter value. (00000 to 65535)If the counter mode is set to 32-bit, then the data will be a ten digit decimal representing the digital input counter value.(0000000000 to 4294967295)
[CS]Checksum
(CR)Carriage Return

Examples:

Read counter value of digital input channel 3 and the returned value is 00274 as a five digit decimal value.

Command: #013(CR)

Response: !0100274(CR)

Read data from channel 9. An error is response is returned because channel 9 is an invalid channel.

Command: #019(CR)

Response: ?01(CR)

Note: This command is only applicable for the devices with digital input channels.

8.12 \$AA2

Description:

Reads device configuration.

Command Syntax:

AA2[CS](CR)
Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
2Command to read the device configuration
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: !AATTBBFFCS

Invalid Command: ?AACS

!Delimiter for a valid command
?Delimiter for an invalid command
AAAddress of the device (00 to FF)
TTDevice Type (40 for DIO Devices)
BBBaud Rate of the device (See Baud Rate Settings)
FFConfiguration value (See Data Format Settings)
[CS]Checksum
(CR)Carriage Return

Examples:

Read the configuration of device 01.

Command: \$012(CR)

Response: !010400600(CR)

8.13 \$AA4

Description:

Reads the synchronized data retrieved from the last #** command.

Command Syntax:

AA4[CS](CR)
Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
4Command to read the synchronized data from the device.
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: !SDDDD00CS

Invalid Command: ?AACS

!Delimiter for a valid command
?Delimiter for an invalid command
SStatus of synchronized data:1 = First read of data0 = Data has been at least once before
DDDDFour digit hexadecimal value representing the status of the I/O lines.
00Always 00
[CS]Checksum
(CR)Carriage Return

Examples:

Read synchronized data. Device returns the synchronized data and sets first byte to 1 to indicate this is the first time the synchronized data has been read. (Assumes the set synchronized data command has been sent) Command: \$014(CR)

Response: !1000F00(CR)

Read synchronized data. Device returns synchronized data and sets status byte to 0 to indicate the data has been read before.

Command: \$014(CR)

Response: !0000F00(CR)

8.14 \$AA5

Description:

Read the reset status of the device.

Command Syntax:

AA5[CS](CR)
Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
5Command to read the reset status of the device
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: !AASCS

Invalid Command: ?AACS

!Delimiter for a valid command
?Delimiter for an invalid command
AAAddress of the device (00 to FF)
SReset status of the device:1 = First time the command has been sent since device was powered on0 = Not the first time the command has been sent since the device was powered on
[CS]Checksum
(CR)Carriage Return

Examples:

Read reset status of the device. Response shows it is the first time the device has received the \$AA5 command since it was powered on.

Command: \$015(CR)

Response: !011(CR)

Read reset status of the device. Response shows that the device has received the \$AA5 command while it's been powered on.

Command: \$015(CR)

Response: !010(CR)

8.15 \$AA6

Description:

Reads the digital input and digital output channel values.

Command Syntax:

AA6[CS](CR)
Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
6Command to read the digital I/O channels
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: !DDDD00CS

Invalid Command: ?AACS

!Delimiter for a valid command
?Delimiter for an invalid command
DDDDFour digit hexadecimal value representing the status of the I/O lines.
00Always 00
[CS]Checksum
(CR)Carriage Return

Examples:

Reads the values of the digital input and digital output channels. Returns !FF0000 meaning that the all the output lines are high and all the input lines are low.

Command: \$016(CR)

Response: !FF0000(CR)

8.16 \$AAC

Description:

Clears the status of the latched digital input channels.

Command Syntax:

AAC[CS](CR)
Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
CCommand to clear latched digital input
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: !AACS

Invalid Command: ?AACS

!Delimiter for a valid command
?Delimiter for an invalid command
AAAddress of the device which responded
[CS]Checksum
(CR)Carriage Return

Examples:

Sends command to clear the status of the latched digital input channels. Returns a valid response.

Command: \$01C(CR)

Response: !01(CR)

Note: This command is only applicable on devices with digital input channels.

8.17 \$AACN

Description:

Clears the digital input counter of the specified channel.

Command Syntax:

AACN[CS](CR)
Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
CCommand to clear digital input counter
NChannel to be cleared (0 to F)
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: !AACS

Invalid Command: ?AACS

!Delimiter for a valid command
?Delimiter for an invalid command
AAAddress of the device which responded
[CS]Checksum
(CR)Carriage Return

Examples:

Sends command to clear the value of channel 3. Returns a valid response.

Command: \$01C3(CR)

Response: !01(CR)

Note: This command is only applicable on devices with digital input channels.

8.18 \$AAF

Description:

Reads the firmware version of the device.

Command Syntax:

AAF[CS](CR)
Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
FCommand to read the firmware version
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: !AA(Data)CS

Invalid Command: ?AACS

!Delimiter for a valid command
?Delimiter for an invalid command
AAAddress of the device which responded
(Data)Firmware version of the responding device.
CHKSUMChecksum
(CR)Carriage Return

Examples:

Reads the firmware version of the device and shows it as version 1.9.

Command: \$01F(CR)

Response: !011.9(CR)

8.19 \$AALS

Description:

Reads the status of the latched digital input channels.

Command Syntax:

AALS[CS](CR)
Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
LCommand to read the latched status
SReads the latched status:0 = read low latched status1 = read high latched status
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: !DDDD00CS

Invalid Command: ?AACS

!Delimiter for a valid command
?Delimiter for an invalid command
AAModule Address ID
DDDDStatus of latched digital input channels.
00This value is always 00
[CS]Checksum
(CR)Carriage Return

Examples:

Reads the status of the low latched digital input. Command is valid and device returns 00FF

Command: \$01L0(CR)

Response: !00FF00(CR)

Note: This command is only available on devices with digital input channels.

8.20 \$AAM

Description:

Read the name of the device.

Command Syntax:

AAM[CS](CR)
Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
MCommand to read the device's name
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: !AA(Data)CS

Invalid Command: ?AACS

!Delimiter for a valid command
?Delimiter for an invalid command
AAAddress of the responding device
(Data)Name of the device
[CS]Checksum
(CR)Carriage Return

Examples:

Reads the device name. Command sent to the ED-588 and a valid response is returned with the device's name, ED-588.

Command: \$01M(CR)

Response: !01ED-588(CR)

8.21 \$AAS1

Description:

Restores the device settings back to factory defaults

Any Digital Outputs on the device will be reset to OPEN (0)

Digital Input reset values are dependent on 2 properties:

  • Whether the line is connected to an external device.
  • If the input is not connected then it will float
  • If the input is connected then it will be at the value set by the external device.
    • NPN/PNP jumper setting
  • NPN jumper setting means the Inputs will float HIGH (1). This is the factory default.
    o PNP jumper setting means the Inputs will float LOW (0)

Therefore, a factory reset ED-588 which is disconnected from input lines, and with factory default jumper setting, will have its IO lines reset to: FF00 - inputs float HIGH (1), outputs open (0)

Note: After this device has responded, it will reboot and come back online in factory default state. The device can take a number of seconds to reboot. Close all connections to the device after sending the command. Connection can be re-established once the device has rebooted.

Command Syntax:

AAS1[CS](CR)
Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
S1Command to restore the factory defaults
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: !AACS

Invalid Command: ?AACS

!Delimiter for a valid command
?Delimiter for an invalid command
AAAddress of the responding device
[CS]Checksum
(CR)Carriage Return

Examples:

Restores the device back to factory settings. Command sent to the ED-588 and a valid response returned.

Command: \$01S1(CR)

Response: !01(CR)

8.22 \$AARS

Description:

Resets the device to power on state. Will reboot the device to reset.

Note: The device can take a number of seconds to reboot. Close all connections to the device after sending the command. Connection can be re-established once the device has rebooted.

Command Syntax:

AARS[CS](CR)
Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
RSCommand to reset device
[CS]Checksum
(CR)Carriage Return

Response:

No Response

The device can take a number of seconds to reboot. Close all connections to the device after sending the command. Connection can be re-established once the device has rebooted.

Examples:

Reset device to power on state. Command sent to the ED-588 and no response is expected.

Command: \$01RS(CR)

No response

8.23 @AA

Description:

Read the status of the digital I/O lines.

Command Syntax:

@AA[CS](CR)
@Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: >DDDDCS

Invalid Command: ?AACS

>Delimiter for a valid command
?Delimiter for an invalid command
DDDDFour digit hexadecimal value representing the status of the I/O lines.
[CS]Checksum
(CR)Carriage Return

Examples:

Reads the digital input/output port status of the device's lines and returns F000 representing lines DOut 0-DOut 3 being low, DOut 4-DOut 7 being high and DIn0-DIn7 as being low.

Command: @01(CR)

Response: >0203(CR)

8.24 @AA(Data)

Description:

Sets the digital output channel value at a specified address.

Command Syntax:

@AA(Data)[CS](CR)
@Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
(Data)Data to be set to the digital output channels in a hexadecimal format.
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: >CS

Invalid Command: ?AACS

>Delimiter for a valid command
?Delimiter for an invalid command
!Ignore command
[CS]Checksum
(CR)Carriage Return

Examples:

Set output of device to 55 and return a valid command. Command sets DOut 0, DOut 2, DOut 4, DOut 6 to high and DOut 1, DOut 3, DOut 5, DOut 7 to low.

Command: @0155(CR)

Response: >(CR)

Note: This command is only available on devices with digital output channels.

8.25 \~AAO(Name)

Description:

Sets a new device name.

Command Syntax:

~AAO(Name)[CS](CR)
~Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
OCommand to set the name of the device
(Name)New device name (10 characters max)
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: !AACS

Invalid Command: ?AACS

!Delimiter for a valid command
?Delimiter for an invalid command
AAAddress of the device
[CS]Checksum
(CR)Carriage Return

Examples:

Set the device name to 588 and receives a valid command response.

Command: \~01O588(CR)

Response: !01(CR)

8.26 \~\*\*

Description:

Command sent to all devices to say the host is OK.

Command Syntax:

~**[CS](CR)
~Delimiter character
**Command to check the host is OK
[CS]Checksum
(CR)Carriage Return

Response:

No Response

Examples:

Send a "Host OK" command to all the devices

Command: \~**(CR)

No Response

8.27 \~AA0

Description:

Command to read the watchdog status of the device.

Command Syntax:

~AA0[CS](CR)
~Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
0Command to read the device watchdog status
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: !AASSCS

Invalid Command: ?AACS

!Delimiter for a valid command
?Delimiter for an invalid command
AAAddress of the device
SSTwo Hexadecimal digits indicating the host watchdog statusSS=00 – Watchdog timeout is clearedSS=04 – Watchdog timeout is set
[CS]Checksum
(CR)Carriage Return

Examples:

Read the host watchdog status and response is 00 meaning the host watchdog is disabled

Command: \~010(CR)

Response: !0100(CR)

Read the host watchdog status and response is 04 meaning that a host watchdog timeout has occurred.

Command: \~010(CR)

Response: !0104(CR)

8.28 \~AA1

Description:

Command to reset the watchdog timeout status of the device.

Command Syntax:

~AA1[CS](CR)
~Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
1Command to reset the watchdog timeout status
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: !AACS

Invalid Command: ?AACS

!Delimiter for a valid command
?Delimiter for an invalid command
AAAddress of the device
[CS]Checksum
(CR)Carriage Return

Examples:

Send command to reset the watchdog status and return valid response.

Command: \~011(CR)

Response: !01(CR)

8.29 \~AA2

Description:

Command to read the watchdog timeout value of the device.

Command Syntax:

~AA2[CS](CR)
~Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
2Command to read the watchdog timeout value
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: !AAEVVCS

Invalid Command: ?AACS

!Delimiter for a valid command
?Delimiter for an invalid command
AAAddress of the device
EWatchdog enabled statusE=1 – Watchdog enabledE=0 – Watchdog disabled
VVTwo hexadecimal digits representing watchdog timeout value in tenths of a second01 = 0.1 seconds, FF=25.5 seconds
[CS]Checksum
(CR)Carriage Return

Examples:

Send command to read the watchdog timeout value return valid response with FF meaning the watchdog timeout value is 25.5 seconds.

Command: \~012(CR)

Response: !011FF(CR)

8.30 \~AA3EVV

Description:

Command to enable/disable the watchdog and set the watchdog timeout value.

Command Syntax:

~AA3EVV[CS](CR)
~Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
3Command to read the watchdog timeout value
EWatchdog enabled statusE=1 – Watchdog enabledE=0 – Watchdog disabled
VVTwo hexadecimal digits representing watchdog timeout value in tenths of a second 01 = 0.1 seconds, FF=25.5 seconds
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: !AACS

Invalid Command: ?AACS

!Delimiter for a valid command
?Delimiter for an invalid command
AAAddress of the device
[CS]Checksum
(CR)Carriage Return

Examples:

Send command to enable watchdog and set the timeout value to 25.5 seconds.

Command: \~0131FF(CR)

Response: !01(CR)

8.31 \~AA4V

Description:

Command to read the power on value and safe value of the device.

Command Syntax:

~AA4V[CS](CR)
~Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
4Command to read the power on and safe value
VV=P – Read power on valueV=S – Read safe value
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: !AA(Data)CS

Invalid Command: ?AACS

!Delimiter for a valid command
?Delimiter for an invalid command
AAAddress of the device
(Data)For ED-588 - two digit hexadecimal value followed by 00.For ED-526 – four digit hexadecimal value.
[CS]Checksum
(CR)Carriage Return

Examples:

Send command to read the power on value. Power on value is DOut 0, DOut 2, DOut 4, DOut 6 to high and DOut 1, DOut 3, DOut 5, DOut 7 to low.

Command: \~014P(CR)

Response: !01F000(CR)

Send command to read the safe value. No safe value set.

Command: \~014S(CR)

Response: !010000(CR)

Note: This command is only available on devices with digital output channels.

8.32 \~AA5V

Description:

Command to set the current output value as the power on value or safe value.

Command Syntax:

~AA5V[CS](CR)
~Delimiter character
AAAddress of the device to be configured in hexadecimal format (00 to FF)
5Command to set the power on and safe value
VV=P – Set current output as power on valueV=S – Set current output as safe value
[CS]Checksum
(CR)Carriage Return

Response:

Valid Command: !AACS

Invalid Command: ?AACS

!Delimiter for a valid command
?Delimiter for an invalid command
AAAddress of the device
[CS]Checksum
(CR)Carriage Return

Examples:

Send command to set device current output as safe on value

Command: \~015S(CR)

Response: !01(CR)

Send command to set device current output as power on value

Command: \~015P(CR)

Response: !01(CR)

Note: This command is only available on devices with digital output channels.

9 Worked Hardware Examples

9.1 Output to a Light Circuit.

Brainboxes ED-504 - Output to a Light Circuit. - 1

flowchart
graph LR
    A["INH UL OUT02"] --> B["0"]
    B --> C["SMITCH"]
    C --> D["D OUT3 (Pin 5)"]
    C --> E["D OUT2 (Pin 4)"]
    C --> F["D OUT1 (Pin 3)"]
    C --> G["D OUT0 (Pin 2)"]
    C --> H["GND (Pin 1)"]
    D --> I["LAMP= OFF Resistor current= 0 OUTPUT PIN=24V"]
    E --> I
    F --> I
    G --> I
    H --> I
    I --> J["1"]
    J --> K["External Circuit 24VOLTS"]
    K --> L["LAMP= ON Resistor current= 24mA OUTPUT PIN=-0V"]
    K --> M["ALWAYS CONNECT EXTERNAL GROUND"]

9.2 Switch Input Circuit

Brainboxes ED-504 - Switch Input Circuit - 1

text_image 2 1 SW4 2 1 SW3 2 1 SW2 2 1 SW1 D IN4 (Pin 5) D IN3 (Pin 4) D IN1 (Pin 3) D IN0 (Pin 2) GND (Pin 1)

Brainboxes ED-504 - Switch Input Circuit - 2

text_image 2 1 SW4 2 1 SW3 2 1 SW2 2 1 SW1 D IN4 (Pin 5 ) D IN3 (Pin 4 ) D IN1 (Pin 3 ) D IN0 (Pin 2 ) GND (Pin 1 )

9.3 Digital Outputs: SINK

The ED-XXX outputs are current sinking outputs, they can easily pull the output down to ground but they cannot pull the output up.

These Sink Outputs act like a switch shorting the Digital Output to the GND pin.

When the Output is off the external, customer supplied, circuit pulls up to its supply Voltage, Vss.

Brainboxes ED-504 - Digital Outputs: SINK - 1

text_image Vss = 30v Max LOAD

The ED-XXX outputs are current sinking outputs, they can easily pull the output down to ground but they cannot pull the output up.

The +ve supply, Vss, to the load isn't related in any way to the ED power supply voltage,

Ensure that the external circuit Ground is connected to the ED Gnd connection.

The Maximum Current one ED port can sink is 1 Amp so large loads can be switched.

Vss = 30V Max

Brainboxes ED-504 - Digital Outputs: SINK - 2

text_image ax D OUT θ PIN 2 GND PIN 1 LOAD

9.4 Digital Outputs: TTL Compatible

TTL outputs must drive below 0.35V for logic Low, and above 3.3V for logic High.

The ED outputs can drive down to below 0.35V while sinking over 1A, so the Low side of the output spec is not a problem.

ED Sink outputs do not drive high, to make the outputs TTL (or 5V CMOS) compatible, add a pull-up resistor, say 10kΩ, from the outputs to 5V.

Ensure the external circuit Ground is connected to ED GND connection.

Brainboxes ED-504 - Digital Outputs: TTL Compatible - 1

text_image Vss = 5V D OUT θ PIN 2 GND PIN 1

9.5 Turning ON Indicator Light

The ED-XXX outputs are current sinking outputs, they can easily pull the output down to ground but they cannot pull the output up.

When an LED and resistor is connected as shown the LED lights when the Output is turned ON.

12V supply, 20mA current, 500 Ohm R.

The ED-XXX outputs are current sinking outputs, they can easily pull the output down to ground but they cannot pull the output up.

When RS part# 719-2522 , 7 Segment Display, is connected

12V supply, Vf=7.8V 20mA current, 210 Ohm R

8 x 20mA = 160mA still a small load even when all 7 segments plus decimal point are lit.

Brainboxes ED-504 - Turning ON Indicator Light - 1

text_image Vss = 12V D OUT θ PIN 2 GND PIN 1

Brainboxes ED-504 - Turning ON Indicator Light - 2

text_image 8

9.6 Turning ON Indicator Sounds

The ED-XXX outputs are current sinking outputs, they can easily pull the output down to ground but they cannot pull the output up.

When a Buzzer RS Part# 754-2003, and resistor are connected as shown the Buzzer sounds when the Output is turned ON.

Brainboxes ED-504 - Turning ON Indicator Sounds - 1

text_image Vss = 12V D OUT θ PIN 2 GND PIN 1

0v to 1V = "0"

9.7 Digital Inputs: NPN/PNP Compatible

ED-XXX Has 8 Digital Inputs.

Each Input can be individually set to accept either NPN or PNP signals.

Demo: ED-XXX IP address is 192.168.127.253

My PC IP= 192.168.127.250

Brainboxes ED-504 - Digital Inputs: NPN/PNP Compatible - 1

text_image NPN PNP Jumpers ED-008 TEHERNET TO REMOTE I/O DIGITAL I/O STATUS INIO ACTIVITY NETWORK POWER GND V+ GND +5V NPN PNP Ethernet interface Micro- controller Power supply +5V +3.3V D 0 +5V NPN PNP D 7

ED-XXX Has 8 Digital Inputs.

Each Input can be individually set to accept either NPN or PNP signals.

Set to LEFT For PNP.

Set to RIGHT for NPN.

Brainboxes ED-504 - Digital Inputs: NPN/PNP Compatible - 2

flowchart
graph TD
    A["Power supply"] -->|+5V +3.3V| B["NPN"]
    C["Ethernet interface"] --> B
    D["Microcontroller"] --> B
    E["GND"] --> B
    B --> F["D 0"]
    B --> G["D 7"]
    H["+5V"] --> I["NPN PNP"]
    style A fill:#f9f,stroke:#333
    style C fill:#f9f,stroke:#333
    style D fill:#f9f,stroke:#333
    style E fill:#f9f,stroke:#333
    style F fill:#ccf,stroke:#333
    style G fill:#ccf,stroke:#333
    style H fill:#fff,stroke:#333
    style I fill:#fff,stroke:#333

NPN PNP Jumpers

Brainboxes ED-504 - Digital Inputs: NPN/PNP Compatible - 3

text_image INPUT PNP NPN 7 6 5 4 3 2 1 0 LED06 R76 LED05 R73 LED1 R18 L13 J9

9.8 Digital Input/Output

A NPN Sensor

NPN Proximity Sensor Output is normally HIGH when nothing is near it

NPN Proximity Sensor Output goes LOW when metal object is near it

A PNP Sensor

PNP Proximity Sensor Output is normally LOW when nothing is near it

PNP Proximity Sensor Output goes HIGH when metal object is near it

Each sensor requires a Power Input of 12 Volts

A PNP Sensor is on DIO 5 = 020x

PNP Proximity Sensor Output is normally LOW when nothing is near it

PNP Proximity Sensor Output goes HIGH when metal object is near it

A NPN Sensor is on DIO 0 =01x

NPN Proximity Sensor Output is normally HIGH when nothing is near it

NPN Proximity Sensor Output goes LOW when metal object is near it

Brainboxes ED-504 - Digital Input/Output - 1

flowchart
graph TD
    A["NPN"] --> B["BROWN"]
    B --> C["+"]
    B --> D["BLACK"]
    B --> E["BLUE"]
    F["PNP"] --> G["BROWN"]
    G --> H["+"]
    G --> I["BLACK"]
    G --> J["BLUE"]

Brainboxes ED-504 - Digital Input/Output - 2

text_image PNP BROWN BLACK BLUE NPN BROWN BLACK BLUE + - + - + - ED-024 Sirop D'érable Pure PURE MAPLE SYRUP 5%0 mL

9.9 Dry Contacts

A "Dry" contact is so called because it doesn't have any voltage on it.

A switch is a typical dry contact.

Problem: If there is no voltage on it how do I tell whether its open or closed?

Switch is DI 02= Bit 4

Brainboxes ED-504 - Dry Contacts - 1

natural_image Close-up of a black toggle switch with a red indicator light (no visible text or symbols)

Brainboxes ED-504 - Dry Contacts - 2

natural_image Close-up of a black electrical switch with a red indicator light and mounting base (no visible text or symbols)

9.10 Detecting Dry Contacts

Set the User Configurable PNP/NPN Jumper to NPN

Dry Contact / Volt Free:

Logic Level 0: Short to GND

Logic Level 1: Leave unconnected, inputs pull high

Brainboxes ED-504 - Detecting Dry Contacts - 1

flowchart
graph TD
    A["Ethernet interface"] --> B["Microcontroller"]
    C["RS-485 interface"] --> D["Power supply"]
    E["VA"] --> D
    F["VB"] --> D
    G["GND"] --> D
    H["D+ D-"] --> A
    I["+5V"] --> J["NPN PNP"]
    K["DIn 0"] --> L["Diode"]
    M["DIn 15"] --> N["Diode"]
    O["Ground"] --> P["Ground"]

9.11 Dry Contact: PIR Detector

Inputs: A relay is a dry contact.

PIR Alarm = DIO 1 = 02x

9.12 Sensors & Actuators

Sensors:

Sensors: Connect to Inputs

Sensor: a mechanical device sensitive to light, temperature, radiation level, or the like, that transmits a signal to a measuring or control instrument.

Actuators:

Actuators: Connect to Outputs

What can I Control?

Actuator: a servomechanism that supplies and transmits a measured amount of energy for the operation of another mechanism or system.

Brainboxes ED-504 - Sensors &amp; Actuators - 1

natural_image Exterior view of a modern office building (no signage)

10 Lifetime Warranty and Support

To receive the lifetime Warranty, you need to register your product with us using our online form.

NB: this must be done within 28 days of Purchase.

Brainboxes ED-504 - Lifetime Warranty and Support - 1

Lifetime Warranty Sign up

* Terms and Conditions are available online. Standard warranty period is 3 years if a product is not registered.

Brainboxes ED-504 - Lifetime Warranty and Support - 2

Since 1983, Brainboxes have designed, tested and manufactured our products all under one Roof. One of our greatest strengths is in after sales service. Technical Support is provided by members of our Test Team, who know our products inside out and have direct access to the chip and board designers as well as the technicians who built and tested your product.

If you have any issues, questions or suggestions about our Products and Services, then please contact us.

Technical Support is free*. As long as you have a Brainboxes Product we will be happy to help, even if it's discontinued or out of warranty. Excellent Customer Service, just as it should be.

For the quickest solution to your issue, if you email us, please include as much detail of your setup and the fault you are experiencing.

* Standard rate call charges for phone support apply.

Email

Technical Support: support@Brainboxes.com

Sales Enquiries: sales@Brainboxes.com

Telephone

You can speak to Brainboxes Support or Sales teams direct,

Monday – Friday, 9am to 5pm (UK time)

Tel: +44 (0)151 220 2500

11 Regulatory Approvals / Compliance

For up to date details of global certifications, please check the product datasheet on the Brainboxes website: www.brainboxes.com

11.1 Company Accreditation

Brainboxes is accredited to internationally recognised standards for our Quality and Environmental Management Systems. Our ISO9001 Quality System was first accredited in 1994, followed by our ISO14001 Environmental System in 2008. These standards help ensure we can demonstrate effective management of all our quality systems and our environmental impacts, together with a process of continuous improvement.

All our Quality systems are subject to internal and external assessment on a regular basis. Copies of Certificates are available for download from our website: www.brainboxes.com

Linked with our Lean and Six Sigma techniques, we believe we have the most reliable products on the market, and to back this up we are offering a Lifetime Warranty* on all our Serial Products.

11.2 Europe – EU Declaration of Conformity

Brainboxes products are designed to conform to the protection requirements of European Council Directive 2004/108/EC and its subsequent revisions.

A Declaration of Conformity and supporting Technical Construction File is available by request from Brainboxes and will identify any updated legislation that may have been introduced since the publication of this Manual.

Warning: This is a Class A Product. In a domestic environment this product may cause interference in which case the user may be required to take adequate measures to address this.

11.3 WEEE Directive (Waste Electrical and Electronic Equipment)

The Waste Electric and Electronic Equipment (WEEE) Regulations 2013 became law in the UK on the 1st of January 2014 and replaced the 2006 Regulations. Brainboxes is fully compliant with this legislation.

Customer Responsibilities

You are encouraged to dispose of WEEE in an environment friendly way.

This can be done through your local civic amenities site, an approved treatment facility or alternatively through a relevant compliance scheme.

Brainboxes' Responsibilities

Brainboxes has a legal responsibility, as producer, to provide a free of charge collection service to our customers for our obligated WEEE.

Brainboxes is defined as a producer under the WEEE regulations because we sell own brand Electrical & Electronic Equipment (EEE) in the UK. Our WEEE Producer Registration Number is WEE/AH0004XR.

For details of our WEEE recovery service options, please see our Website, or email us at:

weeerecovery@Brainboxes.com

11.4 RoHS Compliance

All Brainboxes products are fully RoHS compliant.

Brainboxes identified at an early stage the importance of rapid compliance to RoHS guidelines and established a project team to actively manage the transition. The initial step in the process was to use our close relationships with suppliers to ensure early access to RoHS compliant components for all of our Products. In addition, the project team worked to ensure that our manufacturing processes meet all RoHS requirements well in advance of the deadline.

Brainboxes ED-504 - RoHS Compliance - 1

To verify supplier declarations on RoHS compliancy, we have also sent fully built products to an external test house for X-Ray system XDAL. This technique is capable of determining percentages of different elements and is accurate to 0.1% Wt.

RoHS Compliant Brainboxes products have been available since January 2005.

What is the RoHS Directive?

The Restriction of the Use of Certain Hazardous Substances (RoHS) in Electrical and Electronic Equipment (EEE) Directive (2011/65/EU) was transposed into UK law on 2 ^nd January 2013. The RoHS directive is now part of and a requirement for the CE directive. All Brainboxes products carry the CE mark to indicate compliance. For clarity Brainboxes may continue to highlight RoHS compliance on the product label, but the CE marking alone should be taken as certification of compliance.

Brainboxes ED-504 - RoHS Compliance - 2

This legislation bans the placing on the EU market of new EEE containing more than the agreed levels of:

lead (Pb)
cadmium (Cd)
mercury (Hg)
hexavalent chromium (Cr6+)
polybrominated biphenyls (PBB)
polybrominated diphenyl ethers (PBDE) 

Any future revisions to this legislation will be complied with, and identified in a Declaration of Conformity, available on request.

All rights reserved. No part of this hardware, software, circuitry or manual may be duplicated, copied, transmitted or reproduced in any way without the prior consent of the Manufacturer.

Table of contents Click a title to access it
Manual assistant
Powered by Anthropic
Waiting for your message
Product information

Brand : Brainboxes

Model : ED-504

Category : Uncategorized