background image

Page 24 of 24

RS-232 command

Below are the settings for the COM port. For all commands the mandatory start sequence look 

like this: NEUNIT=<A>,RS232=<B> 

Where <A> as default is 1, and <B> is the COM port number to use. All commands must be 

started with a “,” and all lines must end with a \CR

Description:

Syntax

<A>

Default <A>

R/W

Data container.

Each byte must be converted 

to a 2 byte ASCII value.

Fx: “Neets” becomes 

“4E65657473”

DATA=<A>

Up to 500 byte of 

date

R/W

Example of use: 

NEUNIT=1,RS232=2,DATA=4E65657473\CR send “Neets” on RS232 port 2

IR command (Advanced users)

On the Tx 1 and 2 it is also possible to send IR codes. Sending IR codes is only possible when con-

trolling the unit over LAN.

Before you start working with sending IR commands it is important to understand that this part 

of the system are intended for advance users and requires a high level of IR code knowledge. 

The format of the IR code that are used are a common used format. This allows you to easily find 

IR codes from other sources than Neets, e.g. www.remotecentral.com 

If you want to control things like volume on a device you should remember to retransmit the IR 

command as long as you want the volume to change. (Remember to wait for the acknowledgement 

of sending IR command before sending the next) 

Below are the settings for the IR. For all commands the mandatory start sequence look like this: 

NEUNIT=<A>,IR=<B> 

Where <A> as default is 1, and <B> is the IR port number to use. All commands must be start-

ed with a “,” and all lines must end with a \CR

Description:

Syntax

<A>

Format

R/W

Data container.

The data are in RAW IR code 

format. Can be copied directly 

from Neets Device Editor.

DATA=<A>

Up to 500 byte of 

date

xxxx yyyy …. zzzz

R/W

Example of use: 

NEUNIT=1,IR=2,DATA=0000 006D 0022 0002 0155 00AB 0015 0040 0016 0015 0015 0015 

0016 0040 0015 0040 0016 003F 0016 0040 0015 0015 0016 0015 0016 003F 0016 0040 

0015 0015 0016 0015 0016 0015 0015 0015 0016 0040 0015 0040 0016 0015 0015 

0015 0016 0015 0016 0015 0015 0015 0016 0015 0016 0015 0015 0015 0016 0040 

0015 0040 0016 003F 0016 0040 0015 0040 0016 003F 0016 0040 0015 05E9 0156 0055 

0016 0E3F\CR  <-Sending a IR command on the Tx 2 port.

Summary of Contents for Switching Relay - 8

Page 1: ...Neets Switching Relay 8 Installation Manual Neets Switching Relay 8 Installation Manual...

Page 2: ...this manual can be addressed to your local distributor or Neets A S Langballe 4 8700 Horsens Denmark by E Mail Support Neets dk or you may use our contact form at www neets dk Revision list This docum...

Page 3: ...components inside These openings must never be blocked by other objects Do not use this equipment near water To reduce the risk of fire or electric shock do not expose this apparatus to rain or moistu...

Page 4: ...ont panel USB 11 How to connect 12 How to control Switching Relay 8 through USB 13 How to upgrade the Firmware 14 How to connect several relay boxes to a RS 232 Line daisy chaining 14 Change the ID nu...

Page 5: ...g with relay switching functions Relay 8 incorporates a full range of options for real time system control including RS 232 IR or LAN All functions are easily configurable through LAN using Neets conf...

Page 6: ...rent 0 5 A Connector 5 pin screw block IR Transmit frequency 400 Hz to 500 KHz Approvals IEC EN 61000 6 1 IEC EN 61000 6 2 Network LAN Speed 10 100 Mbit Duplex modes Half or Full DHCP Default off Defa...

Page 7: ...rculation around the unit is needed for reliable performance If installed in a closed environment forced air circulation may be needed Mounting the unit in a 19 rack The Relay 8 can easily be installe...

Page 8: ...ecure with the M6x10 screws 3 The unit is now ready to be connected with all peripherals as needed made in Denmark control input output relay 1 2 3 4 5 6 7 8 in 0 0 0 0 0 0 0 0 out 0 0 0 0 0 0 0 0 1 2...

Page 9: ...ct and use the different ports AC Line Connect the Relay 8 to the AC line supply using the supplied power cable The supplied cable will be equipped with a line socket connector for use in the country...

Page 10: ...need to prevent ground loops Neets IEC Mains Adaptor When used as single IR port Connect the IR emitter to T1 white striped wire and GND as shown above When used as RS 232 transmit port Connect the de...

Page 11: ...VDC but below 24 VDC to be accepted as HIGH The inputs are de fault HIGH and must be connected to ground in order to change state For each input there is a led on the front of the Relay 8 The led ind...

Page 12: ...8 Our I O can interface with all system that can pull the Input low To test this simply make a short circuit between the I O pin and GND to active the relay If the Relay 8 has been used before it is r...

Page 13: ...making the above configuration you add an extra safety level to your installation The mutual blocking prevent that power can be connected to both up and down at the same time How you control this con...

Page 14: ...a id number Default 1 that allows you to define what unit a command should be handled by If the Relay 8 device a command on Tx1 that has a id number different from itself it will re transmit the comm...

Page 15: ...tput relay 1 2 3 4 5 6 7 8 in 0 0 0 0 0 0 0 0 out 0 0 0 0 0 0 0 0 1 2 3 4 5 6 7 8 test 0 0 0 0 0 0 0 0 on 0 0 0 0 0 0 0 0 RS232 IR 1 2 rx 0 0 tx 0 0 rk control input output relay 1 2 3 4 5 6 7 8 in 0...

Page 16: ...is an error in the system it will be displayed on the front of the Relay 8 On error the power led will flash red The above led is flashing Unexpected Error Turn off the power to the control system fo...

Page 17: ...umber B When constructing the command this part must be replaced with a sting or number CR Every command line must end with a carriage return Carriage return is commonly referred to as CR or if you ne...

Page 18: ...datory that the start of the sequence look like this NEUNIT A Where A as default is 1 All commands must be started with a and all lines must end with a CR Description Syntax A Default A R W Save the c...

Page 19: ...F Full duplex H Half duplex SPEED A 10F 10H 100F 100H AUTO 100F R W Set control TCP Port IPPORT A 0 65555 5000 R W Get the MAC address of the unit MACADDRESS A xx xx xx xx xx R Set the multicast addr...

Page 20: ...ances the action from latch to momentary in this time TIME A 0 6500 0 0 W Example of use NEUNIT 1 RELAY 1 ACTION SET TIME 10 5 CR This command sets relay 1 in 10 5 seconds To get the current status of...

Page 21: ...0 6500 0 second 0 R W Example NEUNIT 1 SETTINGS SCREEN SCREEN 2 ENABLED TRUE CR Combine IO 3 and 4 on screen mode Example NEUNIT 1 SETTINGS SCREEN SCREEN 2 UPTIME 35 DOWNTIME 30 BLOCKTIME 1 5 CR Set s...

Page 22: ...t applies for all IO In PULL mode you have to request the status of all input you want to know the state of like this NEUNIT 1 SET TINGS IO MESSAGE PUSH CR In PUSH mode the Relay 8 will send a message...

Page 23: ...IO 2 ACTION SET TIME 10 5 CR This command sets IO 2 in 10 5 seconds RS 232 settings Below are the settings for the RS232 For all commands the mandatory start sequence look like this NEUNIT A SETTINGS...

Page 24: ...from other sources than Neets e g www remotecentral com If you want to control things like volume on a device you should remember to retransmit the IR command as long as you want the volume to change...

Reviews: