How to set all struct bits using indirect addresing

plcnoob69

Member
Join Date
Jun 2023
Location
Nigeria
Posts
30
Hi,
I have this code:

LAR1 P##structy
L 0
T LW [AR1,P#0.0]

which resets all the bits in this struct called structy. How could I do the opposite - activate all of them? I tries with L 1 instead of L 0 but it didn't work.
 

Similar Topics

Hi need help why this “failure 5 emergency stop “ appears at every startup in the morning ? Have to shut off main switch at least 10 times on...
Replies
19
Views
304
Omron AD081-V1 Analog Input Card Offset & Gain Adjustment Entering Adjustment Mode 1. Set the input card in adjustment mode (Turn ON Dip SW No-1)...
Replies
0
Views
88
I was loading a program onto an XE1e2 PLC and it got stuck on these two windows and won't progress. It won't let me connect from the PC to reload...
Replies
0
Views
74
Hi all, i have recieved some 4RF Aprisa SR+ ethernet radios from a customer to configure. Issue is that they are used and have non-default...
Replies
0
Views
81
I want to set user security level based on the value of a tag in my PLC called "ActiveUser". That tag will contain the A-P code which we use for...
Replies
6
Views
216
Back
Top Bottom