beckhoff TwinCAT 2 — 10 General questions regarding PC control

General questions regarding PC control µs range, which is adequate for the aforementioned applications, is achieved by means of a second scheduler. This scheduler is an extension of the kernel, with the result that TwinCAT programs are integrated fully in NT and its interfaces. Is NT modified when TwinCAT is installed? No: TwinCAT's architecture allows integration in the form of a kernel mode driver (.sys) without modifying NT. This is particularly advantageous because NT does not have to be modified here (patched). The latest respective version of NT can be purchased worldwide from a Microsoft sales channel and can be used throughout the world.

Why is a PLC deterministic and can a PC also achieve this? A PLC is none other than a microprocessor system with a proprietary operating system that operates in a deterministic fashion. In any case, a PC's performance is high enough to process a deterministic "kernel" together with the operating system, and the technology lies in neat implementation. Does a TwinCAT PC operate as reliably and deterministically as PLC? Yes: the PLC task call by TwinCAT's NT Kernel Extension is just as deterministic as in the case of a PLC. The reliability of the system is guaranteed by stable and industrially suitable hardware.

What happens if NT is "starved" by a load?" The processor's computing capacity is shared by TwinCAT and NT, and the limit is adjustable. Nevertheless, TwinCAT only occupies the imperatively required capacity and returns free capacity to NT: In this way, neither NT nor TwinCAT can occupy 100 % of the processor, thus forcing the other respective system to its knees. How is the real time setting adjusted and how are load violations noticed? In the system settings via the task bar, it is possible to set the real time load limit, and this is where the current load is also displayed.

Violations of the load limit lead to a situation in which the PLC programs are not completed in good time before the next call, the result being that a cycle call is executed with a "delay", and the cycle timeout is indicated by names of a system flag, and a reaction can be programmed. A message can be generated for Windows applications. Additionally, any PLC program may need an execution time longer than the configured cycle time (see task settings): the cycles will be executed in a time cycle longer than the configured one: The missing of the scheduled cycle is indicated in the system flag memory: a reaction can be programmed, a message for windows programs may be generated.

Can the real time display and setting be deactivated? Yes: in the Registry, there is an entry that influences the system popup menu. [HKEY_LOCAL_MACHINE\SOFTWARE\Beckhoff\TwinCAT\System]"SysPopupMenuType"=dword:00 000000 When SysPopupMenuType = dword: 0000 0000 is set, the user has a restricted menu. Can boot NT without login? There is an entry in the registry that allows automatic login to NT when logged in as administrator with password. Can the PC interfaces be used in TwinCAT? Yes, but not simultaneously with the operating system. Can existing field bus I/O be linked? How? Existing field bus systems can be linked easily:

TwinCAT is linked to the field bus system by means of a master card for the field bus in the PC. TwinCAT currently supports a whole series of field buses and master cards. System Concept 27 Version: 1.0