Long_75

Create DB(Data block)

2 posts in this topic

Hi All.

I need som help. som body can tell me how to create DB in Beckhoff, and how to create addess in DB. feks. in Siemens write DB10.DBW10 (is mean DB10 and WORD 10) but how can I create in Twincat (Bechoff). Thanks you all

Share this post


Link to post
Share on other sites

Hello,

 There is no Data Block Concept in TwinCAT.. If you want to define a variable simply address it with respect to its application for example for Boolean var in Input area %IX2.1, for a word  in input area %IW2 and so on . For output use %Q and for Memory use %M. But if you want to save the value in the non volatile memory of the CPU, you should use Retain or Persistent or use NOVRAM in System Manager (depend on the CPU type) option.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now