Manual
PoBlocks user manual (March 31, 2014)
18
www.poscope.com
13. Task manager
PoBlocks features task manager feature that gives the user an insight into how the PoIL code is being
executed. Task manager can be accessed when the connection with PoKeys device is established by
clicking on Tools > Task manger.
Task manager shows all tasks that are currently being executed and the basic information on tasks
performances.
Inactive task shos ho much Load is still available to tasks unused processing time
Task 0 is the primary task being executed by PoKeys device. In periodic mode this task is only used to
initialize and start other tasks and does not affect the operation afterwards, while in non-periodic mode,
only task 0 is used for code execution.
Last to columns sho the Target ccle time set in the project settings and Real ccle time
(true/real cycle time managed by the device).
14. Shared data
In order to share data between PoIL code and other PoKeys systems (Web dashboard and Modbus
interface on Ethernet PoKeys devices, third-party applications on other devices or computers, connected
to PoKeys, etc.) a shared data slots were introduced in PoKeys devices with PoIL core support. Each
Shared data slot can hold 1-, 8-, 16- or 32-bit data, which can be read or written by any of the involved
systems. Most frequently, PoIL code writes to Shared data slot in order to allow other systems (e.g.
PoKeys Dashboard or Modbus device) or reads from Shared data slot in order to obtain data from other
systems (e.g. user interaction via Dashboard or Modbus device operation).
14.1. Writing data to Shared data slot
In order to write data to shared data slot, switch to Shared data tab in the properties section and
double-click on an empty slot to start the slot assignment process (figure below). A circular selection will
appear in the design area, instructing you to select an output port to share.










