Link Type: |
Jump (J, hex 0x4A, dec 74) |
Link Value: |
Link Value: Reserved – must be 0 |
Range: |
Reserved – must be 0 |
Note: This feature is available only in RMC100 CPU firmware version 19990625 and later.
Note: This link type cannot be used with the Poll (?) command.
This link type is unique in that both the Link Value and Link Next fields are ignored. When this link type is encountered two discrete inputs are used to determine which event step is jumped to. This link is taken immediately; no condition is waited for.
The inputs used depend on the RMC hardware available. If there is a Sensor DI/O, its inputs 16 and 17 are used. If there is no Sensor DI/O, but there is a Communication DI/O, its inputs 16 and 17 are used. If there is no DI/O module, then CPU inputs 0 and 1 are used.
This chart shows how the input levels determine the next event step:
Input |
|
|
17 or 1 |
16 or 0 |
Next Event Step |
0 |
0 |
Current Event Step + 1 |
0 |
1 |
Current Event Step + 2 |
1 |
0 |
Current Event Step + 3 |
1 |
1 |
Current Event Step + 4 |
Note: If the next Event Step would be greater than 255, then the event step will wrap around to step 0. For example, if the current event step is 254 and inputs 17 and 16 are 1 and 0 respectively, then "Current Event Step + 3" would be 257, but this instead wraps around to event step 1. This situation is confusing and should be avoided when designing your event step sequences.
Example:
|
Step 20 |
Step 21 |
Step 22 |
Step 23 |
Step 24 |
Mode |
0x0081 |
0x0081 |
0x0081 |
0x0081 |
0x0081 |
Accel |
100 |
100 |
100 |
100 |
100 |
Decel |
100 |
100 |
100 |
100 |
100 |
Speed |
1000 |
1000 |
1000 |
1000 |
1000 |
Command Value |
0 |
0 |
0 |
0 |
0 |
Command |
|
|
|
|
|
Commanded Axes |
Default |
Default |
Default |
Default |
Default |
Link Type |
Jump |
DelayMS |
DelayMS |
DelayMS |
DelayMS |
Link Value |
0 |
0 |
0 |
0 |
0 |
Link Next |
0 |
30 |
40 |
50 |
60 |
When the RMC reaches step 20, it looks at the Jump (J) link type and checks inputs 16 and 17 (or CPU inputs 0 and 1 if no DI/O modules are present). If input 17 is off and input 16 is on, it will jump to step 22. If input 16 and 17 are both off, then it will jump to step 21.
Why Bother?
This is a way to select and execute different programs or recipes within the RMC.
Using with the Link Type and Link Value Dialog Box
Under Link Type Category, select System-wide (Basic, non-axis).
Under Link Type, select Jump Using Inputs.
Using without the Link Type and Link Value Dialog Box
Enter a 'J' for the Link Type.
Enter a 0 in the Link Value.
Copyright (c) 1997-2015 by Delta Computer Systems, Inc.