n
The system variable USER_PARTITION is a system variable organized as a data
structure.
n
You can use the USER_PARTITION system variable to retrieve various information
and memory statistics on the user partition (overlay file system).
n
The partition can be on the external Yaskawa SD card or on the internal memory.
n
The memory is organized in blocks.
n
A block has a constant, fixed size and a file always uses one or more blocks.
n
A certain number of blocks are reserved in the Linux system for the root user. These
reserved blocks are only available for the root user and ensure his ability to act even
if the memory is occupied (e.g. for log outputs).
System variable
Type - description
USER_PARTITION
PARTITION_INFO - data structure
MEM_TOTAL
ULINT - total memory of the partition in bytes (including reserved
blocks).
MEM_FREE
ULINT - free, available memory in bytes (without reserved blocks).
MEM_USED
ULINT - used memory in bytes (including reserved blocks).
MEM_USAGE
ULINT - used memory in % (without reserved blocks).
n
In iCube Engineer programs and program parts are treated as tasks.
n
The
E
xecution &
S
ynchronization
M
anager (ESM) is responsible for coordinating and
processing the individual tasks.
n
You can use the ESM_DATA system variable to retrieve information about the ESM's
task handling.
n
ESM_DATA is a system variable organized as a data structure.
System variable
Type - description
ESM_DATA
ESM_DAT - data structure
ESM_COUNT
USINT - number of ESM (one ESM per processor core).
ESM_INFOS
ESM_INFO_ARRAY
[1] ... [2]
ESM_INFO - Information about the ESM [1 ... 2]
2
.
TASK_COUNT
UINT - number of tasks that were configured for the ESM.
TICK_COUNT
UDINT - always 0.
TICK_INTERVAL
UDINT - always 0.
TASK_INFOS
TASK_INFO_ARRAY
[1] ... [16]
TASK_INFO - Information about the tasks [1 ... 16].
INTERVAL
1
LINT - time interval
n
With cyclic tasks: Time interval in μs
n
With acyclic tasks: 0
PRIORITY
1
INT - priority of the task
Partition
Task handling
iC9200 Series
Deployment
System variables and status information > System variables
HB700 | CPU | PMC921xEx | en | 23-06
116