Professional Documents
Culture Documents
Hardware Manual
CONTROL MICROSYSTEMS
SCADA products... for the distance 28 Steacie Drive Kanata, Ontario K2K 2A9 Canada Telephone: 613-591-1943 Facsimile: 613-591-1022 Technical Support: 888-226-6876 888-2CONTROL
Trademarks
TeleSAFE, SmartWIRE, Micro16, SCADAPack 32, and TelePACE are registered trademarks of Control Microsystems Inc. All other product names are copyright and registered trademarks or trade names of their respective owners.
Table of Contents
OVERVIEW......................................................................................................................... 6 INSTALLATION.................................................................................................................. 8 Field Wiring .................................................................................................................... 8 Controller Board Field Wiring Connectors................................................................ 8 Lower I/O Module Field Wiring Connectors ............................................................. 9 Jumpers ....................................................................................................................... 10 Power Supply............................................................................................................... 10 Controller Board Power Supply .............................................................................. 10 Lower I/O Module Power Supply............................................................................ 11 Recommended AC Power Supply Configuration ................................................... 12 Recommended DC Power Supply Configuration ................................................... 13 Alternate AC Power Supply Configuration ............................................................. 14 Using Model 5103 Uninterruptible Power Supplies................................................ 15 Recommended 5103 Power Supply Configuration ................................................ 15 Sample Power Supply Calculations ....................................................................... 16 Sample Power Calculation for SCADAPack 32 Controller ....................... 16 System Grounding.................................................................................................. 17 Analog Inputs ............................................................................................................... 18 Controller Board Internal Analog Inputs ................................................................. 18 Lower I/O Module Analog Inputs ............................................................................ 18 Analog Inputs Data Format..................................................................................... 19 Analog Outputs ............................................................................................................ 21 Current Outputs ...................................................................................................... 21 Voltage Outputs ...................................................................................................... 21 Analog Outputs Data Format.................................................................................. 22 Digital Inputs ................................................................................................................ 23 Controller Board Digital /Counter Inputs................................................................. 23 Controller Board Interrupt Input.............................................................................. 23 Lower I/O Module Digital Inputs ............................................................................. 25 Digital Outputs ............................................................................................................. 26 Controller Board Status Output .............................................................................. 26 Lower I/O Module Digital Outputs .......................................................................... 26 SERIAL COMMUNICATION ............................................................................................ 29 RS-232 Serial Communications Ports ......................................................................... 29 COM1 RS-232 Serial Port ...................................................................................... 29 COM2 RS-232 Serial Port ...................................................................................... 30 COM3 RS-232 Serial Port ...................................................................................... 30 COM4 RS-232 Serial Port ...................................................................................... 31 RJ-45 Modular Connector for RS-232.................................................................... 32 DE-9P Connector for RS-232................................................................................. 33 RS-485 Serial Communication Port............................................................................. 35 RJ-45 Modular Connector for RS-485.................................................................... 35 RS-485 Bias Resistors ........................................................................................... 36
RS-485 Termination Resistors ............................................................................... 36 RS-232 Wiring Examples............................................................................................. 37 DTE to DTE without Handshaking.......................................................................... 37 DTE to DTE with Handshaking............................................................................... 37 DTE to DCE with Handshaking .............................................................................. 38 RS-485 Wiring Examples............................................................................................. 39 Four wire mode....................................................................................................... 39 Two wire mode ....................................................................................................... 39 RS-232 Cables ............................................................................................................ 41 RJ-45 to DE-9S DTE .............................................................................................. 41 RJ-45 to DE-9P DCE.............................................................................................. 41 RS-485 Cable ......................................................................................................... 41 ETHERNET COMMUNICATION ...................................................................................... 43 LAN Port Settings ........................................................................................................ 43 TCP/IP Settings ...................................................................................................... 43 Modbus/TCP Settings............................................................................................. 43 RJ-45 Modular Connector for Ethernet .................................................................. 45 OPERATION..................................................................................................................... 46 Operating Modes ......................................................................................................... 46 Run Mode ............................................................................................................... 46 Service Mode.......................................................................................................... 46 Cold Boot Mode ...................................................................................................... 47 LED Indicators ............................................................................................................. 47 Controller Board LEDs............................................................................................ 47 Lower I/O Module LEDs ......................................................................................... 48 LED Power Control ...................................................................................................... 49 Status LED and Output................................................................................................ 49 I/O Module Error Indication..................................................................................... 49 Configuration Switches ................................................................................................ 51 Analog Input Range Selection ................................................................................ 51 Analog Output Range Selection ............................................................................. 51 Digital Input Filters.................................................................................................. 52 Line Frequency Selection ....................................................................................... 52 MAINTENANCE ............................................................................................................... 54 Fuses ........................................................................................................................... 54 Lithium Battery ............................................................................................................. 54 TROUBLESHOOTING ..................................................................................................... 55 Analog Inputs ............................................................................................................... 55 Analog Outputs ............................................................................................................ 55 Digital Inputs ................................................................................................................ 56 Digital Outputs ............................................................................................................. 56 SPECIFICATIONS ............................................................................................................ 57 General ........................................................................................................................ 57
Controller Board........................................................................................................... 57 Communications .......................................................................................................... 58 Visual Indicators .......................................................................................................... 59 Power Supply............................................................................................................... 60 Controller Board ..................................................................................................... 60 Lower I/O Module ................................................................................................... 60 I/O Capacity ................................................................................................................. 60 Analog Inputs ............................................................................................................... 61 Analog Outputs ............................................................................................................ 62 Digital Inputs ................................................................................................................ 63 Controller Board ..................................................................................................... 63 Lower I/O Module ................................................................................................... 63 Digital Outputs ............................................................................................................. 65 Controller Board ..................................................................................................... 65 Lower I/O Module ................................................................................................... 65 CE Mark Self Declaration ............................................................................................ 66
Overview
The SCADAPack 32 controller is the latest in the SCADAPack series of controllers and is fully compatible with existing SCADAPack installations. The SCADAPack 32 consists of a controller board and a lower I/O module. The controller board has an integrated power supply, three digital/counter inputs, an interrupt input, a status output, a 10-BaseT Ethernet port and three serial communication ports. Two of the serial communication ports are RS-232 and the third is configurable RS-232/485. The lower I/O module has eight analog inputs, sixteen digital inputs, twelve digital outputs and one RS-232 serial communication port. The lower I/O module may be configured with two optional analog outputs. The I/O capacity of SCADAPack 32 Controllers can be expanded by using 5000 Series I/O modules. A maximum of forty 5000 Series I/O modules may be used for a total expansion capacity of 256 digital inputs, 256 digital outputs, 128 analog inputs, 64 analog outputs (when no optional analog outputs have been installed) and 32 counter inputs.
The lower I/O module RS-232 serial communication port supports half-duplex communication and RTS/CTS hardware handshaking for connection to modems and radio modems. This RS-232 port operates at baud rates from 1200 baud to 115200 baud. SCADAPack 32 memory has 8 Mbytes SDRAM, 4 Mbytes flash ROM, and 0.5 Mbytes CMOS SRAM. The CMOS SRAM is non-volatile (battery backed.). A real time clock
calendar provides for time of day operations and alarms. A hardware watchdog timer protects against application program failures. The SCADAPack 32 is able to enable and disable status LEDs on all modules connected to the 5000 Series I/O bus including the controller board and the lower I/O modules.
Installation
The installation of SCADAPack 32 controllers requires mounting the SCADAPack 32 controller on the 7.5mm by 35mm DIN rail and connecting the SCADAPack 32 controller to the system I/O Bus. Refer to the System Configuration Guide, at the beginning of this manual, for complete information on system layout, I/O Bus cable routing and SCADAPack 32 controller installation.
Field Wiring
SCADAPack 32 controllers use screw termination style connectors for termination of field wiring. These connectors accommodate solid or stranded wires from 12 to 22 AWG. The connectors fit over pins on the controller board and the lower I/O module. The connectors are removable allowing replacement of the SCADAPack 32 Controller without disturbing the field wiring. Leave enough slack in the field wiring for the connector to be removed. CAUTION: Remove power before servicing unit. To remove the termination connector: Pull the connector upward from the board. Apply even pressure to both ends of the connector. Line up the pins on the module with the holes in the connector. Make sure all the pins line up properly. Push the connector onto the pins. Apply even pressure to both ends on the connector.
5V
RUN
INT
LAN LINK
TX RX CTS DCD
P1
LAN
COM1
COM2
COM4
P2
P11 SW1 P9 J 2
J 4 COM Port
J 5
RS485
J J 9 10
RS232 J 7 J 8 P4
P5 LAN
P11
BT1
F1
F2
TX RX
P6 COM1 RS-232/485 P7 COM2 RS-232 P8 COM4 RS-232
P3
AC/DC + PWR IN DC PWR + + 0 1 2 COM INT STATUS DIN/COUNTER
LED POWER
Jumpers
Most headers and jumpers on the controller board are reserved for manufacturing and test functions. The RS-485 termination jumpers are described in the RS-485 Serial Communication Port section. See the RS-485 Termination Resistors section for additional information.
Power Supply
The primary power supply is a 5V and 24V supply in the controller board. This supply is sufficient to power the controller board and the lower I/O module and a limited number of 5000 Series I/O modules. A second 24V supply is available in the lower I/O module on the SCADAPack 32 Controller. NOTE: Voltage referred to as Vrms (or VAC on some products) indicates AC power. Voltage referred to as V indicates DC power.
10
The controller board power supply accepts AC or DC input power. Connect a power source to the input power in one of the following ways: CAUTION: Power can be applied to either the AC/DC power input OR the DC power input. DO NOT apply power to both inputs. Damage to the power supply may result. A 16Vrms source connects to the AC/DC PWR IN terminals. Recommended AC Power Supply Configuration shows this AC power source coming from a transformer. A 13-24V source may be connected to the AC/DC PWR IN terminals instead of the 16Vrms source, although this is not common. The polarity of the source does not matter. An 11-24V source connects to the DC PWR terminals. Recommended DC Power Supply Configuration shows this DC power source coming from a battery. The AC/DC power input typically connects to a 16Vrms source or a 24V source. Under these conditions, 20 to 24V is available at the DC PWR terminals, suitable for powering 20mA loop transmitters. The DC PWR input typically connects to 12V batteries or 12-24V DC power supplies. There is no battery charger with the SCADAPack 32 controller. Under these conditions, no connection should be made to the AC/DC power input.
11
Class 2 Transformer
12
13
+ 24 V for transmitters
14
P3
AC/DC 1 2 3
120 Vrms
24 Vrms
Class 2 Transformer
15
The SCADAPack 32 controller board has 1300mA available from the 5V supply. A minimum of 100mA is available from the 24V supply. Additional current is available from the 24V supply when the 5V is not loaded to its 1300mA maximum. The total 24V supply current is calculated as follows: 24V current = 100 + ((1300 Total Current @ 5V) x 0.25) where: 100 = 1300 = Total Current @ 5V = 0.25 = Minimum current @ 24V Maximum current @ 5V Sum of 5V current required for system Derating factor
In this example, when 1010mA is required at 5V, 172.5mA is available on the 24V supply. This is less than the 155mA required by the 24V supply.
16
System Grounding
In most applications, it is desirable to ground the system by connecting the system power supply common, to the chassis or panel ground. On the SCADAPack 32 controller board, the side of both the 5V and the 24V supplies are connected to the enclosure. Pins 1 and 2 on P3 are connected internally to the enclosure. On the lower I/O module, the side of the 24V supply is connected to the enclosure by a printed circuit board trace labeled J3. This trace may be cut. See the Controller Board Field Wiring Connectors section for the location of this trace.
17
Analog Inputs
The controller boards have two internal analog inputs, used by application programs to monitor RAM voltage and controller board ambient temperature. The lower I/O module has eight single ended analog inputs.
18
0 1
1 2
2 3
3 4
4 5
5 6
6 7
7 COM 8 9 P4
Refer to the Power Supply section of the manual for alternate power supply wiring examples. + 24V Supply + 24V Supply
The 20mA version analog inputs have a signal measurement range of 0-20mA or 420mA. The 5V version analog inputs have a measurement range of 0-5 V or 1-5V. The controller board Option Switch 1 selects the measurement range. All eight analog inputs are set to the same range. The Analog Input Range Selection section shows the Option switch settings for selecting the measurement range. The 5V version is identical to the 20mA version except that the 250 input resistors are not installed. 5V signals connect from the analog input to COM. The following diagram shows how to wire 5V inputs.
0 1
1 2
2 3
3 4
4 5
5 6
6 7
7 COM 8 9 P4
Refer to the Power Supply section of the manual for alternate power supply wiring examples. + 24V Supply
19
20
Analog Outputs
The lower I/O module may include two channels of analog output if this option was requested at time of purchase. Refer to the Analog Output Range Selection section for information on configuring the analog outputs range.
Current Outputs
The optional lower I/O module analog output module provides two 20mA analog outputs. These outputs are isolated from the system 5V power supply. They are not isolated from each other. The outputs share a common return with each other and the lower I/O module analog inputs. The analog output resolution is 12 bits. Analog outputs are isolated from logic circuits, for protection against voltage transients and high common mode voltages. An external 24V supply powers the isolated output circuits. This is usually the same power supply that powers current loop transmitters in the system. A power supply normally provides this power. A wide range of voltages are tolerated. Refer to the Specifications section for details. The following diagram shows recommended field wiring practices.
Refer to the Power Supply section of the manual for alternate power supply wiring examples. + 24V Supply
L O A D
L O A D
Voltage Outputs
To obtain voltage outputs, connect a load resistor as shown in the diagram above. Connect the voltage device across the load resistor. The table below list resistance values and output range settings for common voltage ranges. The resistance value listed is the parallel resistance of the device and the load resistor. Voltage Range 0 to 5V 0 to 10V Resistance 250 500 Output Range 0-20mA 0-20mA
21
22
Digital Inputs
The controller board has four digital (discrete) inputs. The lower I/O module has sixteen digital inputs.
The DIN\Counter inputs can be used as both digital inputs and counters in an application program. Refer to the din520x and cntr520x I/O boards in the I/O Connection Reference section of the ISaGRAF User Manual for information on how to use these inputs in an application program. Each of the three digital / counter (DIN/Counters) inputs on the SCADAPack 32 controller has a switch selectable filter, which limits the maximum input frequency. Filtering limits the maximum digital input or counter frequency to approximately 30Hz. Refer to the Digital Input Filters section for filter selection information. Use a filter for 50 or 60Hz digital inputs and for low speed counting applications that experience problems due to contact bounce. Do not use filtering for high speed counting applications.
DIN/Counter 1 2 COM
6
7
8
Connection Example: SW1 Filter 0 is ON to debounce contacts. SW1 Filter 1 is ON to filter AC. SW1 Filter 2 is OPEN for high speed counting.
SW1
+ 24V
16Vrms
+ Pulse Output
23
For DC input the maximum input voltage is 28V and the minimum voltage to turn the input ON is 2.5V. For counter input the maximum frequency is 500Hz.
The INT input can be used as both a digital input and as a counter in an application program. Refer to the dinint and cntrint I/O boards in the I/O Connection Reference section of the ISaGRAF User Manual for information on how to use these inputs in an application program. The diagram below shows how to wire this input.
INT + P4 1 2 3 4 5 6 7 8
+ 2.5-28V
24
24Vrms
0 P5 1
1 2
2 3
3 4
4 5
5 6
6 7
0-7 7 COM 8 9 P6
8 1
9 2
10 3
11 4
12 5
13 6
14 7
8-15 15 COM 8 9
+ 24V COM
The lower I/O module accommodates AC or DC inputs, depending on the configuration ordered from the factory. The first diagram above shows typical AC input field wiring. The second diagram above shows typical DC input field wiring. Signal polarity must be observed when using DC inputs. Connect the positive signal to the input. Connect the negative signal to the common.
25
Digital Outputs
The controller boards have one digital (status) output. The lower I/O module has 12 digital (relay) outputs.
The status output is an optically isolated transistor. The polarity of the output must be observed. The output current must be limited to 60mA during the ON condition. The output voltage must be limited to 30V during the OFF condition. A typical application of this output is shown in the following diagram. The output energizes a relay. The normally closed contacts of this relay are used to activate an alarm. The relay in this application has a 24V coil with greater than 400 resistance.
STATUS +
P4
+ 24 V NO COM NC
Relay Coil Specifications: 24V > 400 ohms < 60mA NC ALARM CONTACTS: closed during power failures and fault conditions.
26
Digital Output 2 3 4 5 6 7 8 9 10 11
Terminals P7 - 3, 4 P7 - 1, 2 P8 9 P8 8 P8 7 P8 6 P8 4 P8 3 P8 2 P8 1
Type Form A Form A Form A Form A Form A Form A Form A Form A Form A Form A
Contact Description
NO isolated NO isolated NO common return P8-10 NO common return P8-10 NO common return P8-10 NO common return P8-10 NO common return P8-5 NO common return P8-5 NO common return P8-5 NO common return P8-5
The two Form C outputs and two of the Form A outputs are individually isolated allowing multiple power sources to be used within the same module. Loads can be connected to either output terminal and to either the high or the low side of the power source. The following wiring diagrams show how to wire these outputs.
These are typical wiring examples. Only four outputs are shown. DC Wiring Examples + 24 V L O A D
L O A D F U S E
NOTE: Refer to specifications for current and voltage limitations. AC Wiring Examples HOT 120Vrms Neutral
L O A D F U S E
L O A D
10
4 2
2 3
P7 Digital Outputs
1 0 NO NC COM NO NC COM
27
These are typical wiring examples. Only four outputs are shown. DC Wiring Examples + 24V L O A D
L O A D F U S E
NOTE: Refer to specifications for current and voltage limitations. AC Wiring Examples HOT 120Vrms Neutral
L O A D F U S E
L O A D
10 4-7 COM
9 4
8 5
7 6
6 7
3 9
2 10
1 11
P8 Digital Outputs
8-11 8 COM
28
Serial Communication
The SCADAPack 32 controller is equipped with four serial communication ports. All four serial communication ports support RS-232 serial communication and one port supports both RS-232 and RS-485 serial communication. Three of the communication ports are located on the SCADAPack 32 controller board and one is located on the SCADAPack 32 Lower I/O module. Serial ports on the SCADAPack 32 controller are designated COM1, COM2, COM3 and COM4. Refer to the drawing in the Controller Board Field Wiring Connectors section for the location of the serial ports.
Refer to the drawing in the Controller Board Field Wiring Connectors section for the location of COM1 and jumpers J9 and J10. For information on using COM1 as a RS-485 serial port refer to the RS-485 Serial Communication Port section. Connections to COM1 are made through a RJ-45 modular connector. The wiring and pin connections for this connector are described in the RJ-45 Modular Connector for RS232 section. The following table shows the serial and protocol communication parameters supported by COM1. These parameters are set from the ISaGRAF Workbench or from an application program running in the SCADAPack 32 controller. Default values are set when a Cold Boot or Service Boot is performed on the SCADAPack 32 controller. Parameter Baud Rate Duplex Parity Data Bits Stop Bits Supported Values 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600 and 115200. Default: 9600 Full or Half Default: Full Odd, None or Even Default: None 7 or 8 Bits Default: 8 Bits 1 or 2 Bits Default: 1 Bit
29
Parameter Receive Flow Control Transmit Flow Control Station Protocol Addressing Mode
Supported Values ModbusRTU or None Default: ModbusRTU Ignore CTS or None Default: None 1 to 65534 Default: 1 None, Modbus RTU or Modbus ASCII Default: Modbus RTU Standard or Extended Default: Standard
30
Refer to the Controller Board Field Wiring Connectors section for the location of COM3 on the SCADAPack controller board. The following table shows the serial and protocol communication parameters supported by COM1. These parameters are set from the ISaGRAF Workbench or from an application program running in the SCADAPack 32 controller. Default values are set when a Cold Boot or Service Boot is performed on the SCADAPack 32 controller. Parameter Baud Rate Duplex Parity Data Bits Stop Bits Receive Flow Control Transmit Flow Control Station Protocol Addressing Mode Supported Values 1200, 2400, 4800, 9600, 19200, 38400, 57600 and 115200. Default: 9600 Full or Half Default: Half Odd, None or Even Default: None 7 or 8 Bits Default: 8 Bits 1 or 2 Bits Default: 1 Bit ModbusRTU or None Default: ModbusRTU Ignore CTS or None Default: None 1 to 65534 Default: 1 None, Modbus RTU or Modbus ASCII Default: Modbus RTU Standard or Extended Default: Standard
31
Parameter Stop Bits Receive Flow Control Transmit Flow Control Station Protocol Addressing Mode
Supported Values 1 or 2 Bits Default: 1 Bit ModbusRTU or None Default: ModbusRTU Ignore CTS or None Default: None 1 to 65534 Default: 1 None, Modbus RTU or Modbus ASCII Default: Modbus RTU Standard or Extended Default: Standard
1 2 3 4 5 6 7 8
Notes:
+5V is only available on Pin 1 when a jumper is installed on J4. Refer to the Controller Board Field Wiring Connectors section for the location of J4. Serial port COM1 may be configured as RS-232 or RS-485. A jumper must installed on J10 to operate COM1 in RS-232 mode. Refer to the Controller Board Field Wiring Connectors section for the location of J10.
The following table provides a description of the function of each pin of the RJ-45 connector. In this table a MARK level is a voltage of +3V or greater and a SPACE level is a voltage of 3V or less. Pin 1 2 3 Function 5V (Output) DCD (Input) DTR (Output) Description This pin can be connected to the 5V power supply by installing a jumper at J4 on the SCADAPack controller board. The DCD led is on for a MARK level. This pin is normally at a MARK level.
32
Pin
Function (Output)
Description This pin is at a SPACE level when DTR is de-asserted. This pin is connected to the system ground. The level is SPACE on standby and MARK for received data. The LED is lit for a MARK level. The level is SPACE on standby and MARK for transmitted data. The LED is lit for a MARK level. This level must be a MARK for the communication port to transmit data. When the attached device does not provide this signal, the controller keeps the line at a MARK. When the attached device does provide this signal, it must set CTS to MARK to allow the controller to transmit data.
4 5 6 7
RTS (Output)
This pin is a MARK if full-duplex operation is selected for the port. This pin is set to a MARK just before and during transmission of data if half-duplex operation is selected. This pin is set to a SPACE when no data is being transmitted.
1 6
2 7
3 8
4 9
9.
The following table provides a description of the function of each pin of the DE-9P connector. In this table a MARK level is a voltage of +3V or greater and a SPACE level is a voltage of 3V or less. Pin 1 2 Function DCD RxD Type Input Input Description The DCD led is on for a MARK level. The level is SPACE on standby and MARK for received data. The LED is lit for a MARK level.
33
Pin 3
Function TxD
Type Output
Description The level is SPACE on standby and MARK for transmitted data. The LED is lit for a MARK level. This pin is normally at a MARK level. This pin is at a SPACE level when DTR is deasserted.
DTR
Output
5 6 7
GND
This pin is connected to the system ground. This pin is not connected.
RTS
Output
This pin is a MARK if full-duplex operation is selected for the port. This pin is set to a MARK just before and during transmission of data if half-duplex operation is selected. This pin is set to a SPACE when no data is being transmitted.
CTS
Input
This level must be a MARK for the communication port to transmit data. When the attached device does not provide this signal, the controller keeps the line at a MARK. When the attached device does provide this signal, it must set CTS to MARK to allow the controller to transmit data.
5V
Output
This pin is connected to the 5V power supply. Exercise caution when using it. COM3 on the Lower I/O module has 5V present at all times. COM1, COM2 and COM4 have 5V present only when a jumper is installed at J4 on the SCADAPack 32 controller board.
34
1 2 3 4 5 6 7 8
+5V is only available on Pin 1 when a jumper is installed on J4. Refer to the Controller Board Field Wiring Connectors section for the location of J4. Serial port COM1 may be configured as RS-232 or RS-485. A jumper must installed on J9 to operate COM1 in RS-485 mode. Refer to the Controller Board Field Wiring Connectors section for the location of J9. The differential receive and transmit signals are labeled +/Rx and +/Tx respectively. Some RS-485 devices refer to the side of the signal as A and the + side of the signal as B. The following table provides a description of the function of each pin of the RJ-45 connector. In this table a MARK level is a voltage of +3V or greater and a SPACE level is a voltage of 3V or less.
35
Pin 1 2 3 4 5 6 7 8
Function 5V (Output) -Rx (Input) -Tx (Output) GND +Rx (Input) +Tx (Output) N/C N/C
Description This pin can be connected to the 5V power supply by installing a jumper at J4 on the SCADAPack controller board. The DCD led is on for a MARK level. This pin is normally at a MARK level. This pin is at a SPACE level when DTR is de-asserted. This pin is connected to the system ground. The level is SPACE on standby and MARK for received data. The LED is lit for a MARK level. The level is SPACE on standby and MARK for transmitted data. The LED is lit for a MARK level. Do not connect this pin for RS-485 operation. Do not connect this pin for RS-485 operation.
36
DTE
DCD RxD TxD DTR GND
RTS CTS
DTE
DCD RxD TxD DTR GND
RTS CTS
37
DCE
DCD RxD TxD DTR GND
RTS CTS
38
SLAVE RX + RX TX + TX
39
the transmitting and receiving pair. The following diagram shows the wiring details for a two wire connection.
5232 RX + RX TX + TX First station in network may require terminations.
TX/RX + TX/RX
40
RS-232 Cables
RJ-45 to DE-9S DTE
This cable is used to connect from an RJ-45 based RS-232 port on the SCADAPack 32 controller to DE-9P connector on a DTE such as a PC. A 10 ft. long cable is available from Control Microsystems as part number 297217. RJ-45 8 Pins SCADAPack 32 DTE Function DE9S DTE Function DE9S Shield connects to shell 6 5 4 1, 2, 3, 7 and 8 are not connected at this end. TxD RxD GND GND RxD TxD GND GND 2 3 5 No wires connected at this end.
RS-485 Cable
This cable is used to connect from an RJ-45 based RS-485 port on the SCADAPack 32 controller to other RS-485 devices. The cable has a RJ-45 connector on one end and stripped wires at the other end. A 10-foot long cable is available from Control Microsystems as part number 297234.
41
RJ45
Wire color Shield Orange Blue Grey Brown Black Yellow Green Red
3 6 5 2 4 7 8 1
42
Ethernet Communication
The SCADAPack 32 controller has one 10BaseT Ethernet port. 10BaseT is a single communications channel running at 10MHz over unshielded, twisted - pair cabling. 10BaseT uses differential signaling.
TCP/IP Settings
The following table shows the TCP/IP parameters supported by the LAN port. These parameters are set from the ISaGRAF Workbench or from an application program running in the SCADAPack 32 controller. Default values are set when a Cold Boot is performed on the SCADAPack 32 controller. Parameter IP Address Subnet Mask Gateway Supported Values In the format 255.255.255.255 Default: 0.0.0.0 In the format 255.255.255.255 Default: 0.0.0.0 In the format 255.255.255.255 Default: 0.0.0.0 The IP Address is the address of the controller. The IP address is statically assigned. Contact your network administrator to obtain an IP address for the controller. The Subnet Mask is determines the subnet on which the controller is located. The subnet mask is statically assigned. Contact your network administrator to obtain the subnet mask for the controller. The Gateway determines how your controller communicates with devices outside its subnet. Enter the IP address of the gateway. The gateway is statically assigned. Contact your network administrator to obtain the gateway IP address.
Modbus/TCP Settings
The following table shows the Modbus/TCP parameters supported by the LAN port. These parameters are set from the ISaGRAF Workbench or from an application program running in the SCADAPack 32 controller. Default values are set when a Cold Boot or Service Boot is performed on the SCADAPack 32 controller.
43
Parameter Master Idle Timeout Server Receive Timeout Maximum Server Connections TCP Port Modbus Addressing Type Modbus Station Address Store and Forward Messaging
Supported Values Any value in seconds. Default: 10 seconds Any value in seconds. Default: 10 seconds Valid values are 1 to 20. Default: 20 Valid values are 1 to 65535 Default: 502 Valid values are Standard or Extended Default: Standard Valid values are 1 to 65534. Default: 1 Valid values are Enabled and disabled. Default: Disabled
The Master Idle Timeout parameter sets when connections to a slave controller are closed. Setting this value to zero disables the timeout; the connection will be closed only when your program closes it. Any other value sets the timeout in seconds. The connection will be closed if no messages are sent in that time. This allows the slave device to free unused connections. The Server Receive Timeout parameter sets when connections from a remote device are closed. Setting this value to zero disables the timeout; the connection will be closed only when the remote device closes it. Any other value sets the timeout in seconds. The connection will be closed if no messages are received in that time. This allows the controller to free unused connections. The Maximum Server Connections parameter sets the number of incoming (server) connections that the controller will allow. Incoming (server) connections are used when a remote device creates a connection to this controller. Outgoing connections are used when this controller creates a connection to a remote device (e.g. using a masterip function block). Setting this value to the maximum allows the server to use all connections for incoming connections. Setting the value below the maximum limits the number of incoming connections from remote devices. This reserves the remaining connections for use by the controller for outgoing connections. The TCP Port parameter sets the port used by the Modbus/TCP protocol. In almost all cases this should be set to 502. This is the well-known port number for Modbus/TCP. Modbus/TCP devices use 502 by default, and on many devices the value cannot be changed. It is suggested that you change this value only if this port is used by another service on your network. Consult your network administrator to obtain a port if you are not using the default. The Addressing parameter selects standard or extended Modbus addressing. Standard addressing allows 255 stations and is compatible with standard Modbus devices. Extended addressing allows 65534 stations, with stations 1 to 254 compatible with standard Modbus devices. The Station parameter sets the station number of the controller. The valid range is 1 to 255 if standard addressing is used, and 1 to 65534 if extended addressing is used. The Store and Forward Messaging parameter controls forwarding of messages on the Ethernet port. If this option is enabled, messages will be forwarded according to the settings in the store and forward routing table.
44
10BaseT has a maximum run of 100m or 350 feet, but the actual limit is based on signal loss and the noise in the environment. This may limit the practical distance to less than 100m or 350 feet. The Ethernet cables should not be run in parallel with power or any cables that generate noise.
45
Operation
Operating Modes
SCADAPack 32 Controllers may start up in RUN, SERVICE or COLD BOOT mode. Start up in the RUN mode automatically executes the application programs in the controller memory. Start up in the SERVICE mode stops the programs to allow reprogramming and controller initialization. Start up in the COLD BOOT mode initializes the controller and erases all programs.
Run Mode
The RUN mode is the normal operating mode of the SCADAPack 32 Controller. No action is required to select RUN mode. When power is applied to the controller board: The user defined serial communication parameters, for all COM ports are used. The user defined TCP/IP and Modbus/TCP parameters are used for the Ethernet port. If a ISaGRAF application program is loaded it is executed. If a ISaGRAF C++ application program is loaded and the program checksum is correct, it is executed. The controller lock settings and password are used.
Service Mode
SERVICE mode is used during application programming and maintenance work. When the SCADAPack 32 controller starts in SERVICE mode: The default serial communication parameters are used. See the RS-232 Serial Communications Ports section of this manual for a description of the default parameters. The user defined TCP/IP parameters are used for the Ethernet port. The default Modbus/TCP parameters are used for the Ethernet port. See the Modbus/TCP Settings section of this manual for the default parameters. If a ISaGRAF application program is loaded it is stopped. If an ISaGRAF C++ application program is loaded it is stopped. All programs are retained in non-volatile memory. The controller lock settings and password are used.
SERVICE mode is selected by performing a SERVICE BOOT using the following procedure: Remove power from the SCADAPack 32 controller. Hold down the LED POWER button. Apply power to the controller.
46
Continue holding the LED POWER button until the STAT LED turns on. Release the LED POWER button. If the LED POWER button is released before the STAT LED turns on, the SCADAPack 32 controller will start in RUN mode.
Note:
COLD BOOT mode is selected by performing a COLD BOOT using the following procedure: Remove power from the SCADAPack 32 controller. Hold down the LED POWER button. Apply power to the SCADAPack 32 controller. Continue holding the LED POWER button for 25 seconds until the STAT LED begins to flash on and off continuously. Release the LED POWER button.
Note: If the LED POWER button is released before the STAT LED begins to flash, the SCADAPack 32 controller will start in SERVICE mode.
LED Indicators
Controller Board LEDs
There are twenty three LEDs on the SCADAPack 32 controller board. These LEDs are used to indicate the operational status of the controller. All LEDs except the 5V LED can be disabled to conserve power. Refer to the LED Power Control section for details on LED power control.
47
The following table describes the SCADAPack 32 controller board LEDs. LED 5V Function On when 5V power is present in the SCADAPack 32 controller. The controller must have 5V power to operate. 5V power is supplied by the SCADAPack 32 internal power supply or from an external model 5103 power supply. On when an ISaGRAF application program is running in the SCADAPack 32 controller. This LED may be controlled by a C++ Tools application, in which case the application will control the LED status. On when LED power is enabled. This LED is normally off. The LED will blink when an error exists. Refer to the Status LED and Output section for more information on this LED and the STATUS output. On when and SCADAPack 32 I/O points are forced, or locked, in an ISaGRAF application. On when a signal is applied to the corresponding input.
RUN
LEDS STAT
FORCE INT/Counters 0 INT/Counters 1 INT/Counters 2 INT LAN LINK COM1 RX COM2 RX COM4 RX. COM1 TX COM2 TX COM4 TX. COM1 CTS COM2 CTS COM4 CTS. COM1 DCD COM2 DCD COM4 DCD.
On when a signal is applied to the INT input On when receive or transmit data on the Ethernet port. On when Ethernet port is connected to a network. On when receiving data on the corresponding serial port.
On when the CTS input is asserted on the corresponding serial port. On when the DCD input is asserted on the corresponding serial port.
48
Function On when the corresponding digital input is on. On when the corresponding digital output is on.
The STAT LED blinks a binary sequence indicating alarm codes. The sequences consist of long and short flashes, followed by an off delay of 1 second. The sequence then repeats. The sequence may be read as the Controller Status Code. A short flash indicates a binary zero. A long flash indicates a binary one. The least significant bit is output first. As few bits as possible are displayed, all leading zeros are ignored. The application program defines the values of the alarm codes. The table below shows the meaning of the sequences. Sequence Off 1 Long Controller Status Code 0 = Normal 1 = I/O Module Error Indication
49
Ensure that every module contained in the ISaGRAF I/O Connection Table is connected to the SCADAPack 32 controller. Check that the module address selected for each module agrees with the selection made in the I/O Connection Table. If a module is still suspect of having failed, confirm the failure by removing the module from the I/O Connection Table. Download the changes to the SCADAPack 32 controller. The Status LED should stop flashing. If a module is currently not connected to the SCADAPack 32 controller, delete it from the I/O Connection Table. Download the changes to the SCADAPack 32 controller. The Status LED should stop flashing.
If unused modules must be intentionally left in the I/O Connection Table, the I/O error indication may be disabled. To disable the I/O error indication: Select Controller from the Tools menu in the ISaGRAF Project Management window. Select I/O Error Indication from the Controller commands. Select the Disable I/O Error Indication radio button and click OK.
50
Configuration Switches
The SCADAPackl32 controller board SW1 is an eight position DIP switch. The first seven switches on SW1 are used to configure digital / counter input filtering and analog input and output ranges. SW1 is shown in the following diagram. Refer to Controller Board Field Wiring Connectors section for the location of SW1 on the SCADAPack 32 controller board.
SW1
1 2 Options 3 4 0 1 Filters 2 not used
SW1-1 Option 1 Lower I/O module analog input range selection. SW1-2 Option 2 Optional 5303 analog output module range selection. SW1-3 Option 3 Available for application programs. SW1-4 Option 4 Available for application programs. SW1-5 Filter 0 DIN/Counters input 0 filtering. SW1-6 Filter 1 DIN/Counters input 1 filtering. SW1-7 Filter 2 DIN/Counters input 2 filtering. SW1-8 Not Used
Configuration switches can be changed with the power applied. Configuration changes take effect immediately. To select configuration switch functions: Remove the module cover and locate the configuration switches. See Controller Board Field Wiring Connectors for SW1 location. Slide the switch actuator to the right side of the switch to enable the switch function. Slide the switch actuator to the left side of the switch to disable the switch function.
How to Set the Range Switch: Determine the desired range. Slide the actuator to the side of the switch shown in gray.
Slide the actuator to this side for 0-20mA or 0-5V Slide the actuator to this side for 4-20mA or 1-5V
51
All analog outputs are set to the same range. The diagram below shows the switch settings for selecting the analog output range.
0-20mA Outputs SW1
1 2 Options 3 4 0 1 Filters 2 not used
How to Set the Range Switch: Determine the desired range. Slide the actuator to the side of the switch shown in gray.
Slide the actuator to this side for 0-20mA Slide the actuator this side for 4-20mA
SCADAPack 32 controller board SW1, switches Filter 0, Filter 1 and Filter 2 switches control the input filter functions. Filter 0 for DIN/Counters input 0. Filter 1 for DIN/Counters input 1. Filter 2 for DIN/Counters input 2.
SW1
1 2 Options 3 4 0 1 Filters 2 not used
To enable a filter, slide the Filter 0, Filter 1 or Filter 2 actuator to the right side of the switch (closed). To disable a filter, slide the Filter 0, Filter 1 or Filter 2 actuator to the left side of the switch (closed).
52
60 Hz Operation SW1
50 Hz Operation SW1
1 2 Options 3 4 0 1 Filters 2 not used
How to Set the Frequency Switch: Determine the desired range. Slide the actuator to the side of the switch shown in gray.
This side for 60 Hz. This side for 50Hz.
53
Maintenance
The SCADAPack 32 controllers require little maintenance. The 5V power LED indicates the status of the 5V supply. If the LED is off, and the SCADAPack 32 controller is powered using the integrated power supply, on board fuse F1 or F2 may require replacing. If the LED is off, and the SCADAPack 32 controller is powered using a 5103 power supply fuse F1 (5V) or F2 (24V) on the 5103 may require replacing. If the program is lost during power outages, the lithium battery may require replacement. The analog input and output circuitry is calibrated at the factory and does not require periodic calibration. Calibration may be necessary if the module has been repaired as a result of damage. If the SCADAPack 32 Controller is not functioning correctly, contact Control Microsystems Technical Support for information on returning the SCADAPack 32 Controller for repair. WARNING: Do not connect or disconnect any field wiring, including the wiring to the RS-232 ports, unless the power is off or the area is know to be non-hazardous.
Fuses
Two 1.0 Amp slow-blow fuses protects the power supply. The fuse is mounted under the cover. Fuse F1 protects the SCADAPack 32 controller when powered from the AC/DC Power Input. Fuse F2 protects the controller when powered from the DC Power Input. Refer to Controller Board Field Wiring Connectors section for their location. CAUTION: Remove power before servicing unit. Always replace a defective fuse with a fuse of the same rating. Under no circumstances should a fuse be bypassed or replaced with a fuse of a higher rating. The fuse is a Littelfuse Nano-SMF. Littelfuse part number LF R452 001. Control Microsystems part number 200072. In all cases investigate and correct the cause of the fuse failure before replacement. Common causes of fuse failure are short circuits and excessive input voltages.
Lithium Battery
A small lithium battery powers the CMOS memory and real-time clock when input power is removed. The voltage of a functioning battery should be greater than 3.0V. An application program can monitor this voltage. Refer to the programming manual for details. The battery should not require replacement under normal conditions. The shelf life of the battery is 10 years. The battery is rated to maintain the real-time clock and RAM data for two years with the power off. Accidental shorting or extreme temperatures may damage the battery. The battery is plugged into the circuit board and secured with a tie-wrap. If necessary it can be replaced with an identical battery available from Control Microsystems. It is not necessary to replace the tie-wrap.
54
Troubleshooting
Analog Inputs
Problem 20mA inputs always read 0. Reading is at or near 0 for all input signals. 20mA readings are not accurate. Reading is constant. Reading seems out of calibration for small inputs but improves as input increases. Action Check transmitter power. Check if the input transient suppressers are damaged. Check for a damaged 250 current sense resistor. Check that the analog input is not forced. Check the input range switch setting.
Analog Outputs
Problem Outputs are always 0mA The full-scale output is less than 20mA. Output is constant and should be changing. The output is 4mA when a value of 0 is output. 0mA was expected. The output is 0mA when a value of 0 is output. 4mA was expected. The output seems to be uncalibrated at small output values. The error improves as larger values are output. Action Check the 24V power. Check that the analog option is installed. Check the 24V power. Check that the load resistance is within specification. Check that the analog outputs are not forced. The 4-20mA output range is selected. Select the 020mA range. The 0-20mA output range is selected. Select the 420mA range. Check the setting of the output range switch. The wrong output range is probably selected.
55
Digital Inputs
Problem Input LED does not come on when input signal is applied. Input LED comes on but appears dim. Input is on when no signal is applied. The LED is off. Input is off when a signal is applied. The LED is on. Action Check the input signal at the termination block. It should be at least 50% of the digital input range. If this is a DC input, check the polarity of the signal. Confirm correct digital input type, AC o DC. This problem is typically the result of applying a DC voltage to an AC type input. Check that the digital inputs are not forced on. Check that the digital inputs are not forced off.
Digital Outputs
Problem Output LED does not come on when output is turned on. Output LED is off, but the output is closed. Output LED is on, but the output is open. Output LED comes on but the output does not close. Output LED comes on and output is closed, but the field device is not activated. Output LED and relay are on when they should be off. Output LED and relay are off when they should be on. Check if the relay is stuck. If so, return the board for repair. Check the field wiring. Check the external device. Check that the output is not forced on. Check that the output is not forced off. Action Check the LED POWER from the SCADAPack 32 controller. Relay contacts can be normally closed and/or normally open.
56
Specifications
General
I/O Terminations 6,8,9 and 10 pole, removable terminal blocks. 12 to 22 AWG 15A contacts Dimensions 8.40 inch (213mm) wide 6.13 inch (155mm) high 2.80 inch (72mm) deep Packaging Environment corrosion resistant zinc plated steel with black enamel paint 5% RH to 95% RH, non-condensing 40oC to 70oC 40oF to 158oF
Controller Board
Processor Memory Hitachi SH-3 32-bit CMOS microcontroller 120 MHz. clock 4Mbytes Flash 8Mbytes SDRAM 512kBytes CMOS RAM Non-volatile RAM Clock calendar CMOS RAM with lithium battery retains contents for 2 years with no power 1 minute/month at 25C +1/3 minutes/month 0 to 50C
57
Communications
Communication Ports, SCADAPack 32 controller board Communication Ports, SCADAPack 32 controller board 2 RS-232 serial ports (COM2, COM4) Data Terminal Equipment (DTE) 8 pin modular jack One serial port configurable RS-232 or RS-485 (COM1) RS-232: Data Terminal Equipment (DTE) 8 pin modular jack RS-485: 2 wire half duplex 4 wire full or half duplex optional termination resistors Communication Ports, Lower I/O module Baud Rates (COM1, COM2, COM4) Baud Rates (COM3) Parity Word Length Stop Bits Duplex (COM1, COM2, COM 4) Duplex (COM3) Cable Length Ethernet Termination none, even, or odd 7 or 8 bits 1 or 2 bits full or half with RTS/CTS control half with RTS/CTS control RS-232 maximum 50 ft (15.2 m) RS-485 maximum 4000 ft (1200 m) RJ-45 modular connector 10BaseT (twisted pair) 10M bits per second. Protocol Protocol Modes TeleBUS (compatible with Modbus RTU and Modbus ASCII) slave, master, master/slave, store and forward one RS-232 serial port (COM3) Data Terminal Equipment (DTE) DE-9P male connector 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600 and 115200. 1200, 2400, 4800, 9600, 19200, 38400, 57600 and 115200.
58
Visual Indicators
COM1,COM2, COM4 received data transmitted data clear to send data carrier detect Ethernet LAN (RxD) LED (TxD) LED (CTS) LED (DCD) LED LAN LED LINK LED
Ethernet network receive or transmit data Ethernet port connected to a network I/O module LED power status LED Status LED (shows functional status) 5V power LED (LED power not applicable) Run LED Forced I/O LED Counter Inputs 0, 1, 2 and 3 LEDs
16 red LEDs field powered (LED power not applicable) 12 red LEDs on the lower I/O module LED power toggle
59
Power Supply
Controller Board
Power Input AC/DC PWR IN DC power Input DC PWR 16Vrms 20% 13 to 24V nominal 28V maximum 10.7V typical turn on 9V typical turn off 5 Volt Power Output DC power Output 16Vrms applied Efficiency 5V at 1.3A capacity 5V at 500 mA required by SCADAPack 32 controller 20-24V with 1.0Vp-p maximum ripple. 300mA available at 5V/0.5A, de-rate linearly to 100mA available at 5V/1.3A 85%, 12V on DC PWR input
I/O Capacity
5000 Series I/O Expansion Capacity 256 digital inputs 256 digital outputs 128 analog inputs 64 analog outputs 32 counter inputs maximum 40 I/O modules
60
Analog Inputs
Input Points Resolution Input Resistance Converter type Accuracy Type Normal mode rejection Over-scale Input Capacity (without damage) Isolation Lower I/O Module Reading Update Time Response Time 8 on SCADAPack 32 lower I/O module 12 bits 100k for 5V inputs 250 for 20mA inputs successive approximation 0.1% of full scale at 25oC (77F) 0.2% over temperature range single ended 60dB at 50 / 60 Hz. Continuous: 60% over scale sustained input signal. 0.25A maximum current and 8.2V maximum voltage. Transient: 2.5kV surge withstand capability as per ANSI/IEEE C37.90.1-1989 70Vrms / 100V from the logic power and chassis when jumper J3 on the lower I/O module has been cut and an isolated power supply is used to the lower I/O module. 100ms 20ms typical for 10% to 90% signal change
61
Analog Outputs
Output Points Output Signal Range Maximum Load Resistance 2 (when optional 5303 analog outputs installed) 0-20mA 1000 with 24V DC loop power 400 with 12V DC loop power 250 with 9V DC loop power Output Type Isolation single ended regulation on positive side with common negative return 70Vrms / 100V from the logic power and chassis when jumper J3 on the lower I/O module has been cut and an isolated power supply is used to the lower I/O module. 12 bits 0.05% at 25oC (77oF) with 250 load 0.2% over temperature range, 0-1000 load 0.04% maximum 600W transient suppresser on each output 250ms typical for 10% to 90% signal change 5V at 10mA 9 to 28V at 15mA (55mA with all outputs at 20mA)
D/A Resolution Absolute Accuracy Noise and Ripple Transient Protection Response Time Power Requirements
62
Digital Inputs
Controller Board
Input Points Digital Input, Counter 4 Digital Input/Counter, opto coupler isolation 24Vrms/30V maximum input 10Vrms/10V minimum ON input 2V maximum OFF input Typical threshold voltage is 4 to 6V Typical input hysteresis 1.0V Typical input current Counter Input Frequency (Counter 0, 1, 2) Counter Input Frequency (Counter 3) 2.5mA at 10V 7mA at 24V 5 kHz maximum with filter OFF 30 Hz maximum with filter ON 500 Hz maximum
On To Off
6.0Vrms+/-0.5Vrms 45Vrms+/- 5Vrms
63
64
Digital Outputs
Controller Board
Status Output Opto coupler open collector transistor 30V, 60mA opens on fault
65
66