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

The text of a manual · part 6 of 41

E-terminals Programming manual: 4 General

Pages 36 to 45 of 335, from E-terminals Programming manual

The original document is the PDF (4.1 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.

For the Beijer Electronics AB E200

Page 36

General

4

General

This section describes how the terminal is designed as well as the basics for using it. Furthermore there is an explanation of the general rules and object parameters as well as common functions which apply to the terminal.

4.1 Method for programming a project Building up the application in the terminal graphically provides the operator with concise information on the operation of the system. It is important to organize your application well. Think about which functions are required. Begin at the introductory level and then work down through the levels of detail. When an object is programmed base this on the functions in your application. Each function then becomes one or more blocks depending on how complex the function is. A project can contain both Graphic- and Text blocks and each block can contain static and dynamic objects. To achieve a structured application the block should be created in a hierarchy which makes working natural for the operator. The application can also be structured as a sequence control. In the run-time mode it is possible to test all or parts of the application before running. Block 0

Block 0 Block 10

Block n

Block 20

Block m Block 11

Block 12

Block 13

Block 14

25

Page 37

General

4.2 Efficient communication To make the communication between the terminal and the PLC system quick and efficient the following should be noted about how the signals are read and what that can be done to optimize the reading.

Signals affecting the communication time It is only signals to objects in the current block that are read continuously. Signals to objects in other blocks are not read, that is the number of blocks does not affect the communication time. Besides the signals to objects in the current block, the terminal is continuously reading the following signals from the PLC system: Display signals Block print-out signals LED registers Alarm signals Remote acknowledge signals on alarms and alarm groups Login signal Logout signal Trend registers at the sample points Bargraph registers if using min/max indicators New display register Buzzer register Backlight signal Cursor control block Recipe control block Library index register Index registers PLC clock register if the PLC clock is used in the terminal List erase signal No protocol control register No protocol on signal

26

Page 38

General

Signals not affecting the communication time The following signals do not affect the communication time: – Signals linked to function keys – Time channels – Objects in the alarm messages

How to make the communication more efficient Group PLC signals consecutively The signals from the PLC system are read most rapidly if all signals in the list above are consecutive. If for example, 100 signals are defined, it is quickest to read these if they are linked to, for example, M0.0-M11.7. If the signals are spread out (e.g. I0.4, Q30.0, T45.3 etc.) the updating is slower.

Efficient block changes Block changes are carried out most rapidly and efficiently through the block jump function on the function keys or through a jump object. "Display signals" in the block header should only be used when the PLC system is to force the presentation of another block. The "New Display" register can also be used if the PLC system is to change the block. This does not affect communication as much as a larger number of "Display signals".

Use the clock of the terminal An extra load is put on communication if the clock of the PLC system is used since the clock register must be read up to the terminal. Downloading of the clock to the PLC system also creates an extra load. The interval between downloadings should therefore be as long as possible.

27

Page 39

General

Packaging of signals When the signals are transferred between the terminal and the PLC system, all signals are not transferred simultaneously. Instead they are divided into packages with a number of signals in each package. To decrease the number of packages and make the communication faster this number has to be considered. The number of signals in each package depends on the used driver. Number of signals in each package PLC system Analog signals

Digital signals

FX CPU

32

200

A CPU

116

800

QnA CPU

60

200

A C24

58

200

QnA C24

51

864

To make the communication as fast as possible the number of packages has to be minimized. Consecutive signals require a minimum of used packages but it is not always possible to have consecutive signals. In such cases the so-called waste between two signals has to be considered. The waste is the maximum distance between two signals you can have and still keep them in the same package. The waste depends on the used driver. Waste PLC system Analog signals

28

Digital signals

FX CPU

20

100

A CPU

20

100

QnA CPU

20

40

A C24

20

100

QnA C24

54

864

Page 40

General

Signal

1 2 3

Used

X

4 5

6 7 8 X X

X

9 10 X

Waste

Operator’s pictures Use graphic blocks for operator communication If the terminal has graphic blocks use text block is designed in the first place for report print-outs. Text blocksare slower and demand more memory than graphic blocks.

Use the 3-D effects for elegant operator pictures Combinations of objects with frames and 3-D rectangles can be very effective in graphic blocks. In this context the ”lighting” appears to come from the top left-hand corner, that is the ”shadowing” is on the under and righthand edges of raised objects and on the upper right-hand edges of inset objects.

4.3 Menu structure Normally configuration and programming are carried out with the MAC Programmer+. Each mode consist of different number of menu levels depending on the function. Each level consists of a menu where you make a choice or state a parameter to go on to the next level (menu). The application is built up of blocks, Graphic blocks and/or Text blocks. Values from the PLC system are shown and altered in the blocks. Each block has a block number between 0 and 989 allocated by the program. Blocks 990-999 are reserved for special purposes, so-called system blocks. The terminal is object-oriented which means that a block can contain all the signals linked to an object for controlling and monitoring; a pump for example.

29

Page 41

General

Configuration mode

Programming mode

Run-time mode

Transfer

Block list

Block 0

Edit

System signals Index register Language

PLC selection

Level 1

Level 2

LED Time channels

Alarm Function keys

Block

Block n

Graphic block Text block

Level 3

4.4 Blocks A block header is defined for each block. The block number, type of block, status word etc. are contained in the block header. The alarm, time channels and contrast settings functions can also be called up as blocks. These are called system blocks. Maximum number of blocks in a project in E100 and E200 are 150. In the rest of the terminals 990 Note! The block type cannot be altered for a defined block.

30

Page 42

General

4.5 Signal types in MELSEC The PLC system’s signal types are allocated according to the table below. See the PLC system manual for the used for the complete address area.

Digital signals (ON/OFF) The terminal can handle digital signals of the following types: For addressing other PLC systems we refer to the manual for the drivers respectively. Signal

Function

A series

FX series

QnA series

X

Input Relay

•

•

•

Y

Output Relay

•

•

•

M

Internal Relay

•

•

•

Dn.x

Bit addressing in Data Registers. Bit x in Data Register n. Hexadecimal addressing of the bits, 0-F.

•

L

Latch Relay

•

•

B

Link Relay

•

•

F

Error Relay

•

•

SB

Link Special Relay

•

V

Edge Relay

•

S

Step Relay

T

Timer

ST

Accumulated Timer

C

Counter

SM

Special Internal Relay

•

•

•

•

• ²

•

•

• •

31

Page 43

General

Analog signals (Values) The terminal can handle analog signals of the following types: For addressing other PLC systems we refer to the manual for the drivers respectively. Signal

Function

A series

FX series

QnA series

•

•

•

T

Timer

ST

Accumulated Timer

C

Counter

•

•

•

D

Data Register

•

•

•

SD

Special Register

R

File Register (Bank addressing)

•

•

W

Link Register

•

•

SW

Link Special Register

•

Z

Index Register

•

ZR

File register (Continous numbering)

•

•

•

Note! 32-bit counters (C200-C255) in FX systems can not be monitored.

32

Page 44

General

4.6 Signal format The following signal format are available in the dialog for each object. Format type

Range

Signed 16-bit

-32768 – +32767

Unsigned 32-bit

0 – +65535

Signed 32-bit

-2147483648 – +2147483647

Unsigned 32-bit

0 – +4294967295

Float with exponent, 32-bit

±3,4E38 Numbers larger than 1000000 are shown with exponent.

Float without exponent, 32-bit

The Positions (including the decimal point and sign) ans Decimals states the valid range. E.g. 8 positions and 3 decimals lead to ±999,999.

BCD Float, 32-bit

0-9999,9999. Only MELSEC AnA PLC system.

BCD 16-bit

0-9999

BCD 32-bit

0-99999999

HEX 16-bit

0-FFFF

HEX 32-bit

0-FFFF FFFF

33

Page 45

General

34