www.reinhausen.com Voltage Regulator TAPCON 230 expert Supplement 2195774 to Operating Instructions 2136339 Device Profile Document MODBUS
2009 All rights reserved, Maschinenfabrik Reinhausen Unauthorised copying and distribution of this document and the utilisation and communication of its contents are strictly prohibited unless expressly authorised. Offenders will be held liable for the payment of damages. All rights reserved in the case of registration of a patent, utility model or registered design. The product may have been modified after this document went to press. We expressly reserve the right to make changes to the technical data, the design or the scope of delivery. The information provided and the arrangements agreed during processing of the relevant quotations and orders are strictly binding.
Inhaltsverzeichnis 1 General... 5 1.1 Introduction... 5 1.2 Abbreviations used... 5 2 Communication Interface Ports... 7 2.1 Settings on the voltage regulator... 8 2.1.1 RS-232... 8 2.1.2 RS-485... 8 2.1.3 Ethernet (RJ45)... 9 2.1.4 Optical Fiber... 9 3 Protocol specification...11 3.1 Function codes... 11 3.2 Exception codes... 11 3.3 MODBUS adressing model... 12 4 Device Data Points... 13 4.1 Coils... 13 4.2 Input Status... 15 4.3 Holding Registers... 18 4.4 Input Registers... 19 Maschinenfabrik Reinhausen 2009 2195774/00 EN TAPCON 230 expert 3
1 General 1.1 Introduction This implementation of the MODBUS communication protocol (ASCII and RTU mode) in the TAPCON 230 expert is based on the Modicon MODBUS 1 Protocol Reference Guide, PI-MBUS-300 Rev. J, copyright 1996 by Modicon Inc. This document details the implementation subset available in a TAPCON 230 expert voltage controller equipped with the optional communication interface module (CI-module). Refer to the documentation of TAPCON 230 expert available at Maschinenfabrik Reinhausen or www.reinhausen.com for additional information on the TAPCON 230 expert voltage controller. 1.2 Abbreviations used Abbreviation ASCII IP LSW MSW RTU SCADA Table 1 Definition American Standard Code for Information Interchange Internet Protocol Least Significant Word Most Significant Word Remote Terminal Unit Supervisory Control and Data Acquisition Abbreviations used 1 MODBUS is registered trademark of Modicon, Inc. Maschinenfabrik Reinhausen 2009 2195774/00 EN TAPCON 230 expert 5
2 Communication Interface Ports Figure 1 Ethernet Optical Fiber RS 485 RS 232 Communication Interface Ports For data transfer via MODBUS protocol the voltage regulator provides the follwing communication interface ports: Table 2 RS-232 RS-485 Ethernet (RJ45) Optical Fiber 9 pin female SUB-D connector Pin 2: TxD Pin 3: RxD Pin 5: GND 3 pin male connector from Phönix MSTB 2,5/3-GF-5 Pin 1: GND (100 Ohm ground resistance) Pin 2: B (inverting) Pin 3: A (non inverting) Polarity: A > B for more than 200 mv equates to 1 B < A for more than 200 mv equates to 0 A disabled communication line equates to 1 The Startbit is labled with 0 The recommended terminating resistor is 120 Ohm. Optional Ethernet or Modem interface Pin 1: Tx+ Pin 2: Tx- Pin 3: Rx+ Pin 6: Rx- FH-ST connector (850nm oder 660nm) F-SMA connector (850nm oder 660nm) Communication Interface ports Maschinenfabrik Reinhausen 2009 2195774/00 EN TAPCON 230 expert 7
2.1 Settings on the voltage regulator Getting started with MODBUS communication some parameters must be set on the TAPCON 230 expert. MENU-key > Configuration > Continue > Continue > Comm. Interface For further instructions on setting the configuration parameters please refer to the user manual of the TAPCON 230 expert voltage regulator. 2.1.1 RS-232 Communication protocol Communication port Communication baud rate IP address TCP port Light On/Off Mode Local SCADA address SCADA master address Unsolicited messages Unsolicited retries Application confirm timeout RS-485 transmit delay time MODBUS ASCII or MODBUS RTU RS-232 9600/19200/38400/57600 Baud 1..255 (0 = broadcast) 2.1.2 RS-485 Communication protocol Communication port Communication baud rate IP address TCP port Light On/Off Mode Local SCADA address SCADA master address Unsolicited messages Unsolicited retries MODBUS ASCII or MODBUS RTU RS-485 9600/19200/38400/57600 Baud 1..255 (0 = broadcast) 8 TAPCON 230 expert 2195774/00 EN Maschinenfabrik Reinhausen 2009
Application confirm timeout RS-485 transmit delay time 0..254 ms* *) E.g. 2 ms to compensate the reaction time needed by the RS-485/RS-232 converter to switch from send mode to receive mode. 2.1.3 Ethernet (RJ45) Note: This is not MODBUS TCP! Simply put, this is a Modbus RTU message transmitted with a TCP/IP wrapper and sent over a network instead of serial lines. Communication protocol MODBUS RTU over tcp Communication port RJ45 Communication baud rate fixed 19200 Baud IP address 0.0.0.0 TCP port 1234 Light On/Off Mode Local SCADA address 1..255 (0 = broadcast) SCADA master address Unsolicited messages Unsolicited retries Application confirm timeout RS-485 transmit delay time 2.1.4 Optical Fiber Communication protocol MODBUS ASCII or MODBUS RTU Communication port Optical Fiber Communication baud rate 9600/19200/38400/57600 Baud IP address TCP port Light On/Off Mode ON means light ON at 1 OFF means light OFF at 1 Local SCADA address 1..255 (0 = broadcast) SCADA master address Unsolicited messages Unsolicited retries Maschinenfabrik Reinhausen 2009 2195774/00 EN TAPCON 230 expert 9
Application confirm timeout RS-485 transmit delay time 10 TAPCON 230 expert 2195774/00 EN Maschinenfabrik Reinhausen 2009
3 Protocol specification Modbus ASCII: 7-E-1 (7 data bits, even parity, 1 stop bit) Modbus RTU:8-E-1 (8 data bits, even parity, 1 stop bit) 3.1 Function codes Following function codes are supported: Funciton Code Name 01 Read coil status 02 Read input status 03 Read holding registers 04 Read input registers 05 Force single coil 06 Preset single register Table 3 Supported function codes Note: No more than 1 register should be written with one request. No more than 1 coil should be forced whit one request. Read input status also includes the data points of Read coil status Read input registers also includes the data points of Read holding registers 3.2 Exception codes The following exception codes are implemented: Funciton Code Name 01 Illegal function 02 Illegal data 03 Illegal data value Table 4 Implemented exception codes Maschinenfabrik Reinhausen 2009 2195774/00 DE TAPCON 230 expert 11
General notes: Multiple communication links are not supported. Communication is half-duplex mode. Addresses in this document refers to the MODBUS PDU addresses. Example: Reading input status with address 8 will read address 7 in the Discrete Input block of the MODBUS data model. 3.3 MODBUS adressing model MODBUS data model MODBUS PDU addresses 1 Discrete Input.. 1 Coils. 5 1 Input Registers 2. 1. Holding Registers. 55 Read input 0 Read coils 4 Read Registers 1 Read Registers 54 Figure 2 MODBUS adressing model 12 TAPCON 230 expert 2195774/00 DE Maschinenfabrik Reinhausen 2009
4 Device Data Points 4.1 Coils Point Adre ss 0 1 2 3 Name Desired Voltage Level 1 Desired Voltage Level 2 Desired Voltage Level 3 Auto / Manual Switch 4 Paralleling On/Off 5 Parallel Group 1 Name for State when value is 0 Name for State when value is 1 - Select VL 1 - Select VL 2 - Select VL 3 Manual On Parallel Switch Off Parallel Group 1 off Auto On Parallel Switch On Parallel Group 1 on Description Selection of Desired Voltage Level 1 (only possible if there is no GPI set to an VL) Selection of Desired Voltage Level 2 (only possible if there is no GPI set to an VL) Selection of Desired Voltage Level 3(only possible if there is no GPI set to an VL) Activation of Auto or Manual voltage regulation method. Paralleling On/Off software switch Activation of Paralleling Group 1 (only possible if there is no GPI set to an paralleling Group) 6 Parallel Group 2 Parallel Group 2 off Parallel Group 2 on Activation of Paralleling Group 2 (only possible if there is no GPI set to an paralleling Group) Table 5 Device Data Points: Coils Maschinenfabrik Reinhausen 2009 2195774/00 DE TAPCON 230 expert 13
Point Adre ss 7 Parallel Master - 8 Parallel Follower - 9 Parallel AutoSync - 10 Circulating Current - Select Master Paralleling Method Select Follower Paralleling Method Select Auto- Sync Paralleling Method Select Circulating Current Paralleling Method 11 Raise - Raise 12 Lower - Lower Table 5 Name Name for State when value is 0 Device Data Points: Coils Name for State when value is 1 Description Master method selection (only possible if there is no GPI set to Master/Follower) Follower method selection (only possible if there is no GPI set to Master/Follower) Sync method selection (only possible if there is no GPI set to Master/Follower) Circulating Current method selection (only possible if there is no GPI set to Master/ Follower) Force AVR to Raise operation Force AVR to Lower operation 14 TAPCON 230 expert 2195774/00 DE Maschinenfabrik Reinhausen 2009
4.2 Input Status Point Adre ss 0 1 2 3 Name Desired Voltage Level 1 Desired Voltage Level 2 Desired Voltage Level 3 Auto / Manual Switch 4 Paralleling On/Off 5 Parallel Group 1 6 Parallel Group 2 7 Parallel Master 8 Parallel Follower 9 Parallel AutoSync 10 Circulating Current 11 Raise Output 12 Lower Output 13 Parallel Status Name for State when value is 0 Name for State when value is 1 Description VL 1 VL 1 Activation status of Desired Voltage Level 1 VL 2 VL 2 Activation status of Desired Voltage Level 2 VL 3 VL 3 Activation status of Desired Voltage Level 3 Manual Auto Status of Auto/Manual regulation mode Parallel Switch Off Parallel Group 1 off Parallel Group 2 off Paralleling Method Master Paralleling Method Follower Paralleling Method Auto- Sync Paralleling Method Circulating Current Raise Output Command Lower Output Command Independent Mode Parallel Switch On Parallel Group 1 on Parallel Group 2 on Paralleling Method Master Paralleling Follower Master Paralleling Method Auto- Sync Paralleling Method Circulating Current Raise Output Command Lower Output Command Parallel Mode Status of software switch Paralleling On/ Off Activation status of Parallel Group 1 Activation status of Parallel Group 2 Activation status of paralleling method Master Activation status of paralleling method Follower Activation status of paralleling method Auto Sync Activation status of paralleling method Circulating Current Raise output relay closes when the AVR is setting a raise command Lower output relay closes when the AVR is setting a lower command Active paralleling status of the voltage regulator 14 Parallel Error No Error Error Parallel Error status 15 Table 6 Local / Remote Status Local (SCADA controls ignored) Device Data Points: Input Status Remote (SCADA controls enabled) Control mode status of AVR Maschinenfabrik Reinhausen 2009 2195774/00 DE TAPCON 230 expert 15
Point Adre ss 16 Overvoltage No overvoltage Overvoltage Overvoltage detection status 17 Undervoltage No undervoltage Undervoltage Undervoltage detection status 18 Overcurrent No overcurrent Overcurrent Overcurrent detection status 19 Undercurrent No undercurrent Undercurrent Undercurrent detection status 20 Status Alarm Relay No alarm Alarm Status of the Status Alarm Relay 21 Function Monitoring 22 Auto Input 23 Manual Input 24 Raise Input 25 Lower Input 26 Active power flow direction Normal mode Raise Input Lower input Positive power flow 27 Quick Tap Status No Quick Tap Tap 28 Remote volt. Lev. Act. Parameter voltage level Signal 15 min Function Monitoring out of Bandwith Activation status Auto Input (Edge triggered input) Activation status Manual Input (Edge triggered input) Raise input Status of Raise input Lower input Status of the Lower Input Quick Negative Direction of the power flow power flow Activation Status of Quick Tap regulation mode Remote voltage level Activation status of remote voltage level 29 GPO 1 Output GPO 1 GPO 1 Status of General Purpose Output 1 30 GPO 2 Output GPO 2 GPO 2 Status of General Purpose Output 2 31 GPO 3 Output GPO 3 GPO 3 Status of General Purpose Output 3 32 GPO 4 Output GPO 4 GPO 4 Status of General Purpose Output 4 33 GPO 5 Output GPO 5 GPO 5 Status of General Purpose Output 5 34 GPO 6 Output GPO 6 GPO 6 Status of General Purpose Output 6 35 GPO 7 Output GPO 7 GPO 7 Status of General Purpose Output 7 36 GPI 1 Input GPI 1 GPI 1 Status of General Purpose Input 1 37 GPI 2 Input GPI 2 GPI 2 Status of General Purpose Input 2 38 GPI 3 Input GPI 3 GPI 3 Status of General Purpose Input 3 39 GPI 4 Input GPI 4 GPI 4 Status of General Purpose Input 4 40 GPI 5 Input GPI 5 GPI 5 Status of General Purpose Input 5 41 GPI 6 Input GPI 6 GPI 6 Status of General Purpose Input 6 Table 6 Name Name for State when value is 0 Device Data Points: Input Status Name for State when value is 1 Description 16 TAPCON 230 expert 2195774/00 DE Maschinenfabrik Reinhausen 2009
Point Adre ss 42 GPI 7 Input GPI 7 GPI 7 Status of General Purpose Input 7 43 GPI 8 Input GPI 8 GPI 8 Status of General Purpose Input 8 44 Position Bit 0 Input 45 Position Bit 1 Input 46 Position Bit 2 Input 47 Position Bit 3 Input 48 Position Bit 4 Input 49 Position Bit 5 Input 50 Table 6 Name Position Bit Sign Input Name for State when value is 0 Position Bit 0 Position Bit 1 Position Bit 2 Position Bit 3 Position Bit 4 Position Bit 5 Position Bit sign Device Data Points: Input Status Name for State when value is 1 Position Bit 0 Position Bit 1 Position Bit 2 Position Bit 3 Position Bit 4 Position Bit 5 Position Bit sign Description Status of Position Bit 0 input Status of Position Bit 1 input Status of Position Bit 2 input Status of Position Bit 3 input Status of Position Bit 4 input Status of Position Bit 5 input Status of Position Bit sign input Maschinenfabrik Reinhausen 2009 2195774/00 DE TAPCON 230 expert 17
4.3 Holding Registers Point Adress Name Transmitted Value Resolution Minimum Maximum Multiplier Scaling Offset Units 0 Desired Voltage 490 1400 10 0 V 1 Level 1 1 Desired Voltage 490 1400 10 0 V 1 Level 2 2 Desired Voltage 490 1400 10 0 V 1 Level 3 3 reserved 0 65535 1 0-1 4 reserved 0 65535 1 0-1 5 reserved 0 65535 1 0-1 6 reserved 0 65535 1 0-1 7 reserved 0 65535 1 0-1 8 reserved 0 65535 1 0-1 9 reserved 0 65535 1 0-1 Table 7 Device Data Points: Holding Registers Description 18 TAPCON 230 expert 2195774/00 DE Maschinenfabrik Reinhausen 2009
4.4 Input Registers Point Adress Name Transmitted Value Resolution Minimum Maximum Multiplier Scaling Offset Units 0 Desired Voltage 490 1400 10 0 V 1 Level 1 1 Desired Voltage 490 1400 10 0 V 1 Level 2 2 Desired Voltage 490 1400 10 0 V 1 Level 3 3 Operation Counter LSW 0 99999999 1 0-1 Operation 4 Counter 0 99999999 1 0-1 MSW 5 Tap Position -40 40 1 0-1 6 Measured Voltage 0 1700 10 0 V 1 7 Voltage deviation -1000 2470 10 0 % 1 8 Active current 9 Re current 10 Measured Current 11 Frequency 0 1000 10 0 % 1 Table 8 Device Datat Points: Input Registers Description The value of Operation Counter consists of LSW and MSW The value of Operation Counter consists of LSW and MSW In % of voltage level -22000 22000 100 0 % 1 100 % = 200 ma -22000 22000 100 0 % 1 100 % = 200 ma 0 22000 100 0 % 1 100 % = 200 ma Maschinenfabrik Reinhausen 2009 2195774/00 DE TAPCON 230 expert 19
www.reinhausen.com Maschinenfabrik Reinhausen GmbH Fon: +49 (0)941 4090 0 Falkensteinstraße 8 Fax: +49 (0)941 4090 7001 D - 93059 Regensburg E-Mail: sales@reinhausen.com 2195774 12/09 F0218100