Fohhn-Net Technical Manual

Similar documents
IF96017 MODBUS COMMUNICATION PROTOCOL

Conto D2 COMMUNICATION PROTOCOL CONTENTS 1.0 INTRODUCTION

Technical Specification. Third Party Control Protocol. AV Revolution

Logosol Joystick Node LS-731

CE4DMID01 COMMUNICATION PROTOCOL CONTENTS 1.0 INTRODUCTION

COMMUNICATION MODBUS PROTOCOL

COMMUNICATION MODBUS PROTOCOL MF96001 / 021 NEMO 96HD

VS-LC101/ VS-LC102 RS-232 command set

COMMUNICATION MODBUS PROTOCOL

Conto D1 MODBUS COMMUNICATION PROTOCOL

RS485 MODBUS Module 8I8O

PRE32 RS232 protocol v1.21 Tomas Andersson

Application Note: Using Modbus With the Conext CL Series. Important Safety Instructions

RS485 MODBUS Module 16I-M

COMMUNICATION MODBUS PROTOCOL

Chapter 5: Communications 5 1 SR55 Communications Overview 5 2

COMMUNICATION MODBUS PROTOCOL

TORRIX RS485. Technical Documentation. with MODBUS Protocol. Edition: Version: 3 Art. no.:

Sommario. COMMUNICATION PROTOCOL PR 150 Rev. A 31/01/2018 Pag 1 Multifunction Firmware NEMO 96 EA ModBus

Interface design document MODBUS Protocol. Ab s t r a c t Description of the MODBUS implementation for the Modbus I/O board

The RS-485 user manual for B800 series communication

Protocol VIT5. Communications RS485. Version 1.0. Pg.Up ENTER. Pg.Up ENTER. Pg.Up ENTER. Pg.Up ENTER. Pg.Up ENTER. Pg.Up ENTER. Pg.Up ENTER. Pg.

SC2004MBS 20x4 Characters MODBUS RTU Slave LCD

Custom Installation Notes IP/Serial programming interface and IR remote control commands for the SA10/SA20 integrated amplifier

MODBUS Protocol. The ecode Encoders contain both single register (16 bit) and double register (32 bit) values.

TORRIX RS485. Technical Documentation. with MODBUS Protocol. Edition: Version: 2 Art. no.:

KRAMER ELECTRONICS LTD. USER MANUAL MODEL: VS-808TP 8x8 Twisted Pair Matrix Switcher. P/N: Rev 1

RS485 MODBUS Module 8AO

RS232-ADC16/24 Manual

RS 485 Mini Modbus 1AO

Blaupunkt ( DMS?? ) Page 1 of 13

Application Note BDLxxxx RS232 SERIAL INTERFACE COMMUNICATION PROTOCOL (SICP V1.82)

SC1602LCPro-YG ( Yellow Green Backlight ) SC1602LCPro-B ( Blue Backlight ) Large Character Size ( 4.88x9.66 mm )

CAN / RS485. Product Description. Technical Reference Note. Interface Adapter. Special Features

ECAN-240. (Modbus TCP to 2-port CAN Bus Gateway User manual) ECAN-240 Modbus TCP to 2-port CAN Bus Gateway User Manual, Version 1.0.

Home Automation, Inc. Omni-Link. Serial Protocol Description

RS232 User Guide. Planar Simplicity Series 4K Displays SL4364K SL5564K SL6564K SL7564K SL8664K. Simplicity Series 4K Displays User Guide A

CTT MODBUS-RTU COMMUNICATION PROTOCOL TEMPERATURE MONITOR DEVICE

RS485 MODBUS Module 8I8RO

Titan Dot Matrix Display (A05)

C1098 JPEG Module User Manual

Venstar Thermostat Adapter

THANK YOU. Control System Communication Protocol Manual RackLink. Monitor Control Alert Report Analyze. Thank you for purchasing a RackLink product.

MODEL TDAI-2170 INTEGRATED AMPLIFIER EXTERNAL CONTROL MANUAL

Communications Protocol

RTD-W Installation Instructions

A2005/7 System Control Protocol

PROTOCOL TRANSPORTS 4 RS232 SPECIFICATIONS 4 RS232 CABLING 4 TCP/IP 4 PROTOCOL DOCUMENT NOTES 4 COMMUNICATION 4

JPEG2000 HDTV RECORDER

Powermax45 XP/65/85/105/125 Serial Communication Protocol

Gateway 1400 Reference Manual

Manual CMM_III.

USER S MANUAL. PH485Ex1. #1 RS-485 Serial Port to Ethernet, Terminal Server/Client. Doc No: PH485Ex1-UM-001 IPEX. (IP Electronix)

Appendix) Specifications of Monitor & Control Rev. 4.0 July 13, 2016

FLAT WIDE DISPLAY FWD-50PX1. PROTOCOL MANUAL (USER CONTROL ONLY) 1st Edition

The MMDVM Specification ( )

SC1602LC 16x2 Large Characters RS232 LCD Module. User s Manual. Large Viewing Area 99mm x 24mm. Large Character Size. 4.84mm x 9.66mm.

SDM-8I8O. Expansion Module 8 digital inputs, 8 digital outputs. Manufactured for

DAC 8. RS 232 Control

Card Dispensing/Collecting Machine

RS 232 Interface. RS 232 is the Serial interface on the PC. Three major wires for the Serial interface: Transmit Pin 2 Receive Pin 3

Custom Installation Notes: Serial programming interface and IR remote commands for Arcam UDP411 BD Player

SDM-8AO. Expansion Module 8 analog outputs. Manufactured for

MPU-32 AND FPU-32 TIA-485 NETWORK

Custom Installation Notes: Serial programming interface and IR remote commands for Arcam D33 DAC

IQ Home Modbus-RTU Master

Serial Communication Prof. James L. Frankel Harvard University. Version of 2:30 PM 6-Oct-2015 Copyright 2015 James L. Frankel. All rights reserved.

EMS_ _Measure_MonoPh_R_2P_ModbusTable_LG_EN_v1.01.xlsx

CONTO IMP PROTOCOL COMMUNICATION CONTENTS 1.0 INTRODUCTION

CLOCKAUDIO. MR88 Automatic Microphone Mixer RS232 Programming Version 4.2

KRAMER ELECTRONICS LTD. USER MANUAL MODEL: VS-801USB 8x1 USB Switcher. P/N: Rev 3

AU5017. General Description

Application Note IC-2-RS485

User Manual. Multi-display Control Module Protocol MCS. dedicated KVM switch and rackmount screen technology

Generic RS232 protocol

Custom Installation Notes: Serial programming interface for Arcam A/V processors & receivers

Russound Dual Tuners (ST2, ST2-XM, ST2-XM2, and ST2S)

MCW Application Notes 24 th February 2017

TECH TIP. Tritex Modbus Protocol Specification

Sample F4T 32-bit Modbus RTU Packet

Interface Card, Interface Box, Datalogger & Interface. Bedienungsanleitung. Kommunikationsprotokoll. Operating Instructions. Communications protocol

Tango. alpha nea. Thermometers and controllers with digital communication - Series AM

DAC 8 DSD. RS 232 Control

4.6 PT8AIIS ISOLATED ANALOG CURRENT INPUTS Description

Data Communication Protocol Host Computer to FAS-A

ambient XC RS232 Control Command Specification

Sample F4T 32-bit Modbus RTU Packet

N700E Inverter RS485 Interface Instruction Manual

This document hosted by: 10. OPTIONS

HDLC-USB. Portable Protocol Converter. Rev. Dec 25, Datasheet. Website:

DMTME Multimeters. Communication protocol. Technical specification V1.2 ABB

1. Implemented CM11 protocol

Optidrive VTC Modbus RTU Register Map

PLENA matrix API Table of contents en 3

Kramer Electronics, Ltd. USER MANUAL. Model: TP Channel UXGA/Audio/RS-232 to CAT 5 Transmitter

KNJN I2C bus development boards

VPGate Manual PROFIBUS to serial

FULMATIC 7 SILVER SERIES PLC PLC USER S MANUAL

PROFIBUS Gateway for MCD 3000 Series Soft Starters. User Manual

Chapter 2 Number System

Transcription:

Fohhn-Net Technical Manual 1 Introduction... 2 1.1 Fohhn-Net basics... 2 1.2 Interface parameters... 2 1.3 Electrical parameters... 2 1.4 Fohhn-Net serial RS-485 parameters... 2 1.5 Cable types... 3 1.6 Large installations... 3 1.7 NA-3 Fohhn-Net Ethernet adapter... 3 1.8 Devices with integrated Dante input interfaces... 3 2 The Fohhn-Net Protocol... 4 2.1 Basics... 4 2.2 Fohhn-Net structure... 4 2.3 Encoding of reserved bytes... 5 2.4 Data types... 5 3 Presets... 6 3.1 Load a user preset... 6 4 Device settings... 7 4.1 Change device standby... 7 4.2 Get device standby... 7 5 Check status information... 8 5.1 Get device information... 8 5.2 Read signals... 8 5.3 Read protect and temperature... 9 6 Set DSP parameters... 10 6.1 Set absolute volume... 10 6.2 Set relative volume... 11 6.3 Set routing and input gain... 12

1 Introduction This manual is intended for users who want to develop their own media control drivers for direct Fohhn-Net access. 1.1 Fohhn-Net basics Fohhn-Net is based on RS-485. We recommend you to equip your media control with a RS-485 (EIA- 485) module in order to connect to and control Fohhn-Net devices. In doing so, you can also control several Fohhn-Net devices with just one RS-485 module, since signals can be linked through to the next device (daisy chain). 1.2 Interface parameters Fohhn-Net uses a half-duplex 2-wire RS-485 connection. Most of the Fohhn-Net devices have RJ-45 connectors or terminal blocks as interface socket. 1.3 Electrical parameters Signal RJ-45 XLR Shield / GND Shield Pin 1 DATA+ Pin 3 + Pin 6 Pin 2 DATA- Pin 4 + Pin 5 Pin 3 1.4 Fohhn-Net serial RS-485 parameters 19200 baud 1 start bit 8 data bits 1 stop bit no parity no flow control Some systems only allow baud-rate, start bit and data bit configurations. Current systems only use one stop bit as default.

1.5 Cable types Most modern installations will require twisted pair CAT-7 cables. However, the RS-485 standard will also support other types of cables: twisted pair CAT-5 or CAT-7 J-Y(ST)Y 2 x 2 x 0.6 (2 x 2 x 0.6 mm 0.8 mm) often used for ISDN infrastructures microphone cables Please make sure that no analogue audio signal is transferred via the same cable, for you might hear some interference caused by the data signal. 1.6 Large installations If you have more than 32 devices, you must use several separate RS-485 lines. However, even if you have less than 32 devices, it may be useful to split the system into multiple RS-485 lines for easier handling and faster response. 1.7 NA-3 Fohhn-Net Ethernet adapter If mere IP based communications are possible, you can use Fohhn NA-3 Ethernet Adapters as a bridge between Ethernet and Fohhn-Net. The NA-3 and the Fohhn-Net devices have no authentication possibilities, thus you have to make sure that the NA-3 can only be reached via your control devices and your control PC (with a dedicated Ethernet or a port based VLAN configuration, for example). Each NA-3 requires a fixed IP address and your control device to be in the same IP range (the NA-3 cannot reply via router). To avoid communication drop outs, you have to make sure that the NA-3 is not flooded with broadcast packages from other applications (the NA-3 has a 10 Mbit Ethernet connection). Identical binary data must be sent as a UDP package to both the IP address of the NA-3 and UDP port 2101. In turn, the NA-3 adapter transfers the data via its RS-485 port to the respective Fohhn-Net devices. The adapter also sends a reply from the Fohhn-Net device as a UDP package to both the source IP address and the source port of the last request. The NA-3 uses the Fohhn-Net ID 1 as default. For your other Fohhn devices, such as controllers or amplifiers, you will have to change its ID or use a Fohhn-Net ID other than 1. 1.8 Devices with integrated Dante input interfaces Set up a static IP address to the Dante input interface. Identical binary data must be sent as a UDP package to both the IP address of the Dante input interface and UDP port 2101. In turn, the Dante input interface transfers the data to the device. The adapter also sends a reply from the Fohhn device as a UDP package to both the source IP address and the source port of the last request.

2 The Fohhn-Net Protocol 2.1 Basics Fohhn-Net is a binary protocol. In this document, each byte is represented as a hex value, marked with 0x (the hex value is equivalent to the decimal value 240, for example). The byte order for 16-bit values is always big-endian. As Fohhn-Net is not based on strings, you don t have to send any carriage return or line feed characters at the end. 2.2 Fohhn-Net structure A command consists of seven bytes at the minimum, a six bytes header and at least one data byte. The header begins with the start byte <SB> followed by the device address, data byte count, the command and two address bytes. 1. Byte <SB> 2. Byte <ID> 3. Byte Databyte <COUNT> 4. Byte Byte <CMD> 5. Byte Address MSB <ADR_MSB> 6. Byte Address LSB <ADR_LSB> 7. Byte Databyte 1 <DATA> // min. one databyte N. Bytes Optional <DATA> The device replies with at least two bytes, its device address and the start byte as finish. Depending on the command, the device replies with some data bytes before the last two bytes. If the reply is not received within 350 ms, you can presume a timeout. Your media control system must always wait for the reply or a timeout before sending a command to the next device. Please note that Fohhn-Net is a serial protocol, whereby a reply from the device is not guaranteed. Your control system should be fault-tolerant and retry each command three times if it does not receive a reply. If the control system does not receive a reply for three consecutive times, one can assume that the device is not reachable. Make always sure that the system waits for at least 350 ms before trying again. N Data bytes <DATA> // optional N+1 Byte <ID> N+2 Byte <SB>

2.3 Encoding of reserved bytes As the Fohhn-Net protocol has a start byte <SB> and a control byte <CB>, both must never occur in one message. If the data (each byte, except the start byte) contains the value of a start byte or a control byte, it must be encoded with the control byte <CB>. The value of the start byte <SB> is. The value of the control byte <CB> is 0xFF. If the values from both <SB> and <CB> are needed in user data, you have to encode them with two separate bytes. <CB> + = <CB> + = 0xFF The control byte does not count as an extra byte in data byte count. In the same way, the device encodes its reply data, with the exception of the last byte <SB>. 2.4 Data types Data type Size Min Max unsigned byte 8-bit 0 255 signed byte 8-bit -128 127 unsigned word 16-bit 0 65.535 signed word 16-bit -32.768 32.767

3 Presets 3.1 Load a user preset A user preset contains all DSP settings of a device. A preset always loads ALL DSP settings: One cannot load just certain parts of a preset. A user preset does not include a speaker preset or an amplifier preset; these system settings are not exchangeable with user presets. structure for preset loading Databyte Byte 0x05 ADR_MSB ADR_LSB.. 0x64 // preset nr. Databyte 1 Examples: load preset 20 24 for device 1 0x05 0x14 // preset 20 0x05 0x15 // preset 21 0x05 0x16 // preset 22 0x05 0x17 // preset 23 0x05 0x18 // preset 24 Examples: load preset 20 24 for device 2 0x02 0x05 0x14 // preset 20 0x02 0x05 0x15 // preset 21 0x02 0x05 0x16 // preset 22 0x02 0x05 0x17 // preset 23 0x02 0x05 0x18 // preset 24

4 Device settings 4.1 Change device standby Most devices switch off the amplifier section in standby mode. structure for setting device standby ADR_MSB ADR_LSB Flags 0x0C // command Standby // Standby Example for changing standby for device 1 0x0C // Standby 0x0C // On 4.2 Get device standby (Not available on all devices!) structure for getting device standby ADR_MSB ADR_LSB DATA 0x0A // command Readback 0x0C // get Standby Flags // Standby Flag

5 Check status information 5.1 Get device information Device request command structure ADR_MSB ADR_LSB DATA 0x20 // command GetDeviceInfo CLASS_H CLASS_L VERSION0 VERSION1 VERSION2 5.2 Read signals structure to request signal levels ADR_MSB ADR_LSB DATA 0x8D OUTPUT1.. OUTPUT6 INPUT1.. INPUT4

Signal reply depends on the number of output and input channels. A device with one input channel and one output channel only returns two bytes, a device with six output channels and four input channels returns ten bytes. Each byte (signed value) represents the gain in db. 5.3 Read protect and temperature structure to request protect and temperature ADR_MSB ADR_LSB DATA 0x07 PROTECT TEMPH TEMPL OPT PROTOTECT byte structure BIT0 // Protect Status for Channel 1 BIT1 // Protect Status for Channel 2 BIT2 // Protect Status for Channel 3 BIT3 // Protect Status for Channel 4 The PROTECT byte contains bit flags. A high bit means a failure. AIREA devices use the second bit for AES/EBU valid; Linea Focus and Focus Modular devices (such as LFI-120/220/350/450 and FMI-100/110/400) use the second bit for pilot tone status. TEMP is a 16-bit signed value for temperature; you have to divide the value by 10 to get the exact temperature in C. OPT is used for AIREA-Net voltage.

6 Set DSP parameters Each DSP channel has a specific value. These channel values are valid for FC-8, FC-9, D-Series amplifiers, current Linea Focus and Focus Modular speaker systems, AIREA system extensions and active Fohhn subwoofers. Channel 1: Channel 2: 0x02 Channel 3: 0x04 Channel 4: 0x08 Channel 5: 0x10 Channel 6: 0x20 6.1 Set absolute volume structure for setting absolute volume 0x03 0x87 // command SetVolume Channels // channels Index VolumeH // volume VolumeL // volume Flags // flags Examples for setting volume for device 1 on channel 1 0x03 0x87 0x03 0x87 0x03 0x87 0xFF 0xB5 0x03 0x87 0x3C 0x03 0x87 0xFE 0x70 // 0.0 db On // 0.0 db Mute // -7.5 db On // +6.0 db On // -40.0 db On The volume is a 16-bit signed value (value * 10). +6.0 db has a value of 60, in hex 3C, VolumeH and VolumeL 0x3C. -40.0 db has a value of -400, in hex 0xFE70, VolumeH 0xFE and VolumeL 0x70. Flag is on, is mute. The flag 0x02 will invert the output, thus 0x02 is off and inverted, and 0x03 is on and inverted.

6.2 Set relative volume A relative volume change is useful for volume up and down buttons. It s not possible to set a range. structure for relative volume settings Channels Index VolumeH VolumeL Flags 0x03 0x96 // command SetVolumeRelative // channels // volume // volume // flags Examples for relative volume change for device 1 on channel 1 0x03 0x96 0xFF 0xF6 0x03 0x96 0x0A // -1.0 db On // +1.0 db On Set output mute The relative volume command can be used for an output mute without changeing the volume. Just use a relative volume change of zero. Examples for output mute for device 1 on channel 1 0x03 0x96 0x05 // On ( Unmute ) 0x03 0x96 // Off ( Mute ) Flag is on, is mute and 0x05 is switching on (unmute). If you send, the channels stay on, but will not unmute if they are already muted. In order to unmute them, send 0x05.

6.3 Set routing and input gain structure for set routing Channels Index GainH GainL Flags 0x03 0x81 // command SetRouting // channels 0x0X // input channel // gain // gain // flags Channel values for input channels: Input 1: Input 2: 0x02 Input 3: 0x03 Input 4: 0x04 Examples for routing settings for device 1 on output channel 1 0x03 0x81 // Input 1 0.0 db On 0x03 0x81 0x02 // Input 2 0.0 db On 0x03 0x81 // Input 1 0.0 db Off 0x03 0x81 0x02 // Input 2 0.0 db Off