Other SRL program variables
INFORMATION
During initialization of the MOVI-C® CONTROLLER (SEW_PRG.Init), the SRL variables used by the process data interface are assigned names that also provide information about the exact process data word and the bit. To view the data, open the RobotMonitor after configuring and starting the MOVI-C® CONTROLLER and scroll to the corresponding position in the SRL variable list.
SRL program variables (poses, reals, Booleans) can be mapped to the fieldbus as process input data word as well as process output data word by simple configuration. See chapter More poses. These are appended to the end of the fieldbus interface. The signals are mapped as space-savingly as possible.
Example
First the poses are mapped, then the real variables, and then the Boolean variables. For data types smaller than WORD, several real variables are mapped into one WORD (in the following example real 2 and 3). The Boolean variables fill up the WORDs started by the real variables (in the example Booleans 1-4) and are then continued in the next WORD (in the example Booleans 1-4).
Configuration:
- 1 pose with X as DWORD, Y, Z and A as WORD
- 3 real variables as WORD, BYTE and NIBBLE
- 8 Boolean variables
Fieldbus interface:
Word | Bit | Function |
---|---|---|
1-2 | 0-15 | Pose: X-coordinate as DWORD |
3 | 0-15 | Pose: Y-coordinate as WORD |
4 | 0-15 | Pose: Z-coordinate as WORD |
5 | 0-15 | Pose: A-coordinate as WORD |
6 | 0-15 | Real 1 as WORD |
7 | 0-7 | Real 2 as BYTE |
8-11 | Real 3 as NIBBLE | |
12-15 | Bool 1-4 | |
8 | 0-3 | Bool 5-8 |
4-15 | Not used |