FiFo data types

coopdegrace

Member
Join Date
Mar 2009
Location
perth
Posts
34
Hi all, just a question regarding FiFo tables in S7, any help would be much appretiated.

I am trying to place the values from a FM350-1 counter onto a FiFo table. The only problem I have is that the count is of type DINT and the table (FC84 from TI-S7 converting blocks) will only accept DWORD as an input. Is there any other FiFo functions that will store DINT or maybe some way of converting from one data type to another?

Cheers
 
I haven't got a system handy to try it on, but as far as I can remember, in STL you should simply be able to copy your DINT to another location which is defined as a DWORD and then use this second location as a parameter for the FC84 call (my memory says that the Data parameter of FC84 is a WORD, not a DWORD, but my memory may be playing tricks there).
In Ladder or Function Block use the move command which achieves the same result.
 

Similar Topics

Hello all, I'm using a 5069-L330ER in a project and I need to essentially capture some data that will be shown as a trend on a screen. The data...
Replies
9
Views
959
Hello! New to this forum, but have read a lot of different threads. Anyway, I have a question for you all, I have played around with AB PLC's...
Replies
0
Views
4,749
I tried posting this on one of the other boards but not getting much input so I thought I would try here. I have a project that I would like to...
Replies
1
Views
3,583
I am not sure if this is possible but if there is a way, you guys would be the ones to know. I am currently working on a project where we are...
Replies
7
Views
215
Hello! I have a network of conveyors bringing raw product to 4 machines. A sensor in the hopper of each machine calls for more product. I'm...
Replies
15
Views
5,856
Back
Top Bottom