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

The text of a manual · part 7 of 19

C-series SYSMAC LINK System Manual, pages 54 to 63

Pages 54 to 63 of 174

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

For the Omron C200HW-SLK24

Page 54

Section 4-6

Setting Network Parameters C200HW Units

The polling unit is set with DIP switch 2, pin 4 on the C200HW-SLK13/14/23/24 Units, as shown below. DIP switch 2, pin 4

Polling unit operation

ON (1)

Polled unit

OFF (0)

Polling unit

Note Always turn the PC’s power off before changing the polling unit setting

4-6

Setting Network Parameters The operation of the SYSMAC LINK Network is determined by the network parameters. Network parameters are set with Peripheral Devices such as the SSS/CVSS, and are automatically backed up in EEPROM within the SYSMAC LINK Unit. The following table shows the network parameters, their default values, and the range within which the parameters can be set by the user. Default values and setting ranges are in decimal. Network parameter

Default value

Setting range

Communications cycle time

Automatic

5 to 255

Maximum node number

62

2 to 62

Number of polled units per communications cycle Maximum number of frames per communications cycle

4

1 to 62

10

5 to 255

Communications Cycle Time This parameter sets a timer that fixes the length of the communications cycle to the specified time. The timer operates only when the data link is in operation. Set the communications cycle time when setting the data link table’s common link parameters. When the timer is in operation, the communications cycle time is fixed at the specified value, independent of the number of events that occur. Refer to 5-10 Data Link Characteristics for the formula needed to calculate the communications cycle time when the data link is set for automatic generation. Maximum Node Number

This parameter sets the maximum node number that a node can have and still be a part of the network. Nodes with node numbers greater than the maximum node number will not be polled, and therefore cannot participate in network communications. This eliminates unnecessary polling of units with node numbers above the maximum, and thus reduces the time required for communications. Note Set the maximum node number above the highest node number set on the SYSMAC LINK Units currently connected.

Number of Polling Units

This parameter determines how many nodes will be polled by the polling unit during a polling cycle. Setting this to a high value increases the communications cycle time, but reduces the time required to recognize that nodes have been removed from or added to the network.

Maximum Number of Frames This parameter determines how many event transmissions can take place during a token cycle when the data link is operating. With the default value of 10 frames, up to 4 event transmissions can be issued. Event transmissions include instructions such as SEND(90) or RECV(98) instructions, as well as processes such as remote monitoring and remote programming from a SSS or CVSS. Setting this parameter to a high value increases the communications cycle time, while setting it to a low value will cause errors because of restrictions on event transmissions when the data link is operating. Increase the number of frames by 3 for each additional event transmission when 5 or more event transmissions will occur while the data link is operating.

40

Page 55

Section 4-7

Network Parameter Initialization Setting Network Parameters

Network parameters are set with Peripheral Devices such as the SSS/CVSS. For details, refer to the Peripheral Device’s Operation Manual. Set the network parameters after installing the network. The network parameters must be set after the network has been assembled, and while data links are halted. Network parameters cannot be set while the data link is operating. Once the network parameters has been set, any new Units must be connected only while the System is in operation. A special procedure is required if new Units are connected while System operation is halted. Refer to Section 9 Inspection and Maintenance for this procedure.

Note If a Unit is initialized while the network parameters are being set, the network parameters will not be backed up properly and an EEPROM error might occur. Conflicting Network Parameter

When the network parameters set from the Peripheral Device differ from existing network parameters, a flag is set in the AR area of the PC in the way shown below. The same AR bits are used in all PCs. Word: AR 24 15 14 13 12 11 10

9

8

Undefined

–

–

7

6

5

4

3

2

1

0

Undefined Operating Level 1 Conflicting Network Parameter Flag Operating Level 0 Conflicting Network Parameter Flag ON (1): Conflicting network parameters OFF (0): Normal network parameters

4-7

Network Parameter Initialization The SYSMAC LINK Unit can be set so that the network parameters are initialized when the PC is turned on or the Unit is reset. Network parameters are otherwise not usually initialized unless an error has developed in the network parameters.

C1000H-SLK11/SLK21-V1

If pin 7 of DIP switch 1 is ON, the network parameters will be initialized when the PC is turned on or the C1000H-SLK11/SLK21-V1 is reset. DIP switch 1, pin 7

C200HW-SLK13/14/23/24

Network parameter initialization

ON (1)

Network parameters will be initialized.

OFF (0)

Network parameters will be not be initialized.

If pin 3 of DIP switch 2 is ON, the network parameters will be initialized when the PC is turned on or the C200HW-SLK13/14/23/24 is reset. DIP switch 2, pin 3

Network parameter initialization

ON (1)

Network parameters will be initialized.

OFF (0)

Network parameters will be not be initialized.

41

Page 56

Section 4-8

Active Node Flags

4-8

Active Node Flags The AR Area of the PC contains a record of the nodes that are active in the SYSMAC LINK System at the current time. Words AR 08 to AR 11 contain information on operating level 0, and words AR 12 to AR 15 contain information on operating level 1. These flags are refreshed every cycle while the SYSMAC LINK System is operating. The body of the following table shows the node number assigned to each bit. If the bit is ON, the node is currently active. Level 0

Level 1

Bit (body of table shows node numbers) 00

01

02

03

04

05

06

07

08

09

10

11

12

13

14

15

AR 08

AR 12

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

AR 09

AR 13

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

AR 10

AR 14

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

AR 11

AR 15

49

50

51

52

53

54

55

56

57

58

59

60

61

62

*

**

*Communication Controller Error Flag **EEPROM Error Flag Note If one of the operating levels is not being used, the words allocated to it for active node flags are available for use in the program as work words.

42

Page 57

SECTION 5 Data Links The operation of data links, procedures required to establish data links, and methods of monitoring data link operations are explained in this section. 5-1 5-2 5-3 5-4 5-5

Data Link Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating Data Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Automatic Generation of Data Link Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Manual Generation of Data Link Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Data Link Table Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5-1 Identical Data Link Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5-2 Different Data Link Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5-3 Multiple Data Link Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-6 Restrictions on C200HW-SLK13/14/23/24 Data Link Areas . . . . . . . . . . . . . . . . . . . . . . . 5-6-1 Combining the C200HW-SLK13/23 with other SYSMAC LINK Units . . . . . . . 5-6-2 Installing C200HW-SLK14/24 SYSMAC LINK Units on C200H PCs . . . . . . . . 5-7 Controlling Data Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7-1 DIP Switch Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7-2 DATA LINK START/HALT Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8 Data Link Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9 Data Link Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9-1 Automatic Data Link Table Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9-2 Manual Data Link Table Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10 Data Link Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10-1 Data Link Communications Cycle Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10-2 Data Exchange Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10-3 Data Link I/O Response Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

44 45 46 48 51 51 52 55 55 55 58 58 58 59 59 60 62 62 63 63 65 66

43

Page 58

Section 5-1

Data Link Overview

5-1

Data Link Overview Data links can be created between the PCs in the same SYSMAC LINK Network to exchange data between the PCs. This data is transferred between interconnected PCs automatically without requiring the use of normal I/O Units. A region of the LR and/or DM Areas is set aside as the data link area in each PC that is in the data link. A part of the data link area is allocated to the local node and the rest is allocated to other nodes. Data can be written to the part of the data link area allocated to the local node only. During data link refreshing, data written in the local node is transferred to those parts of other nodes’ data link areas allocated to the local node. The result is that each PC in the data link has a common data link area, the only difference being in the read/write permissions for the various parts of it, i.e., it can write to only those words allocated to it.

Data Link Tables

The data link area in each PC is defined by a data link table. Data link tables can be generated automatically or manually. Automatic generation is accomplished simply by setting the value of a single word (AR 07) in the start-up node. Data link tables generated automatically are identical in all PCs in the data link, with the regions of the data areas listed below divided equally among 2, 4, 8, or 16 nodes. The areas used by each PC are listed in the following table. CV Series

C200H, C200Hj, C1000H/C2000H LR 00 to LR 63

CIO 1000 to CIO 1063

DM 0000 to DM 0127

D00000 to D00127

Manual generation requires generation of a separate data link table for each node, but provides much greater flexibility in making data links among PCs. The following table shows the data areas in which data link tables can be manually generated. C200H

C200Hj

C1000H/C2000H

LR 00 to LR 63

LR 00 to LR 63

LR 00 to LR 63

DM 0000 to DM 0999

DM 0000 to DM 5999

DM 0000 to DM 4095

The maximum number of linked words in a node depends on the SYSMAC LINK Units used in the System, as shown in the following table. SYSMAC LINK Unit

Note

Max. link words

C200HW-SLK13/23 only

918 words

C200HW-SLK14/24

2,966 words

C1000H-SLK14/24-V1

2,966 words

C200H-SLK11/SLK21-V1

918 words

1. In a system that uses only C200HW-SLK13/23 Units, the maximum number of linked words is 918. If the C200HW-SLK13/23 is used in a system that contains C200HW or C1000H SYSMAC LINK Units, 2,966 words can be linked, but there is a limit on the words that can be accessed by the C200HW-SLK13/23. Refer to 5-6-1 Combining the C200HW-SLK13/23 with other SYSMAC LINK Units. 2. The data link is restricted to a maximum of 918 words whenever one or more C200H-SLK11/SLK21-V1 SYSMAC LINK Units are participating in the link. 3. When the C200HW-SLK14/24 is mounted to the C200H, data links for up to 2,966 words can be set, but only 918 words can be refreshed at the C200H node. There are no restrictions in node address or common link parameters when using the C200HW-SLK14/24.

44

Page 59

Section 5-2

Creating Data Links

The following diagram shows the operation of a data link among four nodes in a network. This data link was generated manually.

Data link area

LR00

Node 2

Node 5

Node 6

Node 8

LR Area

LR Area

LR Area

LR Area

LR10

#2

LR10

LR00

#2

LR20 #5

#5

#5 #6

LR35

LR39

#6

#2

LR15

LR20

LR39

LR30

LR05 #5

#6

LR49

LR54

Data link table Refresh parameters (can differ from node to node)

Refresh parameters (can differ from node to node)

Refresh parameters (can differ from node to node)

Refresh parameters (can differ from node to node)

Common link parameters (the same in all nodes)

Data Link Activation

Data links are activated either by a command sent from a CV-series PC, SSS, or CVSS or by SYSMAC LINK Unit switch settings. (Refer to Section 2 Unit Components and Switch Settings for details on hardware switch settings.) When activated, the settings in AR 07 of the PC at the start-up node will determine the nature of the links, i.e., whether the data link tables will be generated automatically or manually.

Data Link Operation

The orange LNK indicator on the front of the SYSMAC LINK Unit indicates the operational status of the data link, as shown below. LNK indicator

5-2

Data link status

ON

The Unit is part of an active data link.

Flashing

A data link error has occurred.

OFF

The Unit is not part of an active data link.

Creating Data Links There are two ways to create a data link between PCs, automatically and manually. The value of AR 07 not only determines whether data links will be created automatically or manually. If automatic generation is specified, the value of AR 07 also determines how many nodes will be linked and whether the LR Area, DM Area, or both will be used. The other way to establish links is to create the link tables from the SSS/CVSS. When the SSS/CVSS is used to create link tables manually, there is far more flexibility in the structure of the data links than with automatic generation.

45

Page 60

Section 5-3

Automatic Generation of Data Link Tables

Basic specifications for data links are provided in the following table. Item

Description

No. of data link nodes

62 max., 2 min.

No. of linked words per node

LR area: 64 words max. (128 bytes) DM area: 254 words max. (508 bytes) 2,966 words total in the LR and DM areas (918 words total when only C200HW-SLK13/23 Units are being used.) Settings in AR 07 determine whether LR 00 to LR 63 and/or DM 0000 to DM 0127 will be used as data link areas, and whether these areas will be divided equally among 2, 4, 8 or 16 nodes.

Max. number of linked words Automatically generated data links

Manually generated data links

Set from the SSS/CVSS.

Data link table backup

EEPROM inside each SYSMAC LINK Unit

Other Link Systems

When both a SYSMAC LINK System data link and a SYSMAC NET Link System data link exist between two PCs, the words that are linked and the data link status area must not overlap; each System must have unique link words and status areas. When a SYSMAC LINK Unit and a PC Link Unit are mounted on the same PC, do not use the LR area for a SYSMAC LINK System data link or data link status area.

5-3

Automatic Generation of Data Link Tables AR 0700 through AR 0703 and AR 0704 through AR 0707 are used to specify both automatic generation and data link table structure, as shown below. The status of these bits is effective only in the PC at the start-up node. The data in the first table is used to designate whether word allocation will be automatic (according to these AR bits) or whether it will be set manually (from a SSS/CVSS), and to designate which areas will be linked. The data in the second table is used to designate the number of words per node. If manual generation (the first setting in the first table) is used, the settings in the second table are ignored. Operating level 0 AR 0700 AR 0701

Operating level 1 AR 0704 AR 0705

Setting

OFF

OFF

OFF

OFF

Manual generation

ON

OFF

ON

OFF

Automatic

LR area only

OFF

ON

OFF

ON generation

DM area only

ON

ON

ON

ON

LR and DM areas

Words per Node Operating level 0 AR 0702 AR 0703

Operating level 1 AR 0706 AR 0707

Words per node LR area DM area

Nodes in

OFF

OFF

OFF

OFF

4

8

Up to 16

ON

OFF

ON

OFF

8

16

Up to 8

OFF

ON

OFF

ON

16

32

Up to 4

ON

ON

ON

ON

32

64

2 data link

These settings are read every cycle while the SYSMAC LINK System is in operation.

46

Page 61

Section 5-3

Automatic Generation of Data Link Tables Allocated Words

If automatic generation is specified by bits AR 0700/0701 or AR 0704/0705, the words allocated to each Unit are determined by the node number of the Unit and the Words per Node settings in the AR word shown above. Words are allocated as shown in the following table. LR words*

DM words*

Words per node 4

8

16

32

Node #1

Node #1

Node #1

00 to 03

0000 to 0007

Node #1

04 to 07

0008 to 0015

Node #2

08 to 11

0016 to 0023

Node #3

12 to 15

0024 to 0031

Node #4

16 to 19

0032 to 0039

Node #5

20 to 23

0040 to 0047

Node #6

24 to 27

0048 to 0055

Node #7

28 to 31

0056 to 0063

Node #8

32 to 35

0064 to 0071

Node #9

36 to 39

0072 to 0079

Node #10

40 to 43

0080 to 0087

Node #11

44 to 47

0088 to 0095

Node #12

48 to 51

0096 to 0103

Node #13

52 to 55

0104 to 0111

Node #14

56 to 59

0112 to 0119

Node #15

60 to 63

0120 to 0127

Node #16

Node #2 Node #3

Node #2

Node #4 Node #5

Node #3

Node #2

Node #6 Node #7

Node #4

Node #8

Note *When combining CV-series PCs in data links with C-series PCs, LR 00 to LR 63 in C-series PCs correspond to CIO 1000 to CIO 1063 in CV-series PCs and DM 0000 to DM 0127 correspond to D00000 to D00127. Data Flow

Data Link Area Refresh

This example shows data flow resulting from automatic generation with four PCs exchanging 16 LR words each. The data link table information in AR 07 of the start-up node, indicates that only the LR Area will be used and it will be divided into 4 parts; this information is transmitted to all nodes. The AR 07 settings in other nodes are ignored. Shading indicates the words written and transmitted by each PC; non-shaded words are those received from other PCs. Node #1

Node #2

Node #3

Node #4

LR 00 to LR 15

LR 00 to LR 15

LR 00 to LR 15

LR 00 to LR 15

(Node #1 data)

LR 16 to LR 31

LR 16 to LR 31

LR 16 to LR 31

LR 16 to LR 31

(Node #2 data)

LR 32 to LR 47

LR 32 to LR 47

LR 32 to LR 47

LR 32 to LR 47

(Node #3 data)

LR 48 to LR 63

LR 48 to LR 63

LR 48 to LR 63

LR 48 to LR 63

(Node #4 data)

Data links are refreshed for all nodes between the lowest-numbered and the highest-numbered node designated to participate in the data link. Link words automatically allocated to nodes assigned numbers lower than the lowest-number participating node or higher than the highest-number participating node can be used as work words. Words allocated to a node number between the lowest and highest-numbered nodes cannot be used as work words even if there isn’t a node with that node number.

47

Page 62

Section 5-4

Manual Generation of Data Link Tables

The example below shows a configuration consisting of four nodes that have been set to link 8 words per node in the LR area only. Of the eight possible nodes, only nodes #2, #4, #5, and #6 are actually in the System. Words normally allocated to nodes #1, #7, and #8 can therefore be used as work words, but words normally allocated to node #3 cannot, because they are refreshed by the System.

System Configuration

Node 2

Node 4

Node 5

Node 6

Refreshing for the above System will be as shown below:

Node #1 Node #2 Node #3 Node #4 Node #5 Node #6 Node #7 Node #8

LR 00 to LR 07

Not refreshed.

LR 08 to LR 15 LR 16 to LR 23 LR 24 to LR 31

Refreshed.

LR 32 to LR 39 LR 40 to LR 47 LR 48 to LR 55 Not refreshed. LR 56 to LR 63

5-4

Manual Generation of Data Link Tables The CVSS is required to specify data link tables manually. Generating data link tables manually allows considerable flexibility in data links. Each PC can be set up independently to link to the desired PCs only. To designate manual generation of data link tables, AR 0700 and AR 0701, or AR 0704 and AR 0705 (depending on the operating level) must be all turned OFF in the start-up node. The structure and operation of data link tables are described in this manual. Refer to the CVSS Operation Manuals for specific procedures and displays used in setting the tables. Data link tables contain two types of information: common link parameters, which are the same in all nodes and control the overall structure of the data links, and refresh parameters, which are set independently for each node to determine which links are to be established for that node.

Common Link Parameters

48

Common link parameters determine the communications cycle time of the data link, which areas will be enabled for data links, and how many LR and DM words will be transmitted from each PC. The same common link parameters must be set in all nodes that are to be part of a data link in a Network. The displays used to input the common link parameters are shown following the table.

Page 63

Section 5-4

Manual Generation of Data Link Tables

It is possible to transfer the common link parameters from the node to which the CVSS is connected to all the nodes designated by the CVSS. Parameter Communications cycle time

The data link communications time between 5 and 255 ms. The communications cycle time will be selfgenerating if not specified.

No. of nodes in data link and their node numbers

This information is set automatically when the No. of LR words and No. of DM words parameters (see below) are entered.

No. of LR words* transmitted by each node

The number of LR words transmitted by each node 1 to 64: 1 to 64 words -: Not part of data link 0: Can read LR words from other nodes only. The number of DM words transmitted by each node 1 to 254: 1 to 254 words -: Not part of data link 0: Can read DM words from other nodes only.

No. of DM words* transmitted by each node

Note

Description

1. *When combining CV-series PCs in data links with C-series PCs, LR 00 to LR 63 in the C-series PCs correspond to CIO 1000 to CIO 1063 in the CVseries PCs and DM 0000 to DM 0127 correspond to D00000 to D00127. 2. When combining C1000H-SLK11/SLK21-V1 or C200HW-SLK14/24 Units with C200HW-SLK13/23 Units, all of the C200HW-SLK13/23 Units in the data link must be within the last 918 words in the data link area. CVSS

49