Vous êtes sur la page 1sur 4

TwinCAT IO : Options on XP and CE

- Commercial :
CE : TwinCAT IO is royalty free on BECKHOFF CE devices
XP : TwinCAT IO cost royalties

- Technical : any difference ?

Input Output

Mapping

I Q I Q
Fieldbus 1 Fieldbus 2

25.09.2006 ITW 09-06 Stefan Hoppe 1


TwinCAT IO on Windows XP 1/2

TwinCAT IO triggers the task


C++
C++ // Delphi
Delphi // VB
VB ...
... application
application Æ deterministic trigger

Access
Access to
to IO
IO Task
Task via
via ADS
ADS TwinCAT :
- deterministic cyclic to trigger
task update to mapped IOs

User application :
Trigger - access process image via ADS
EDIT
- asynchronous access to fieldbus
Input Output
DOWNLOAD

Mapping

I Q I Q
Fieldbus 1 Fieldbus 2
25.09.2006 ITW 09-06 Stefan Hoppe 2
TwinCAT IO on Windows XP 2/2

C++
C++ application
application Trigger Application triggers the task
Æ non deterministic trigger
Access
Access toto IO
IO via
via TcIO-API
TcIO-API EDIT

Pointer
Pointer to
to Input/Output
Input/Output TwinCAT :
- no trigger !
DOWNLOAD

User application :
- access via pointer to
Input Output IO-buffer in user-mode
- trigger data exchange
to IO-task
Input Output - synchronous access to fieldbus

Mapping

I Q I Q
Fieldbus 1 Fieldbus 2
25.09.2006 ITW 09-06 Stefan Hoppe 3
TwinCAT IO on Windows CE

C++
C++ application
application Trigger Application triggers the task
Æ deterministic trigger „TcTimer“
Access
Access toto IO
IO via
via TcIO-API
TcIO-API EDIT

Pointer
Pointer to
to Input/Output
Input/Output TwinCAT :
- no „AutoStart“ trigger in IO-task
DOWNLOAD

- offers deterministic trigger


„TcTimer“ for external use
- scalable down to 100µs
Input Output - royalty free

User application :
Input Output - access via pointer to IO-buffer
- trigger data exchange to IO-task
- synchronous access to fieldbus
Mapping

I Q I Q
Fieldbus 1 Fieldbus 2
25.09.2006 ITW 09-06 Stefan Hoppe 4