Link Type - Comm Trigger

Link Type:

CommTrig (C, hex 0x43, dec 67)

Link Value:

Sync Value

Range:

0 to 65,535

 

Note: This link type is available only in RMC100 CPU firmware version 20010123 and later.

 

This link type is used to synchronize execution of the step table with changes made externally from the PLC or other controlling system (called master below). This link type pauses the step-sequence execution until the master indicates it is ready by changing the Link Value or Extended Link Value. This function is useful when the master updates information in the RMC each machine cycle.

 

The RMC maintains an internal Extended Link Value for each axis; each is initialized on RMC power-up to 0. When the CommTrig (C) link type is encountered, the Link Value is compared with the Extended Link Value for the axis running the event sequence:

There are two ways to trigger this link type to proceed:

 

Note: The Extended Link Value is also used by the Skew Detection (<) link type. Care must be taken to ensure that these link types are not used on the same axis.

 

Note: Because the Extended Link Value powers up with 0, starting with a Comm Trigger (C) link value of 0 will cause the event sequence to wait the first time it encounters this link type.

 

Example:

 

Step 10

Step 11

Step 12

Mode

0x0000

0x0001

0x0001

Accel

0

10

10

Decel

0

10

10

Speed

0

1000

1000

Command Value

0

4000

5000

Command

 

G

G

Commanded Axes

Default

Default

Default

Link Type

CommTrig

BitsON

BitsON

Link Value

0

1

1

Link Next

11

12

10

 

This example is an axis making two moves. Suppose the PLC wants to control these moves by downloading the step sequence to the RMC. Here is how this can be done:

 

Using with the Link Type and Link Value Dialog Box

  1. Under Link Type Category, select System-wide (Basic, non-axis).

  2. Under Link Type, select Comm Trigger.

  3. Under Link Condition, enter the Sync Value you wish to start with.

  4. Click OK.

 

Using without the Link Type and Link Value Dialog Box

  1. Enter a 'C' into the Link Type field.

  2. Enter the Link Value.

 


Copyright (c) 1997-2015 by Delta Computer Systems, Inc.