Jump to content
  • entries
    14
  • comments
    9
  • views
    46,184

WEBINAR - Data Tables and Data Logging - Part I


Jas

2,243 views

Did you find this code helpful?  

3 members have voted

  1. 1. Was this code module helpful to you?

    • Yes, as written
      3
    • Yes, with some modifications
      1
    • No
      0
    • Who wrote this buggy junk?
      0

Recorded Live:

Thursday, January 13, 2011

Presented By Anthony Nicolaides

Applications Engineer - Unitronics Inc.

Part 1 - We will explore how to set up a data table in VisiLogic and use it to log data. We will show how to create a data table, and how to link each column to a register type. We will then use the ladder section to create a time/event driven routine to log data.

Part 2 - We will learn how to use DataXport to pull the data table from the PLC and save it to the PC as an excel file. We will learn how to set up a time based automatic download, and an even based download over TCP/IP.

Data Tables and Data Logging (1)

<object width="960" height="745"><param name="movie" value="http://www.youtube.com/watch?v=rpFBXIpvmLM?fs=1&hl=en_US&rel=0&hd=1&color1=0x5d1719&color2=0xcd311b"></param><param'>http://www.youtube.com/watch?v=rpFBXIpvmLM?fs=1&hl=en_US&rel=0&hd=1&color1=0x5d1719&color2=0xcd311b"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/watch?v=rpFBXIpvmLM?fs=1&hl=en_US&rel=0&hd=1&color1=0x5d1719&color2=0xcd311b" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="960" height="745"></embed></object>

Data Tables and Data Logging (2)

<object width="960" height="745"><param name="movie" value="http://www.youtube.com/watch?v=gjW8Tszj0B4?fs=1&hl=en_US&rel=0&hd=1&color1=0x5d1719&color2=0xcd311b"></param><param'>http://www.youtube.com/watch?v=gjW8Tszj0B4?fs=1&hl=en_US&rel=0&hd=1&color1=0x5d1719&color2=0xcd311b"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/watch?v=gjW8Tszj0B4?fs=1&hl=en_US&rel=0&hd=1&color1=0x5d1719&color2=0xcd311b" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="960" height="745"></embed></object>

Data Tables and Data Logging (3)

<object width="960" height="745"><param name="movie" value="http://www.youtube.com/watch?v=yVfOwtUvHXA?fs=1&hl=en_US&rel=0&hd=1&color1=0x5d1719&color2=0xcd311b"></param><param'>http://www.youtube.com/watch?v=yVfOwtUvHXA?fs=1&hl=en_US&rel=0&hd=1&color1=0x5d1719&color2=0xcd311b"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/watch?v=yVfOwtUvHXA?fs=1&hl=en_US&rel=0&hd=1&color1=0x5d1719&color2=0xcd311b" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="960" height="745"></embed></object>

Data Tables and Data Logging (4)

<object width="960" height="745"><param name="movie" value="http://www.youtube.com/watch?v=YdAiK7oPkBQ?fs=1&hl=en_US&rel=0&hd=1&color1=0x5d1719&color2=0xcd311b"></param><param'>http://www.youtube.com/watch?v=YdAiK7oPkBQ?fs=1&hl=en_US&rel=0&hd=1&color1=0x5d1719&color2=0xcd311b"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/watch?v=YdAiK7oPkBQ?fs=1&hl=en_US&rel=0&hd=1&color1=0x5d1719&color2=0xcd311b" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="960" height="745"></embed></object>

Data Tables and Data Logging (5)

<object width="960" height="745"><param name="movie" value="http://www.youtube.com/watch?v=t3bnSHqmoSw?fs=1&hl=en_US&rel=0&hd=1&color1=0x5d1719&color2=0xcd311b"></param><param'>http://www.youtube.com/watch?v=t3bnSHqmoSw?fs=1&hl=en_US&rel=0&hd=1&color1=0x5d1719&color2=0xcd311b"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/watch?v=t3bnSHqmoSw?fs=1&hl=en_US&rel=0&hd=1&color1=0x5d1719&color2=0xcd311b" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="960" height="745"></embed></object>

Questions Asked by Attendees

Q: Are these data tables accessible via communications? Are there register that can be read or written too?

A: yes, these registers are accessible. there is a special DLL and instructions/examples with it. Please send mail to support@unitronics.com and we will send you the relevant info.

Q: What difference is between RAM and Flash memory for data tables?

A: In RAM the controller can read and write. Flash memory is Read Only. It's downloaded with the downloading the project. When you select "Part of project" in columns properties, you set the column as Flash

Q: You said you could only have 33 column. Can I set up one column and have 35 MI values in it

A: Yes, then, when you read them (it can be other types of operands too) you will receive them in a vector

Q: what to do not to lose the first written information

A: There is a limit in data. When you come to the end - you filled the whole table - you decide what to do. Return and start rewriting from first line is only an option. Much greater possibilities to log data offers SD. But this is another topic...

0 Comments


Recommended Comments

There are no comments to display.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...