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 6

SIMATIC TI505 6MT Channel Controller User Manual: 3 Programming and Assigning I/O Points

Pages 20 to 28 of 32, from SIMATIC TI505 6MT Channel Controller User Manual

The original document is the PDF (165 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 Texas Instruments 6MT50-1 and Siemens 6MT50-1

Page 20

Chapter 3

Programming and Assigning I/O Points 3.1

3.2

3.3

Configuring the 6MT Channel Controller into Series 505 Memory . . . . . . . . . . . . . . . . . . .

3-2

I/O Points Available . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Selecting the I/O Definition Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Viewing the I/O Configuration Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring 6MT I/O Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-2 3-2 3-3 3-3 3-3

Mapping 6MT I/O into Series 505 Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-4

Map Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-4

Programming Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-6

Status Words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setup Words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Disabling Inputs and Outputs (Word 8) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Ladder Logic Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sample Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-6 3-6 3-7 3-7 3-8

SIMATIC TI505 6MT Channel Controller User Manual

Programming and Assigning I/O Points

3-1

Page 21

3.1

Configuring the 6MT Channel Controller into Series 505 Memory

I/O Points Available

The number of I/O points available with the 6MTCC installed in a distributed base is 448 (208 inputs and 240 outputs). The number of I/O points available in a remote/local base is 512 (256 inputs and 256 outputs). Refer to Section 2.2 to select the base.

Configuring I/O

The points associated with the 6MT I/O system are consecutive starting at the number represented by the value in word WY5. You must determine the following information: •

How to use the 6MT I/O points in the ladder logic program

•

How to manually configure the I/O table. (See the appropriate Series 505 PLC manual)

You must also understand the following: •

That 6MT inputs and outputs are consecutive points in the discrete image register

•

That the first X point is always Xp, where p is the value of word 5

•

That the first Y point immediately follows the X inputs - number this output with the first number after the inputs (multiple of 8 + 1)

•

That all 6MT I/O points previously used in 5TI ladder logic programs, must be renumbered

•

That two points cannot have the same number: e.g., you cannot have X1 and Y1

NOTE: Input points must be allocated in even multiples of eight. (i.e., 16, 32, 48, 64 . . . .)

3-2

Programming and Assigning I/O Points

SIMATIC TI505 6MT Channel Controller User Manual

Page 22

Selecting the I/O Definition Chart

Configuring the 6MTCC as a 4WX/4WY special function module affects Series 505 word memory configuration. Otherwise, the 6MTCC has no effect on Series 505 word memory. Figure 3-1 shows a I/O definition chart with a 6MTCC installed in slot 1 with the first word beginning at WX513. Refer to your TISOFT manual for detailed instructions on selecting the chart. I/O MODULE DEFINITION FOR: CHANNEL . . . . 1 BASE . . 00 I/O NUMBER OF BIT AND WORD I/O SPECIAL SLOT ADDRESS X Y WX WY FUNCTION 1

0513

00

00

04

04

YES

2

0000

00

00

00

00

NO

3

0000

00

00

00

00

NO

4

0000

00

00

00

00

NO

5

0000

00

00

00

00

NO

6

0000

00

00

00

00

NO

7

0000

00

00

00

00

NO

8

0000

00

00

00

00

NO

Figure 3-1 I/O Definition Chart NOTE: Points within the 6MT I/O system do not appear in the Series 505 PLC I/O configuration table. The 6MT interface module appears in the Series 505 I/O configuration table only as a 4-word in, 4-word out, special function module. It is your responsibility to document which Series 505 I/O points are occupied by the 6MT I/O system and to ensure that Series 505 I/O modules are not configured to use points in the 6MT system. Viewing the I/O Configuration Chart

Use SHOW or a similar menu selection to display the I/O Configuration Chart. The configuration in Figure 3-1 appears as shown in Figure 3-2. I/O CONFIGURATION CHART FOR CHANNEL . . . 1 BASE . . . . . 00 I/O POINTS SLOT 1

1 WX0513

2 WX0514

3 WX0515

4 WX0516

5 WY0517

6 WY0518

7 WY0519

8 WY0520

SLOT 2 SLOT 3 SLOT 4 SLOT 5

Figure 3-2 I/O Configuration Chart Configuring 6MT I/O Points

After you configure the 6MTCC into the Series 505 controller I/O space, you must then write data to the word I/O points to configure the 6MT I/O points.

SIMATIC TI505 6MT Channel Controller User Manual

Programming and Assigning I/O Points

3-3

Page 23

3.2

Mapping 6MT I/O into Series 505 Memory

Map Example

If the 6MT I/O system contains 236 Xs and 140Ys - starting at point number 1 (X1), and the 6MTCC 8-word values are configured at word number 513 (WX 513) in the Series 505 controller, the controller I/O configuration table is mapped as shown in Figure 3-3. Refer to Section 3.3 for values used in the WY setup words.

X1 X2 . . . X236

First 6MT X point

X237 Unused X238 Unused X239 Unused X240 Unused

Y241 Y242 . . . Y379 Y380

First 6MT Y point

Y381 Unused Y382 Unused Y383 Unused Y384 Unused

Available for other Series 505 I/O points WX513 WX514 WX515 WX516 WY517 WY518 WY519 WY520

First word of 6MTCC

Available for other Series 505 I/O words

I002036

Figure 3-3 Sample Image Register Mapping

3-4

Programming and Assigning I/O Points

SIMATIC TI505 6MT Channel Controller User Manual

Page 24

The 6MTCC automatically maps X points followed by Y points in the 6MT I/O. You must renumber all X and Y points associated with the 6MT I/O system; the renumbered points are the only ones you can use in your ladder logic program. If you use one of the unused points shown in Figure 3-3, the 6MT I/O may operate unpredictably.

!

WARNING

To help minimize the risk of personal injury or property damage, renumber all the points that are associated with the 6MT I/O system. Using any of the unused points in the 6MT I/O system may result in an unpredictable operation of the application.

!

WARNING

To help minimize the risk of personal injury or property damage, you must enter the I/O configuration table into the Series 505 PLC manually, and you must reserve the space in the table for the 6MT I/O points. Configuring a Series 505 I/O module into the space reserved for 6MT I/O points, may result in unpredictable operation of the application.

NOTE: The 6MTCC module supports up to 512 6MT I/O points in a local/remote base. The 6MTCC supports up to 208 X inputs and 240 Y outputs in a distributed base.

SIMATIC TI505 6MT Channel Controller User Manual

Programming and Assigning I/O Points

3-5

Page 25

3.3

Programming Guidelines

Status Words

Table 3-1 and Table 3-2 describes words that are not part of the 6MT I/O points; you can place them in any WX/WY location in the Series 505 I/O configuration. In these examples, 6MTCC word points begin at point number 513 in the Series 505 controller I/O configuration table. Table 3-1 Status Words Word

Setup Words

Point

Status

WX 1

WX 513 = 1

Module good (0 = configuration error or module is faulty)

WX 2

WX 514 = 0

No I/O error (1 = 6MT I/O configuration error)

WX 3

WX 515 = 0

Not used

WX 4

WX 516 = 0

Not used

Set these words to the values required for your 6MT I/O. Table 3-2 Setup Words Word

Point

Status

WY5*

WY 517 = 1

Point number of first 6MT point Multiple of 8 = 1 (1,9,17, . . .)

WY6*

WY 518 = 240

Number of inputs, X, in 6MT I/O, even multiple of 8; e.g., if there are 118 X inputs, load 128 in word 6

WY7*

WY 519 = 140

Number of outputs, Y, in 6MT I/O, multiple of 8; e.g., if there are 79 Y outputs, load 80 in word 7

WY8

WY 520 = 1

Module unlocked, allows 6MT I/O update; no other value unlocks the module

* Word 6 and 7 cannot both equal 0; the sum of words 5, 6, and 7 cannot exceed the last point number of the program.

3-6

Programming and Assigning I/O Points

SIMATIC TI505 6MT Channel Controller User Manual

Page 26

Disabling Inputs and Outputs (Word 8)

!

WARNING

Ladder Logic Restrictions

The lockout word disables inputs and outputs in the 6MT I/O system. Locking out the module causes the following conditions: •

No communications between the PLC and the module

•

No inputs are read by the PLC

•

All outputs are turned off

•

No outputs are subsequently updated by the PLC

To help avoid potential property damage or injury to personnel, always reset the lockout word (word WY8) before entering program (PGM) mode. Output points can be forced on when the PLC is in programming mode if the lockout word was not reset prior to entering the programming mode.

The 6MTCC restricts your ladder logic programs in the following manner: You must write information concerning the 6MT I/O system to the following setup words: •

Write the starting X point number to setup word WY5

•

Write the number of inputs (Xs) to setup word WY6

•

Write the number of outputs (Ys) to setup word WY7

Your ladder logic program must service the 6MTCC through lockout output word (word WY8). Your program must monitor the status of the 6MTCC, and any other system parameters, to determine whether or not to shut down the 6MT I/O system.

SIMATIC TI505 6MT Channel Controller User Manual

Programming and Assigning I/O Points

3-7

Page 27

3.4

Setup Procedure

Sample Setup

This example shows a setup procedure with a 6MT system consisting of 32 X inputs and 16 Y outputs, with the 6MTCC installed in slot 1 of base 0. Figure 3-4 provides a sample setup program for this configuration. (When calculating setup parameters for your 6MT system, remember to round all I/O points up to multiples of 8.)

NOTE: Before starting the setup, ensure that the system power is off.

1.

Initialize I/O configuration of the controller: The I/O address of 6MTCC = 513. Load this value into I/O address of base 0, slot 1.

2.

Since the first point is 1, initialize Word 5: WY 517 = 1

3.

Since the number of X inputs is 32, initialize Word 6: WY 0518 = 32

4.

Since the number of Y outputs is 16, initialize Word 7: WY 519 = 16

5.

Write 0001 to Word 8 of the 6MTCC to unlock the module. WY 520 = 1

After programming is completed, the 6MT I/O changes state when word 8 is unlocked.

NOTE: This set-up logic needs to be executed only once at the beginning of the ladder program.

3-8

Programming and Assigning I/O Points

SIMATIC TI505 6MT Channel Controller User Manual

Page 28

C2

:

Contact C1 initializes the 6MTCC via load data constant (LDC) 1–4. You can change this contact to any I/O point, but this part of program must be run before the 6MT I/O can receive any communications. LDC 1 loads the I/O starting address. In this case it is 1. LDC 2 loads the number of X points in the system. In this case it is 32. LDC 3 loads the number of Y points in the system. In this case it is 16. LDC 4 loads the unlock module code, which allows the I/O to operate.

Note: Keep module locked until programming is completed.

C1

C3

C2

:

LDC1

LDC2

LDC3

A: WY517

A: WY518

A: WY519

N=1

N = 32

N = 16

Configure 6MTCC into TI545 memory as 4WX/4WY module at address 1. X1 corresponds to X0 (6MT) Y97 corresponds to Y0 (6MT)

C2

C3 LDC4 A: WY520 N=1

I002037

Figure 3-4 Sample RLL Setup Program

SIMATIC TI505 6MT Channel Controller User Manual

Programming and Assigning I/O Points

3-9