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

The text of a manual · part 5 of 7

SERI Installation and Programming Manual, pages 41 to 50

Pages 41 to 50 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 41

Edit Mapper configuration

The I/O configuration screen is similar to the oNline version. Use the editor in the normal fashion to make changes to the memory file. Upon completion of the editing, it is advised that the work be saved using the "Write from memory to disk" routine. Upon exiting the editor, the main SERISW menu will appear. It is important to remember to save the file before exiting or the changes will not be made. Send memory to module This function requires a physical connection from the computer to an SERI. The Serial setup must be properly configured to allow oNline communication to the SERI. When the "Send memory to module" selection is made, the configuration in the computer’s memory is immediately transferred to the SERI. Fetch memory from module This function requires a physical connection from the computer to an SERI. The Serial setup must be properly configured to allow oNline communication to the SERI. When the "Fetch memory from module" selection is made, the configuration in the SERI is immediately transferred to the oFfline memory. Print configuration in memory This function will produce a report showing the current oFfline configuration parameters in the computer’s memory. When this function is selected, the user will be prompted for an output filename with the default value of PRN shown. To send the report to the PRN device (normally the parallel printer port), simply press ENTER. To send the report to a different port or to a file, type the name and then press ENTER. Online configurations may be printed with the F1 print screen key. Delete configuration file This function removes the selected SERI source file from the disk. "Delete configuration file" uses the same point and shoot file selection described for "Read from disk to memory" above. The name should be a valid MS/DOS filename but should not include any path name or extension. The program removes the file from the disk as well as removing it from the bottom of the screen. To remove a file in a directory other than the current one, use the arrow and ENTER keys to traverse the directory tree until a listing of the desired directory is shown in the bottom half of the screen. Then type in the file name and press ENTER. Quit offline functions Selecting this menu item will return the user to the main menu. Pressing the Escape key will perform the same function.

SERI Manual

5

Configuration Software SERISW32 41

Page 42

Utility The Utility menu provides access to useful maintenance and testing functions of the SERISW software. View registers Selecting the View registers menu item will invoke a SY/MAX register data viewer/modifier. This viewer continuously performs a block read of 20 registers and displays the contents of those registers in hex, unsigned integer, signed integer, and binary. The status register associated with the data register is also displayed in hex. The register viewer is dependent on the values located in the SETUP Serial communications menu. Mode, Baud rate, Parity, Route, etc. must be properly set for proper communication. The Up and Down arrow keys are used to move from register to register. The Page Up and Page Down keys move in increments of 10 registers. The Left and Right arrows move from column to column on the same register. This register viewer is highly useful in that it allows easy editing of the data in the register being viewed. By pressing 0..9 in the decimal fields or 0..9, or A..F in the hex field, an editing mode is entered. New data may be entered at this time. Pressing the Enter key or moving to a new field with the arrow keys will cause the new data to be written to the edited register. If the curser is located in the REGISTER column the block of registers being viewed may be adjusted by entering a new register number. To edit the binary values, press HOME when on the binary field. Move the cursor to the desired bit and enter a ’0’ or a ’1’ and press enter to accept. Pressing the F9 key will invoke the Setup serial window for immediate access to the personal computer’s communication parameters. Pressing the F8 key will invoke the Register Viewer Setup screen. Useful options that can be changed include the starting register to be viewed, the number of registers to view at once, and whether or not to read the firmware date from the SERI. Pressing Esc will exit from the Register viewer and return to the main menu. Pressing Esc while editing a data field will result in canceling the edit and the modified data will not be written to the register. The STAT field displays the status register associated with the data register. The STATUS field is a read only display and can not be modified by the Register Viewer. Two common values are E000 and A000. A000 is the hex representation that the PLC recognizes as a PLC OUTPUT register. E000 is for a PLC INPUT register. This allows easy recognition of registers used by the SERI as inputs and used by the PLC as outputs.

42 Configuration Software SERISW32

5

SERI Manual

Page 43

Figure 5-6 View Registers

Terminal Emulator Selecting the Terminal emulator from the Utilities menu will invoke a terminal emulator according to the setup selected in the Setup menu. The terminal emulator opens as shown in Figure 5-7. The terminal sends the ASCII code for the alpha-numeric characters out the selected COM port. Functions keys F1 through F4 and the keypad arrows send ANSI (i.e. VT100) codes. F7 is reserved for starting a file capture. F8 will close the capture file. The backspace key sends ASCII BS (08 hex). The Delete key sends and ASCII DEL (7F hex). The Insert key allows the transmission of ASCII hexadecimal characters directly from the hex numbers separated by spaces. The F9 key will invoke the Terminal Emulator Setup Screen for immediate modification of the personal computer’s communication setup parameters.

Figure 5-7 Terminal Emulator

SERI Manual

5

Configuration Software SERISW32 43

Page 44

SETUP The setup menu accesses the setup parameters for the personal computer to enable it to communicate with the SERI and the terminal emulator. The parameters chosen will depend on the exact equipment involved in making the connections. The Setup menu should appear as in Figure 5-8.

Figure 5-8 Setup Menu Screen

Serial SETUP The connection type is mainly determined by the method of connection to the outside world and may be broken into two groups: the personal computer’s COM: port and the Modbus/TCP Ethernet. Personal Computer COM: port If the connection from the personal computer is made through one of its serial ports then the Connection type should be one of the following: • Modbus RTU COM: • SY/MAX COM: Modbus RTU COM: is the default and most likely will be the one used. In this mode the personal computer will communicate through one of its COM: ports as a Modbus master. The drop number selected must be 255 to configure the SERI. This mode is to be used when a direct connection from the personal computer COM: port is made to the SERI. In most cases an RS-232<>RS-422 conversion is required and the Niobrara SC902 cable makes this conversion very convenient. Modbus/TCP is used when connecting over Ethernet to the SERI. The Host must be the IP Address of the SERI. Index 255 must be used to configure the SERI.

44 Configuration Software SERISW32

5

SERI Manual

Page 45

6 Setup Examples

In these examples a RRK-100 rack is populated with various input and output modules see Figure 6-1. Slot one contains the SERI. Slot two contains a RIM-101 which is a 16 function optically isolated input module. Slot three contains a ROM-271 which is a 16 function isolated relay output module. Slot four contains a RIM-331 which is a 24VDC, 32 function input module. Slot five contains ROM-441 which is a 24VDC, 32 function output module.

Slot 1

Slot 2

Slot 3

Slot 4

Slot 5

SERI

RIM-101

ROM-271

RIM-331

ROM-441

RRK-100 Figure 6-1 Example RRK-100 Rack populated with Input and Output Modules

SERI Manual

6 Setup Examples 45

Page 46

Table 6-1 shows the information needed to setup each device. The first column in the table "Device" is the name of the device and is only used to help identify the modules in the table. Modbus Register is the Mobus Register assigned to the device in the SERI. Slot is the physical slot the device occupies in the rack. Slot Word is the starting register in the device which is one for many devices. Word Count is the number of words needed to contain the data. The Direction is whether the device is an input or an output. The Default Value is the value that will be sent to the device if the SERI has not received a message for the device within the timeout period. Table 6-1 Device

Example one SERI Device Table Modbus Register

Slot

Slot Word

Word Count

Direction

Default Value

RIM-101

1

2

1

1 input

N/A

ROM-271

2

3

1

1 output

2=X0000

ROM-331

3-4

4

1

2 input

N/A

ROM-441

5-6

5

1

2 output

5=x0000 6=x0000

In Example one the entries in the SERI are arranged in the slot order. This method of mapping the devices will work, however the first register is an input, register two is an output, registers 3-4 are inputs, and registers 5-6 are outputs. Grouping the inputs and outputs into consecutive registers can make reading the inputs and outputs more intuitive and the number of Modbus messages can be reduced see Table 6-2 . Four Modbus messages have to be processed to get all inputs and outputs in example one, whereas only two messages are required in example two. The physical slots the devices occupies have not been changed just the Modbus registers in the SERI. The Modbus registers do not have to start at one for instance the inputs could start at register 100 and the outputs start at register 200 and status start at register 300. Table 6-2

Example two SERI Device Table

Device

Modbus Register

Slot

Slot Word

Word Count

Direction

Default Value

RIM-101

1

2

1

1 input

N/A

ROM-271

4

3

1

1 output

2=X0000

ROM-331

2-3

4

1

2 input

N/A

ROM-441

5-6

5

1

2 output

5=x0000 6=x0000

The SERI can also reverse the bit order of the data in the registers. This is useful when working with Concept devices as the Modbus master. To accomplish this rack address the devices into unused Modbus registers. Then Add a Mapper Entry for each card in the rack and place in a register the Modbus master can reach and reverse these registers see Table 6-3. In this example Modbus registers starting at 100 represent the reversed input data, Modbus registers starting at 200 represent reversed output data. In the Mapper Entry Table the Modbus Register is the register the reversed data will be placed into. The Source is either R1(0) which represents the cards in the rack or R1(255) which represents the internal registers of the SERI including setup, status, and error registers. The Source Address is the address of the source data. The Word

46 Setup Examples

6

SERI Manual

Page 47

Count is the number of words to be read. The Direction represents the direction the data of the data. Table 6-4 shows the example. Table 6-3

SERI Add Mapper Entry Table

Modbus Register

Source

Source Address

Word Count

100

R1(0)

1

3 input (reversed)

200

R1(0)

4

3 output (reversed)

Direction

Table 6-4 shows the resulting device table with the mapper entries added. The Device column shows the name of the device in the rack. This column does not appear on the SERI web page nor in the SERISW32 software because it is only to help with the explanation of how the device works and is not needed by the SERI. The Modbus Register column shows the registers were the data will be held. Slot is the physical slot the device occupies. In the case of the two mapper entries Slot is R1(0) which points to registers inside the SERI not to a slot. Slot Word is the starting location in the device to start reading data. The Slot Word in the two Mapper Entries shows the starting Modbus register inside the SERI which in the first entry starts at register 1 and in the second entry starts at register 4. Word Count is the number of registers to be read. It is the same for the rack or the mapper entries. Direction indicates inputs or outputs and in the case of the mapper entries whether the data is to be reversed. Default Value is the value written to the device from the SERI if no messages are received by the SERI from the Modbus master within the timeout period. The Default Values in the Mapper Entries that are mapped to internal registers will override the default values set in the Rack Entries. Table 6-4

Example three SERI Device Table

Device

Modbus Register

Slot

Slot Word

Word Count

Direction

Default Value

RIM-101

1

2

1

1 input

N/A

ROM-271

4

3

1

1 output

2=x0000

ROM-331

2-3

4

1

2 input

N/A

ROM-441

5-6

5

1

2 output

5=x0000 6=x0000

Mapper Entry

100-102

R1(0)

1

3 input (reversed)

N/A

Mapper Entry

200-202

R1(0)

4

3 output (reversed)

200=x0000 201=x0000 202=x0000

In the example above there are only two Mapper Entries needed to collect all the data from the cards and reverse the data. All the inputs are read from the first mapper entry and all the outputs are read from the second mapper entry.

SERI Manual

6

Setup Examples 47

Page 48

This page is a scan with no text; see it in the PDF.

Page 49

7 Connector Pinouts

COMM RS-422 port on SERI (DE9S with slide lock posts) 1 TX- transmit data (inverted) from SERI to output device 2

TX+ transmit data (noninverted) from SERI to output device

3

RX- receive data (inverted) from data source to SERI

4

RX+ receive data (noninverted) from data source to SERI

5

+5VDC for smart cable power

6

+5VDC for smart cable power

7

GND

8

GND

9

Shield ground. AC coupled to the chassis.

9 8 7 6

Figure 7-1

SERI Manual

5 4 3 2 1

SY/MAX RS-422 Connector Pinout

7 Connector Pinouts 49

Page 50

This page is a scan with no text; see it in the PDF.