How to access boolean variable stored in memory word on wago plc via modbus tcp

dtruitt97

Member
Join Date
Sep 2018
Location
PA
Posts
1
I am currently trying to integrate a Red Lion G3 display with a Wago 750-881 PLC. I have the bulk of the screens fleshed out, and I have most of the PLC code established, but I'm having some difficulty accessing boolean variables from the touch screen. I figured out how to translate %MW addresses to modbus 4xxxxx addresses, but the red lion will not recognize those addresses as booleans. I've been able to get the system mostly functional by setting these tags up as integer tags and using "complex code" that evaluates whether the current value of the tag is 0 or 1, but this approach feels sloppy and I would like to find a better way to handle this.


For those who may stumble upon this thread while researching a similar integration, simply add 12289 to the number of the memory word you are trying to access using the 4 prefix to access your integers. I'm not sure how you would go about accessing double integers / floats yet, but hopefully some other users will have some input and may be able to help out with that.
 

Similar Topics

Hi I have a boolean array within my PLC inside a DB Array[0...32,0..100) of type BOOL In WinCC flex how would I address an array element...
Replies
3
Views
2,056
I have to provide remote access and control to a touch screen. I was thinking about using Weintek and the Weincloud. Does anyone know if this is...
Replies
1
Views
98
Greetings, I am working on a project and I would like to scale %AI to -10.0 to 10.0 VDC. The module Input data is stored as a 16 bit Integer and...
Replies
4
Views
49
Hi all Trying to remotely connect to a TIA Portal PLC. I can ping it without a problem but can't get my software to connect. I've opened port...
Replies
8
Views
280
Hi All, Can anyone advise me on how to determine the AN of a genie instance I writing to. I have created a genie to display a valve and some text...
Replies
0
Views
81
Back
Top Bottom