12/11/2014 10:15 AM | |
Posts: 3 Rating:
|
Hi, I have question about using PEEK on High Speed Counter, it doesn't work for me :) [code]#Measured_Value := PEEK(area:=16#81, dbNumber:=0, byteOffset:=#Speed_Counter_Input_Byte); #Measured_Value := "HSC";[/code] Adress of HSC is %ID1000 and Speed_Counter_Input_Byte is 1000. But with PEEK i get 0, but with second line i get the frequency (as I have put it configuration). See attachment for monitored values and code. CPU in question is 1214C ------------ New subject after splitting from SCL programming in S7-1200. |
Last edited by: Min_Moderator at: 12/11/2014 11:00 AMSplitted Last edited by: B3mt1 at: 12/11/2014 10:16 AM |
|
12/11/2014 10:34 AM | |
Joined: 12/16/2012 Last visit: 6/9/2023 Posts: 634 Rating:
|
Hi B3mt1! PEEK() gives you back IB1000 not ID1000. It is a byte read.
|
12/11/2014 12:01 PM | |
Posts: 5225 Rating:
|
|
Follow us on