logo

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline AGirod  
#1 Posted : Friday, January 19, 2018 6:07:03 AM(UTC)
AGirod

Rank: Newbie

Joined: 1/19/2018(UTC)
Posts: 1

Hello Matrikon,
I would ask you: ¿Can the OPC Server for Siemens S7 read LREAL Values? I have to read it from S7 1200 PLC's, but as far as I've read in your manual, I haven't found this capability...
¿How can I deal with LREAL Values? (NOT REAL)
Thank you,
Offline Manibhushanreddy P  
#2 Posted : Thursday, February 08, 2018 10:21:05 PM(UTC)
Manibhushanreddy P

Rank: Newbie

Joined: 3/23/2016(UTC)
Posts: 5

Hi

Thank you for contacting MatrikonOPC Support.

I believe you are talking about LONG or DINT (Data block variable which represents a signed decimal integer, stored in four bytes.) data type when you say LREAL. So you could use below syntax to fetch LONG type values from PLC.

DBn:DINT:x
n is the data block number
x is the DINT offset
e.g.: DB1:DINT:10 accesses a DINT at offset 10 from data block # 1

If you have any further questions you may refer to OPC Data Items section in user manual where all the PLC data blocks explained with their syntax.

Hope this helps.

Mani
Global Tech Support Specialist
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.