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

The text of a manual · part 8 of 19

C-series SYSMAC LINK System Manual, pages 64 to 73

Pages 64 to 73 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 64

Section 5-4

Manual Generation of Data Link Tables Refresh Parameters

Refresh parameters are set for each node to determine what links will actually be created for that node, i.e., the words whose contents will be automatically transferred from other nodes. Enter the link words in the LR and DM Areas for the local node as well as all of the nodes that the local node will link to. Parameter PC model Node number

Description Enter the model number of the PC at the local node (the node for which the refresh parameters are being set). Enter the node numbers of the local node and nodes that the local node will link to. Nodes not set (set to “-”) in the Common Link Parameters cannot be specified here.

No. of words per node

Indicates the number of LR and DM words in the data link for each node designated above. (Same as the “No. of LR words” and “No. of DM words” in the Common Link Parameters.)

Beginning status word

Sets the beginning word of the region in memory that will contain the Data Link Status Flags for the nodes in the data link. Refer to 5-9 Data Link Status for details.

Beginning LR word Beginning DM word

Sets the first word of the data link area in the LR Area (between 0 and 63). Sets the first word of the data link area in the DM area. 0 to 999 for the C200H 0 to 5999 for the C200HX, C200HG, C200HE, or C200HS 0 to 4095 for the C1000H/C2000H

Note Refer to the CVSS Operation Manual for details on editing and setting data link tables.

CVSS

Note Refer to the following when creating a data link table with the CVSS in a SYSMAC LINK network that includes CV- and C-series PCs. • The PC setting in the refresh parameter table of each C-series PC must be set to “Others.” • LR 00 to LR 63 of the C-series PC’s LR area correspond to the CV-series PC’s CIO 1000 to CIO 1063. Table Backup

50

Data link tables are automatically backed up in the EEPROM of the Unit involved. Previously set data link tables are completely overwritten whenever new tables are created. If a Unit is turned off or re-initialized while the data link table is being set, the table might not be backed up properly.

Page 65

Section 5-5

Data Link Table Examples

5-5

Data Link Table Examples Three examples of manually generated data links are presented in this section. In the first, identical data link tables are set up in all nodes. In the second, a different data link table is set up in each node. In the third, data links are set up in two separate groups of PCs.

5-5-1 Identical Data Link Tables To generate the same data link tables in all PCs in the Network, set the same refresh parameters for each node. Although refresh parameters must be set for each node, the copy function in the computer can copy a node’s refresh parameters and greatly simplify the generation of the data link. The data flow for an example configuration is shown below. Data Flow Node #1

Node #3

Node #5

Node #7

LR 05 to LR 09

LR 05 to LR 09

LR 05 to LR 09

LR 05 to LR 09

(Node #1 data)

LR 10 to LR 14

LR 10 to LR 14

LR 10 to LR 14

LR 10 to LR 14

(Node #3 data)

LR 15 to LR 19

LR 15 to LR 19

LR 15 to LR 19

LR 15 to LR 19

(Node #5 data)

LR 20 to LR 29

LR 20 to LR 29

LR 20 to LR 29

LR 20 to LR 29

(Node #7 data)

51

Page 66

Section 5-5

Data Link Table Examples

5-5-2 Different Data Link Tables In this example, the refresh parameters differ from node to node, so the data link tables will also differ from node to node. There are four nodes in the network (2, 5, 6, and 8), but some nodes will not receive data from others. The settings for the common link and refresh parameters are shown after the data flow.

Node 2

Node 5

Node 6

Node 8

LR Area

LR Area

LR Area

LR Area LR Area LR00

LR00 #2

LR10

LR05 #2

LR10 #5

LR10 #5

#5

#2 #6

LR25 #5

LR25 #6

LR29

#6

LR39

LR29 DM Area

DM0000

DM Area

DM0010

#5 DM0040

#6

#6 DM0044

#8

#2

#6 DM0014

DM0015 #5 DM0025 #8 DM0029

Words written by local node Words read by local node

52

#6

DM0005

DM0010

DM0030

DM0025

DM Area DM0000

#5

#2

#5 DM0020

DM Area DM0000

DM0020 #2

DM0029

LR15

LR20 LR24

LR25

#6

Page 67

Section 5-5

Data Link Table Examples Common Link Parameters

These parameters are set from a SSS/CVSS, and need to be set only once for a SYSMAC LINK Network. Enter the communications cycle time and the number of DM and LR Area link words for each node in the data link, as shown below. (Setting the number of LR Area link words to zero for node 8 means that node 8 will be able to receive but not send data.) With manual data link table generation, the number of link words sent from each node can be set in 1 word increments.

Refresh Parameters These parameters are also set from a SSS/CVSS, and need to be set separately for each node in the data link. Enter the PC model, beginning LR and DM words, and beginning status word, then set the number of LR and DM link words for the local node each node that the local node will link to. The number of LR and DM words set for each node in the common link parameters will be allocated to nodes automatically in the order that they have been entered into the refresh parameters table. Link word allocation starts at the beginning LR and DM words. The order of nodes in the refresh parameters table can be changed freely. Node #2

In node 2, the data link area will be allocated to nodes 2, 5, 6, and 8 in that order, so the node 2 refresh parameters are set as shown below.

53

Page 68

Data Link Table Examples

Section 5-5

Node #5

In node 5, the data link area will be allocated to nodes 2, 5, and 6 in that order, so the node 5 refresh parameters are set as shown below. DM Area allocation is set to begin at DM 0020. (Node 8 data will not be received at node 5, so node 8 is not entered in the table.)

Node #6

In node 6, the data link area will be allocated to nodes 5 and 6 in that order, so the node 6 refresh parameters are set as shown below. LR Area allocation is set to begin at LR 05. (Data from nodes 2 and 8 will not be received at node 6, so they are not entered in the table.)

Node #8

In node 8, the data link area will be allocated to nodes 6, 2, 5, and 8 in that order, so the node 5 refresh parameters are set as shown below. LR Area allocation is set to begin at LR 10.

54

Page 69

Section 5-6

Restrictions on C200HW-SLK13/14/23/24 Data Link Areas

5-5-3 Multiple Data Link Groups The refresh parameters can be set up to simulate two or more groups of data links within one Network. Although the common link parameters must designate all the words to be transmitted by all nodes that are part of a data link, the refresh parameters can be set up so the PCs in the Network are separated into groups of PCs that only receive data from other PCs in the same group. Although data is refreshed only within data link groups, all groups in one Network are always started and stopped together. The data flow for this System is shown below. Data Flow Node #1

Node #2

Node #3

Node #4

LR 00 to LR 09 (#1 data)

LR 00 to LR 09 (#1 data)

LR 00 to LR 19 (#3 data)

LR 20 to LR 39 (#3 data)

LR 10 to LR 2 (#2 data)

LR 10 to LR 29 (#2 data) LR 20 to LR 39 (#4 data)

LR 40 to LR 59 (#4 data)

Group 1

5-6

Group 2

Restrictions on C200HW-SLK13/14/23/24 Data Link Areas

5-6-1 Combining the C200HW-SLK13/23 with other SYSMAC LINK Units Manually generated data link areas can contain up to 2,966 words with C1000HSLK11/SLK21-V1 or C200HW-SLK14/24 SYSMAC LINK Units but only 918 words max. with C200HW-SLK13/23 SYSMAC LINK Units, so the following conditions must be met in the common parameter table when the data link contains both C200HW-SLK13/23 and other SYSMAC LINK Units. • Add the total number of words used by the nodes in the data link area (LR area + DM area) beginning with the node with the highest node number; all of the C200HW-SLK13/23 Units in the data link must be within the last 918 words in the data link area. • The order in which the nodes are connected isn’t important. • Even when the C200HW-SLK13/23 Units only receive data from other nodes, they must be within the last 918 words in the data link area, because the maximum amount of data that can be received by C200HW-SLK13/23 Units is the last 918 words in the data link area. • C1000H-SLK11/SLK21-V1 and C200HW-SLK14/24 SYSMAC LINK Units can use up to 2,966 words. Note The simplest method to put the C200HW-SLK13/23 SYSMAC LINK Units within the last 918 words in the data link area is to increase their node numbers and place them at the end of the data link, but the following problems occur if the node numbers are raised: • The data link communications cycle is longer because it is necessary to increase the maximum node number. (Refer to page 64 for details.) • It takes longer to recognize the withdrawal or addition of nodes in the network.

55

Page 70

Section 5-6

Restrictions on C200HW-SLK13/14/23/24 Data Link Areas Case 1 C200HX: C200HW-SLK13/23 C1000H: C1000H-SLK11/21-V1 C200HX

C200HX

C200HX

C1000H

C1000H

C200HX

Node #13

Node #7

Node #6

Node #1

Node #11

Node #4

Nodes marked with an X cannot be in the data link. Common parameter table

Receivable data

918 words

X #1

LR

#1

DM

#4

#1

LR

#1

DM

LR

#4

#4

DM

#6

LR

#6

#1

LR

#1

LR

#1

LR

#1

DM

#1

DM

#1

DM

LR

#4

LR

#4

LR

#4

#4

DM

#4

DM

#4

DM

#6

LR

#6

LR

#6

LR

DM

#6

DM

#6

DM

#6

#7

LR

#7

LR

#7

LR

#7

DM

#7

DM

#7

DM

#11

LR

#11

LR

#11

(3)

(4)

#11

DM

#11

DM

#13

LR

#13

LR

#13

DM

#13

DM

1, 2, 3...

56

X

(2)

(3)

(2)

(4)

#1

LR

#1

DM

LR

#4

LR

#4

DM

#4

DM

#6

LR

#6

LR

DM

#6

DM

#6

DM

#7

LR

#7

LR

#7

LR

#7

DM

#7

DM

#7

DM

LR

#11

LR

#11

LR

#11

LR

#11

DM

#11

DM

#11

DM

#11

DM

#13

LR

#13

LR

#13

LR

#13

LR

#13

DM

#13

DM

#13

DM

#13

DM

(1)

(5)

(5)

(5)

(5)

(1)

1. The C200HW-SLK13/23 SYSMAC LINK Units with node numbers 4 and 6 cannot be in the data link because the local nodes’ total transmission data would exceed 918 words (counting from the highest node number) if those nodes were in the data link. The SYSMAC LINK Units with node numbers 1 and 11 can be in the data link even if the total amount of data exceeds 918 words because they are C1000H-SLK11/SLK21-V1 Units. 2. The C200HW-SLK13/23 SYSMAC LINK Units with node numbers 7 and 13 can be in the data link because the local nodes’ total transmission data does not exceed 918 words (counting from the highest node number). 3. The Units with node numbers 7 and 13 cannot receive data from node 1 because that node’s data is beyond the 918-word limit. 4. The Units with node numbers 7 and 13 can receive data from nodes 7, 11, and 13 because these nodes’ data is within the 918-word limit. 5. The Units with node numbers 1 and 11 can receive data from nodes 1, 7, 11, and 13. (These nodes can receive up to 2966 words.)

Page 71

Section 5-6

Restrictions on C200HW-SLK13/14/23/24 Data Link Areas Case 2 C200HX: C200HW-SLK13/23 C1000H: C1000H-SLK11/21-V1 C200HX

C200HX

C1000H

C1000H

C200HX

C200HX

C1000H

Node #17

Node #2

Node #18

Node #7

Node #4

Node #10

Node #1

Nodes marked with an X cannot be in the data link.

X

X

Common Link Parameter Table

Data Link Area #1

LR (Wd 10)

#1

DM (Wd 254)

#4

LR (Wd 10)

#4

DM (Wd 254)

#7

LR (Wd 10)

#7

DM (Wd 254)

C1000H

C200HX

C1000H

#17 LR (Wd 10) C200HX

#17 DM (Wd 254)

#2 C200HX (Read only)

#10 C200HX (Read only) 918 words

#18 LR (Wd 10) C1000H

#18 DM (Wd 254)

In this example the Units with node numbers 1, 7, 10, 17, and 18 can be part of the data link. Even though it is a read-only node and doesn’t have transmission data, the C200HX with node number 2 cannot be part of the data link because its reception data would exceed 918 words. The Units with node numbers 10 and 17 cannot receive data from node 1 because that node’s data is beyond the 918-word limit, however the C1000H-SLK11/SLK21-V1 Units with node numbers 1, 7 and 18 can receive data from nodes 1, 7, 17, and 18.

57

Page 72

Section 5-7

Controlling Data Links Case 3 C1000H: C1000H-SLK11/21-V1 CV1000 CV500-SLK11/21 C200HX: C200HW-SLK13/23 C1000H

C1000H

CV1000

C200HX

C200HX

C200HX

Node #1

Node #2

Node #3

Node #4

Node #5

Node #6

#1

LR

#1

LR

#1

LR

#1

DM

#1

DM

#1

DM

#2

LR

#2

LR

#2

LR

#2

DM

#2

DM

#2

DM

#3

LR

#3

LR

#3

LR

#3

DM

#3

DM

#3

DM

#4

LR

#4

LR

#4

LR

#4

LR

#4

LR

#4

LR

#4

DM

#4

DM

#4

DM

#4

DM

#4

DM

#4

DM

#5

LR

#5

LR

#5

LR

#5

LR

#5

LR

#5

LR

#5

DM

#5

DM

#5

DM

#5

DM

#5

DM

#5

DM

#6

LR

#6

LR

#6

LR

#6

LR

#6

LR

#6

LR

#6

DM

#6

DM

#6

DM

#6

DM

#6

DM

#6

DM

All nodes can be in the data link. Common parameter table

918 words

In this example node numbers 1 through 6 can all be in the data link. The C200HW-SLK13/23 Units with node numbers 4 through 6 can be in the data link because the local nodes’ transmission data is within the 918-word limit. The Units with node numbers 1 through 3 can receive data from all 6 nodes because they have a 2966-word limit. The C200HW-SLK13/23 Units with node numbers 4 through 6 can receive data from the other nodes with node numbers 4 through 6.

5-6-2 Installing C200HW-SLK14/24 SYSMAC LINK Units on C200H PCs When a C200HW-SLK14/24 SYSMAC LINK Unit is installed on a C200H PC, a data link with up to 2966 linked words can be made, but the maximum number of words that can be refreshed in a C200H node is 918. There are no restrictions on the node number settings or common link parameter settings when C200HWSLK14/24 SYSMAC LINK Units are used.

5-7

Controlling Data Links Data links can be activated or halted by changing the settings of the DIP switches on the start-up Unit, sending a command to the start-up Unit from a CVseries PC, SSS, or CVSS.

5-7-1 DIP Switch Settings Data links can be started by turning ON pin 2 of DIP switch 1 of the SYSMAC LINK Unit that is to be used as the start-up Unit. This Unit (node) must be part of the data link. The AR settings in the start-up Unit will be used in creating data links. Data link operation can be stopped by turning OFF pin 2 of DIP switch 1 on all nodes which are active in data link. Note The PC must be turned off before changing DIP switch settings.

58

Page 73

Section 5-8

Data Link Precautions

5-7-2 DATA LINK START/HALT Commands Data link operations can be initiated by issuing a DATA LINK START command from a CV-series PC or CVSS to the start-up node. Data link operation can be stopped by issuing a DATA LINK HALT command from a CV-series PC or CVSS to the start-up node. Refer to 6-6-1 DATA LINK START and 6-6-2 DATA LINK HALT for details.

5-8

Data Link Precautions Be sure to consider the precautions listed below when activating a data link or adding a node to an existing data link.

Set-up and Activation

1, 2, 3...

Be sure to consider the precautions listed below when setting up and activating a data link. 1. Refresh parameters must be set for each node in the data link when manually generating data link tables. When a data link is started in a node that doesn’t have a data link table, a data link table error will occur and the LNK indicator on that node will flash. Refresh parameters must be set for all nodes that are included in the common link parameters in the start-up node. 2. With automatic generation of data link tables, the start-up node must be one of the nodes in the data link defined by the settings in AR 07. The node numbers of the other nodes in the data link must also be in the range defined by the settings in AR 07. For example, if the settings in AR 07 divide the data link area among 4 nodes (node numbers 1 to 4), node 5 cannot be the start-up node or participate in the data link. 3. With manual generation of data link tables, the node number of the local node must be included in the local refresh parameters. 4. If the beginning LR or DM word in the refresh parameters is set too high, the LR or DM Area will be exceeded during automatic allocation of link words. If the data area is exceeded in the start-up node, the LNK indicator on the start-up node will flash and the data link will not operate. If the data area is exceeded in another node, the LNK indicator on that node will flash and it will not participate in the data link. 5. Do not turn on the data link activation switch (DIP switch 1, pin 2) on more than one node. Doing so will not trigger an error, but the start-up node cannot be correctly determined.

Adding Nodes

Be sure to consider the precautions listed below when adding a node to an operating data link.

1, 2, 3...

1. The node number of the node being added must be in the common link parameters of the operating data link. 2. If the start-up node of the operating data link is using manual generation of data link tables, the node being added must have its refresh parameters set. 3. If the start-up node of the operating data link is using automatic generation of data link tables, the common link parameters of the node being added must match those of the operating data link, or it cannot be a part of data link operations.

59