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,069
Hi Siemens guys! I am experiencing SF fault on our S7-300 (6ES7 315-2AH14-0AB0) CPU from time to time. I've checked the diagnostic buffer and...
Replies
13
Views
92
Can we use a Simotion D455 ethernet port x127 as a gate, to access S7-1500 plc Tia Portal program ? In the Simatic manager, we used Netpro to do...
Replies
2
Views
71
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
11
Views
592
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
66
Back
Top Bottom