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

The text of a manual · part 3 of 4

Series One PLC to Series 90-30 PLC Translator User's Manual: Integration

Pages 13 to 24 of 27, from Series One PLC to Series 90-30 PLC Translator User's Manual

The original document is the PDF (3.4 MB). 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 GE Fanuc IC610CHS110A, GE Fanuc IC610CPU105A, GE Fanuc IC610CPU105C, GE Fanuc IC610MDL101B, GE Fanuc IC610MDL111A, GE Fanuc IC610MDL112A, GE Fanuc IC610MDL124A, GE Fanuc IC610MDL125B, and 28 more models

Page 13

9

Series One ‘to Series 90-30 Translator GFK-0486

5. Integration The activities of the translator program are actually a front end to the Logicmaster 90-30 programming package. In order to continue, Logicmaster 90-30 must have been installed on the Workmaster or other computer and the folder (directory) with the three files created in the Results section above must be available. It is assumed from this point on that you are familiar with basic Logicmaster 90-30 operation. The next step in the process of converting an application from Series One to Series 90-30 involves using file. The two .DEF files created by the inherent capability of Logicmaster to read a “teach-in” activities described above are used to automatically enter both the hardware configuration and logic into the Logicmaster 90-30 programmer. First, start the Logicmaster 90-30 program and SELECT the program folder created by the translator. Both the CONFIGURATOR and the PROGRAMMER portions of the Logicmaster package will be used. Once in the CONFIGURATOR, select I/O CONFIG and playback the “teach-in” file containing the configuration information by pressing ALT and the number “2”. You should see the necessary I/O boards entered into the 90-30 rack together with their starting addresses. When the activity is finished, leave the CONFIGURATOR by pressing ZOOM OUT (ESC) twice, and replying ‘Y’ to the exit prompt.

Select the tutorial folder SAh4PLE and try the above. A SINK INPUT followed by 2 RELAY OUTPUTS, and another SINK INPUT board should be installed as in the Series 90-30 Sample Configuration figure below. file containing the logic information by Once in the PROGRAMMER, playback the “teach-in” pressing ALT and the number “ 1”. The first screen activity you will observe is the teach-in file selecting FOLDER functions and disabling duplicate coil use checking. A beep will occur during this time. Next, you should see the ladder diagram and NICKNAMES being typed into the programmer. When the activity is finished, leave the PROGRAMMER by pressing ZOOM OUT (ESC), 2 times, and replying ‘Y’ to the exit prompt.

Again using the SAMPLE folder try the above. You should see the program logic being entered into the folder. When it is complete, use the Logicmaster PRINTfunction to make a hard copy. You can use the DOS PRINT function to make a hard copy of the original program. Compare the two listings and become familiar with how the various elements are handled in the translation. NOTE Each Series One rung is identified in the resulting 90-30 program using a comment label. Since these consume 90-30 memory, you will probably want to delete the comments once your program is debugged. At this point, assistance with the application translation is complete. There are probably items which MUST be resolved, and others which SHOULD be reviewed. These are explained in the section under PROGRAMMER INTERVENTION.

6. System Considerations As configured by the translator, each Series 90-30 slot is addressed on a 16 bit boundary, ie. 1, 17, 33, etc., without respect to whether an input or output board will occupy the slot. Real Series One I/O points Using the 90-30 CONwill be mapped automatically to their counterparts in the 90-30 system. FIGURATOR, the board locations may be changed within the rack, but their assigned starting addresses must not be changed.

Page 14

10

Series One to Series 90-30 Translator GFK-0486

6.1. Memory Usage Memory assignments are made with the intention smallest CPU in the 90-30 family (the -311).

that the translated program might be run on the

6.1.1. %M Memorv u

The %M memory map of the 90-30 system is shown in Figure 7. Shift register bits are allocated 16 bits at a time, working down from the 5 12 limit of this memory type. Series One references between 340 377 (retentive coils) are mapped up from %MOOl to %MO32. A a43762 %M512 SHIFT REGlSTER

BITS ALLOCATED

VARIABLE DEPENDING

AS REQUIRED

ON SHIFT REGISTER

USAGE

NOT USED

%M032 SERIES ONE ADDRESSES

BETWEEN OCTAL 340 AND 377

%MOOl

Figure 7. %M Memory Usage by the Translator

Page 15

11

Series One to Series 90-30 Translator GFK-0486

6.1.2. %T Memory The %T memory map of the 90-30 system is shown in Figure 8. Series One references 160 through 337 (non retentive coils) are mapped up from %TOOl through %T112. Series One references from 000 to 159 which are used as internals are mapped down beginning at %T240 in the order in which they are encountered in the original program. The translator uses %T memory above 241 for math flags. See usage explanation under section titled Math Functions. a43763

ST*56 n

MATH FLAGS

OAT247 NOT USED OAT240 SERIES ONE ADDRESSES I

000 TO 157 USED AS INTERNALS

“/oil 12 SERIES ONE ADDRESSES

BETWEEN OCTAL1 60 AND 337

“/oTOOl

Figure 8. %T Memory Usage by the Translator

Page 16

12

Series One to Series 90-30 Translator GFK-0486

6.1.3. %R Memory Registers are allocated by the program beginning with %ROOOl and working up, in the order in which registers are encountered in the original Series One program. Registers 301 and 302 are reserved as the equivalent of the Series One ACCUMULATOR; 303 and 304 are the equivalent of the AUX ACCUGULATOR. Registers between 3 19 and 5 12 are used for TIMER ANti COUNTER functions which require 3 registers each. %R512 a43764

TIMER AND COUNTER REGISTERS OAR319 NOT USED OAR304 ACCUMULATORS %R301 SERIES ONE REGISTERS %ROOl

Figure 9. %R Memory Usage by the Translator

6.2. Algorithms

Used

To the maximum extent possible, the translator attempts to emulate the operation of the Series One PLC. In the case of contacts and coils, the translation is straight forward. Other elements warrant some explanation. 6.2.1. Timers and Counters Series 90-30 timers and counters do NOT have a coil associated with the element, but since the Series One does, each occurrence of a timer or counter is brought out to an internal coil. Use of contacts from the original Series One timer or counter will use the internal 90-30 coil. 6.2.2. Sequencers Counters in the Series One PLC are frequently used together with the STEP function to effect a sequencer. The translator will implement the counter in the normal way. The STEP function will be replaced with a separate rung which includes a compare function brought out to an internal coil. Contacts from the internal coil will replace the STEP references throughout the program. 6.2.3. Shift Register This is one of the more difficult program elements to translate from Series One to Series 90-30. Series One shift registers can start with any bit in the 400 - 477 series; can manipulate a group of any length; and operates directly on the bits in question. Series 90-30 must start with a bit on a word boundary; must manipulate words, ie. 16 bits or multiple thereof; does NOT operate directly on the bits in question, but takes word(s) as input, performs the shift on an internal image, ie. leaving the input unchanged, and

Page 17

Series One to Series 90-30 Translator

13

GFK-0486 places the result at the specified output reference. an example will aid in understanding.

The translator will handle all these complexities, but

If a Series One shift register of 7 bits, using a START bit 400 and a STOP bit 406 were translated, the logic goes as follows: 1 . Allocate

16 bits (since less than 16 are used) from the top of %M memory,

2 . Select a SHL - WORD instruction ie. bits 497 - 512.

since the Series One bits are in natural order, ie. not reversed.

3 . Right justify by mapping bits in order Series One Series 90-30 400 = 497 401 = 498 402 = 499 403 = 500 404 = 501 405 = 502 406 = 503 Bits 504 through 512 in the 90-30 will be wasted or unused in this case. < -----SHIFT LEFT ******************************************************************* *512 *503 * 502 *501 *500 *499 *498 unused *******************************************************************

*497*

If the Series One bits had been reversed, ie. START 406 and STOP 400, step 1 above remains the same ; a SHR_WORD instruction would have been selected in step 2 ; bits would be left justified in step 3 according to the following: 406 405 404 403 402 401 400

= 512 = 511 = 510 = 509 = 508 = 507 = 506

Bits 497 through 505 in the 90-30 will be wasted or unused in this case. SHIFT RIGHT ----> ********~********************************************************** unused *512 *511 jr510 *509 *508 *507 *506 * *******************************************************************

In both cases, the IN and OUT for the selected 90-30 function will be specified

497* as %M497.

6.2.4. Math Functions Series 90-30 registers 301 and 302 are designated to act as ,the Series One accumulator; registers 303 and 304 act as the aux accumulator. All math functions will act on these registers. Bits are assigned as equivalents to the Series One Plus flags according to the following table:

Page 18

14

Series One to Series 90-30 Translator GFK-0486

Special Math Function Coil

I %T248

I M-START

1 - EACH MATH RUNG USES THIS -1

Series One Equivalent Math Flags

90930 REFERENCE

FLAG INDICATION

SERIES ONE REFERENCE

%T242 %T243 %T244 %T245 %T246 %T247

GREATER THAN EQUAL LESS THAN CARRY ZERO OVERFLO

772 773 774 775 776 777

Since the Series One Plus BCD math accumulator was limited to 4 BCD digits, the register equivalent in the 90-30 is corrected if 9999 is exceeded, and the OVERFLOW flag is set. The Series One Plus compare function is replaced by three separate compares which set the appropriate flags above.

6.3. Programmer Intervention Due to the substantial differences in the math functions between the two PLC’s, manual intervention will probably be required in this area. Flag usage is shown in the following table: Untranslated

Function Flags

%T256 %T255 %T254 %T253 %T252

XLATERR MATH FUN DECODE ENCODE BCD_BIN

%T25 1

BIN_BCD

%T250

D-OUT

%T249

D-STORE

- INDICATES - INDICATES - INDICATES - INDICATES - INDICATES FUNCTION - INDICATES FUNCTION - INDICATES FUNCTION - INDICATES FUNCTION

A TRANSLATION ERROR A MATH FUNCTION A DECODE FUNCTION A ENCODE FUNCTION A BCD TO BINARY A BINARY

TO BCD

A SERIES ONE D-OUT A SERIES ONE D_STR

Using the SEARCH capability of Logicmaster 90-30, each of the above flags must be located and appropriate logic substituted to duplicate the necessary function from the corresponding area of the Series One program. XLATERR probably indicates use of a FUN20 you are NOT translating the math functions.

or High Speed Counter.

MATH - FUN only appears if

Page 19

Series One to Series 90-30 Translator

15

GFK-0486

The translator treats all moves into and out of the accumulator as l&bit moves, but then flags the instruction by adding a coil with nickname D STR or D OUT. If your program used any of the 4 or 8 bit Series One instructions, you must perform the masking and shifting operations. The translator performs no conversions, ie. BCDBIN and BIN_BCD instructions are merely flagged. Realizing that all math in the Series 90-30 is performed in binary (as opposed to the Series One Plus BCD math), you must add the appropriate data conversion instructions for your application. Likewise, the ENCODE and DECODE instructions from the Series One Plus are merely flagged. program user must determine the appropriate action to take at these points in the program.

The

As an aid to your further understanding, Series One Plus math functions and their corresponding 90-30 implementations as performed by the translator are included in the Appendix. You will note that one of two approaches is used depending on flag usage in your Series One program. When flags are used, the algorithm emulates all of the flags associated with that function in the Series One Plus.

Page 20

16

Series One to Series 90-30 Translator GFK-0486

SUBTRACT FUNCTION SERIES

ONE PLUS

RUNG

INPUT1 001 + --

1 c----------------------------------------------------------

WITH

+[

K 0005 SUB FUN

72 ]

SERIES go-30 EQUIVALENT NO CARRY OR ZERO FLAG USAGE

IINPUT1 + -- 1 c--------------------------------------------------------------------IM - START +-----+ + SUB +1 [ ---+

M - START

( 1 --

-0

1 ACCUM

/ CONST +00005

-+I1

Q+- ACCUM

-112 / +-----+

SERIES go-30 EQUIVALENT WITH CARRY OR ZERO FLAG USAGE IINPUT1 + -- 1 c---------------------------------------------------------------------

M - START +-----+ -- 1 E---+ SUB +--------

+ -----0-+

M - START

( ) --

11-m-0 +

LT

1 INF ACCUM

-+I1

Q+- ACCUM

1 -k / CONST +00005

+-----+

ACCUM

-+I1

Q+---------

ADD

+--0----0-0-0-0---0-(

)--

INTCONST

-+I2

ACCUM

11

+ooooo+----4 CONST -+I2 1 +10000 +-----+

IM- START

+-----+

ACCUM

-+I1

CONST

-+I2 '

Q+ -----------------------------------------------------------

I

ZERO ( 1 --

Page 21

17

Series One to Series 90-30 Translator GFK-0486

ADD FUNCTION SERIES

ONE PLUS

INPUT - 1 + -- 1 I:-~LIIIll~~~~~~~l~~~~-~~~~~~~~~---

WITH

[ ~~~1-~111-~~~~~1~~~~~~~~~~

<< RUNG M - START +

1 L:---+

I_

ACCUM

6

STEP

#0005

~111~~~1~~~1~~1~~-~~~~~~~~

+ [ADD

FUN

711

SERIES go-30 EQUIVALENT NO CARRY OR ZERO FLAG USAGE

INPUT1

+--I

RUNG

--~~-111-~~-~~~111~~~~~~~-~~~~~~~~~~~~~~~~-

M - START

( 1 II

>>

+-----+ ADD -I+INT

I

I

-+I1

Q+- ACCUM

’ I

CONST -+I2 +00009 +-----+

SERIES go-30 EQUIVALENT WITH CARRY OR ZERO FLAG USAGE M - START

INPUT1

+ TART + -----------------+ GT w-11 ADD + + [ INT-1 I IN? -1-11

----II

+

+

ACCUM

I

-+I1

I

Q+- ACCUM

I ACCUM

-+I1

I ---------+ + SUB +~-~~-~~~~-~--~~~~~~( CARRY )---L-I

+

Q-t

INTCONST -+I2 ' I +00009 +------+

CONST -+I2 +09999+-----+

ACCUM

I -+I1

I Q+- ACCUM

CONST -+I2 +10000 +-----+

M-START +

LI

+-----+

1 [:---+ 1 EQ_

I

INT

ACCUM

-+I1

CONST

-+I2

I 1

I

Q+ ~II~~LIIII~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-~-~~-~~~~~~~~~~~

’ I

+ooooo+-----+

ZERO ( 1 -II

Page 22

18

Series One to Series 90-30 Translator GFK-0486

DIVIDE FUNCTION SERIES

ONE PLUS

RUNG

/INPUTS K 0004 [ DIV FUN

WITH

SERIES go-30 EQUIVALENT NO ZERO OR OVERFLOW FLAG

WITH

SERIES go-30 EQUIVALENT ZERO OR OVERFLOW FLAG USAGE

74 ]

USAGE

M START +-----+ -+--I [---+ DIV -.+I INT ACCUM

I

-+I1

I

Q+- ACCUM

CONST -+I2 1 +00004 +-----+

M - START

ACCUM

+ ----- +

+-----+

I

INT

-+I1

I

Q+-AUXACC

I

I

CONST -+I2 ) +00004 +-----+

M - START

ACCUM

I

INT

-+I1

OVERFLO

I

Q+- ACCUM

’ I

CONST -+I2 +00004 +-----+

+-----+ I

I

INT

ACCUM

-+I1

CONST

-+I2 '

I

Q+ -----------------------------------------------------------

+ooooo+-----+

I

ZERO ( 1 --

Page 23

Series One to Series 90-30 Translator

19

GFK-0486

MULTIPLY FUNCTION SERIES

+ --

ONE PLUS

RUNG

INPUT1 001

REGl R 651 +[ MPY

1 [ ~~~-~~~~~~~11~~1111~~~~~~~~~~-----------------~~--~~~~~~~-

FUN

73 ]

SERIES go-30 EQUIVALENT WITH NO ZERO FLAG USAGE IINPUT1 + -- 1 [ 1~~~~~~~111~~~~~~~~~~~~~~~~~~~~~~~~---------~~---~~~~~~-~~~~~-~~-~~~~

M - START

( 1 --

IM START +-----+ -+-1 c---+ MUL -.+-

I

INT

ACCUM

-+I1

%Roool

-+I2 +

I

Q+- ACCUM

’ I -1-W-

+

SERIES WITH go-30 EQUIVALENT ZERO FLAG USAGE

IINPUT1 + -- 1 c~~~~1-1~~~~~~1-~~~~~~~~~~~~~~~~~~~~-------~~~~~~~~~~~~-~~~~~~~~~~~~~~

M - START

( ) --

IM START +-----+

I_ +-1

[ ---+

ACCUM

MUL +INT-

I -+I1

I Q+- ACCUM

%Roool

-+I2 + -mm-- +

M START

+-----+ NE IN?

mm +-1

[ ---+

ACCUM

I -+I1

+ -w-m- +

I

Q+---------+

DIV

+ ---I- +

+-v-w-------------+

MOD

INT-

INTI

CONST

-+I2 ’

I

ACCUM

-+I1

+~~~~~~~~-~~--~~~~~~(/)~~

I

Q+-AUXACC

ACCUM

I -+I1

I Q+- ACCUM

+ooooo+----4 CONST -+I2 +10000 +------+

CONST -+I2 +10000 +-----+

ZERO

Page 24

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