Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 2 of 7

SERI Installation and Programming Manual, pages 11 to 20

Pages 11 to 20 of 65

The original document is the PDF (442 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

Filed in the catalog under the Square D 8030-RIM-126 and Schneider 8030-RIM-126

Page 11

2 Installation

Warning Do NOT install or remove the SERI with power applied to the Rack. Turn OFF power at the power supply. SY/MAX racks are not Hot Swappable. Damage to the equipment may occur if the power is on during installation.

Module Installation 1

Remove power from the rack.

2

Mount the SERI in Register Slot 1 (CPU slot) in the rack. (See Figures 2-4 and 2-5 for supported RRK and HRK racks.) Secure the screw at the bottom of the module.

3

Apply power to the rack. The green power light should illuminate and remain lit.

4

The SERI will default to the settings held in non-volatile Flash. Factory default settings are: a. Ethernet Port: Modbus/TCP, IP Address = 10.10.10.10 Subnet Mask = 255.0.0.0 BOOTP/DHCP = OFF Modbus Index = 255 b. Serial Port: Dual Slave (Modbus/RTU and SY/MAX) 9600 baud Even parity 8 data bits

SERI Manual

2 Installation 11

Page 12

1 stop bit Modbus Slave = 255

SERISW Software Installation The CD that is included with the SERI includes the SERISW32 software. Insert the CD into the CD ROM drive of the PC and select the SERI from the install programs and manuals feature. NOTE: The absolute latest version of SERISW and the SERI firmware may be downloaded from www.niobrara.com.

Default IP Address for the SERI The SERI defaults to an IP Address of 10.10.10.10 and a subnet mask of 255.0.0.0. BootP and DHCP are disabled by default. To connect to the default SERI via Ethernet, set the IP Address of the PC to a similar IP Address of the SERI (such as 10.10.10.11 with a subnet mask of 255.0.0.0) and enter the URL 10.10.10.10 in a standard web browser.

Serial Connection to the SERI A physical connection from the personal computer to the SERI may be used with the SERISW32 program to configure the SERI. Usually an RS-232 to RS-422 converter is required for this connection and the Niobrara SC902 smart cable is recommended. The RS-422 port of the SERI provides 5VDC power for the SC902 cable so the external power supply is not required.

Firmware Upgrade Downloading new firmware to the SERI is accomplished with the FWLOAD utility via the RS-422 serial port. To load new firmware into the SERI, perform the following steps:

12 Installation

2

1

Remove power from the register rack.

2

Remove the SERI from the register rack.

3

Locate the Load/Normal toggle switch on the top of the SERI. (See Figure 2-1) Move this switch to the LOAD position. Install the SERI back into the register rack.

4

Apply power to the rack. The SERI should perform its startup sequence and display the program and memory LEDs.

5

Connect the personal computer to the COMM port of the SERI. An SC902 cable provides a convenient method for the RS-232<>RS-422 conversion.

SERI Manual

Page 13

SERI Load/Run Switch

SERI

SC902 Cable

Figure 2-1 SERI Firmware Download

6

From the start menu of the computer select "Start, Programs, Niobrara, SERI, Download SERI Firmware". Fwload will start with the File to load c:\Niobrara\Firmware\seri.fwl selected. (See Figure 2-2)

7

Select the appropriate serial port on the personal computer, then press Start Download.

8

Wait for the firmware download to be completed. A message indicating completion will be displayed on the personal computer.

9

After the completion of the download, remove power from the register rack.

10 Remove the SERI from the rack. 11 Change the LOAD/NORMAL switch back to NORMAL. 12 Install the SERI back into the register rack. 13 Connect power back to the register rack.

SERI Manual

2

Installation 13

Page 14

Figure 2-2 SERI Firmware Download

Backplane CPLD Upgrade The backplane interface of the SERI is controlled by a complex programmable logic device (CPLD). It may become necessary in the future to upgrade the program in the CPLD. This is also done using the FWLOAD program. Follow the above instructions for loading the module firmware, except use the file c:\Niobrara\Firmware\srmbackplanexilinx.fwl, as shown in Figure 2-3.

Figure 2-3 SERI CPLD Program Download

14 Installation

2

SERI Manual

Page 15

1 2

3

4

1 2

5

RRK-100 1 2

3

4

5

6

3

4

5

6

7

8

9

10 11 12 13 14 15 16 17 18 7

8

9

RRK-200

RRK-300 Note: Slots 17 and 18 cannot be rack addressed.

Note: SERI is installed in Slot 1 in each type of RRK Rack. Figure 2-4 RRK Register Racks

SERI Manual

2

Installation 15

Page 16

R2 R1 D 1

D 8

R4 R3 R2 R1 D 1

HRK-100

D 8

HRK-150

R2 R1 D 1

D 1 6

HRK-200 Note: SERI is installed in slot R1 in all HRK racks. Figure 2-5 HRK Racks

16 Installation

2

SERI Manual

Page 17

3 Operation

Mapper Overview The SERI mapper allows up to 50 entries that associate blocks of Inputs or Outputs to a Modbus image table. Each entry consists of the starting Modbus register number (1-10000), the starting register in the module (1-2048), the count of 16-bit words (12048), the direction of operation (Read or Write), and the slot number (1-16 for Register slots and 17-32 for Digital slots). The SERI uses two copies of the Modbus image table while controlling its local rack. One image is used by the internal rack scanner and is updated by reading the Inputs and Status from the rack and provides the data for writing to the Outputs. The other image is used by the internal data server for Modbus operations by the Ethernet and serial port. When the rack scanner is finished updating the rack it swaps images with the data server. Changes to the data server image are not allowed during the image swap. Access to this image table is done by selecting Modbus/TCP Slave Address 0 or 1. Table 3-1

SERI Modbus Registers for Index 0 and 1

Holding Register Range

Read/ Write

Function

1..10000

R/W

I/O Mapped data

10001..20000

R Only

SY/MAX Status of registers 1-10000

20001...30000

R Only

MSB - Rack Slot Number of 1-10000 LSB - Error flag or registers 1-10000

R/W

Default output states of 1-10000

30001...40000

Notes

1-16 is Register Slot 17-32 is Digital Slot 1-16 Error bit 1 means write to a read-only

Registers 1 through 10000 are the Modbus registers for the SY/MAX mapped I/O. The Modbus/TCP controlling master will read and write these registers to control the I/O. The SERI must receive a write message within the watchdog timeout setting, or the Outputs will revert to the default values.

SERI Manual

3 Operation 17

Page 18

Registers 10001 through 20000 contain the SY/MAX status data for each of the mapped registers in the first 10000 words. Bits in the status data indicate module type and sometimes information about overflow, blown fuses, overrange, etc. It may be useful for the controlling Modbus/TCP master to poll this data periodically, perhaps at a slower rate than the I/O. Registers 20001 through 30000 contain the slot number for the appropriate Modbus register and any SERI error conditions for that register. For example if register 20005 has a value of 0A01 (hex) then the SY/MAX register in slot 10 (0A hex) mapped to Modbus register 5 is a read-only Input register but this map entry is trying to write to it. The default values in registers 30001 through 40000 are valid only for map entries that write Outputs. The value stored here is written to the Output whenever the SERI is halted or running without an active master. For example if register 30021 has a decimal value of 123 then the SY/MAX Output mapped to Modbus register 21 will be set to 123 every time the SERI is halted.

Mapper Configuration The SERI’s internal configuration memory is represented as Modbus Holding Registers accessed through Modbus Slave Address 255. A list of available registers is shown in Table 3-3. Map Entries Registers 1 through 200 are the 50 possible map entries. Table 3-2 gives an example of three entries in the mapper for a Spectrum Controls 8000 RAO-208 Analog output module. This 8 channel module has 20 registers with the first 11 registers outputs, register 12 is an input and then registers 13 through 20 are outputs. These mapper entries will group all of the outputs together into Modbus Holding Registers 101 through 119 and the input will be placed in register 120. The analog card is located in register slot 3. Table 3-2

18 Operation

3

Mapper Example for RAO-208 module

SERI Register

Description

Example Data

Example Description

1

Modbus Image Reg Number

101

Modbus reg 101

2

Module Register Number

1

Module reg 1

3

Register Count

11

11 words

4

Direction/Slot number

5

0003 (hex)

Output in slot 3

Modbus Image Reg Number

112

Modbus reg 112

6

Module Register Number

13

Module reg 13

7

Register Count

8

8 words

8

Direction/Slot number

9

0003 (hex)

Output in slot 3

Modbus Image Reg Number

120

Modbus reg 120

10

Module Register Number

12

Module reg 12

11

Register Count

1

1 word

12

Direction/Slot number

0103 (hex)

Read in Slot 3

SERI Manual

Page 19

Table 3-3 Register Range 1..200

SERI Manual

SERI Configuration Register List (Index 255) Read/ Write

Function

R/W

Mapper (50 Entries of 4 words each) word 0 - Modbus Register (1-10000) word 1 - Module Backplane Register (1-2048) word 2 - Register Count (1-2048) word 3 - MSB -> Direction - value of 0 indicates write - value of 1 indicates read LSB - > Slot Number (1-32)

1001

R/W

Control Register bit 1 = Halt bit 2 = Disable Outputs

1011

R

Status Register bit 1 = Halted bit 2 = Outputs Disabled bit 3 = Running bit 4 = Memory Error (write to a read only register) bit 7 = Key in halt position bit 9 = Key in run position bit 11 = Power Supply battery is low

1012

R

Scan time in ms

1013-1014

R

IP Address of current master. Packed MSW, LSW.

1015

R

"Checksum" of status of first words in rack (changes if modules change)

1021-1036

R

First status word of register slots 1-16

NOTE: It is recommended to only write this register when a change of state is desired. Continuous writing may cause a dramatic increase in the scan time of the SERI.

1053-1054

R

Checksum of configuration

1055

R

Configuration mismatches Flash 1=mismatch

2049-2092

R/W

Statistics for Ethernet and port 1

2900-2901

R/W

IP Address of SERI

2902-2903

R/W

Default Gateway

2904-2905

R/W

Subnet Mask

2997

R/W

TCP Backstep

2998

R/W

TCP Downstream Timeout

2999

R/Q

TCP Quiet Timeout

3000-3001

R/W

IPAddress of Allowed Master 0 (Packed MSW, LSW)

3002-3003

R/W

IPAddress of Allowed Master 1

3004-3005

R/W

IPAddress of Allowed Master 2

3006-3007

R/W

IPAddress of Allowed Master 3

3008-3009

R/W

Watchdog timeout in ms (unsigned integer MSW, LSW)

3010

R/W

Rack Type 0=None, 1=HRK100, 4=RRK100, 2=HRK150, 5=RRK200, 3=HRK200, 6=RRK300

3011-3021

R/W

Password for web server null-terminated string

10001-20000

R

Copy of same registers in index 0 and 1 (SY/MAX Status words)

20001-30000

R

Copy of same registers in index 0 and 1 (Slot number/Error)

30001-40000

R/W

Copy of same registers in index 0 and 1 (Default Outputs)

3

Operation 19

Page 20

NOTE: It is recommended that register 1001, the Control Register, only be written when a change of state is desired. Continuous writes may cause a dramatic increase in the scan time of the SERI. The above example with the RAO-208 analog module may be further expanded by setting the default values in registers 9 and 10 to the hex values 2103 and 4152 which set channel 1 to 0-5Vdc, channel 2 to 4-20ma, channel 3 to 0-10Vdc, channel 4 to +/5Vdc, channel 5 to 0-5Vdc, channel 6 to 1-5Vdc, channel 7 to 0-10Vdc, and channel 8 to +/-5Vdc. To force these default values, simply set registers 30109 to hex 2103 and 30110 to hex 4152.

20 Operation

3

SERI Manual