Somachine changing memory word with a variable

wouter94

Member
Join Date
Sep 2017
Location
Belgium
Posts
8
hi,
Is there a way to choose with %MW you use depending on the value of %SW49? For example, i have 7 %MW:
-%MW4 that needs to be active when %SW49 :=1
-%MW8 that needs to be active when %SW49 :=2
-%MW12 that needs to be active when %SW49 :=3
-%MW16 that needs to be active when %SW49 :=4
-%MW20 that needs to be active when %SW49 :=5
-%MW24 that needs to be active when %SW49 :=6
-%MW28 that needs to be active when %SW49 :=7

so is there a way to say %MW0 := %MW(4*%SW49) on a operation block?
 

Similar Topics

Hi, I am using SoMAchine 4.2 and I am trying to change the IP address in my M258 PLC. I have tried changing it using "process communication...
Replies
8
Views
7,146
Hi, I'm working in so machine basic v1.5 and I'm wondering if it is possible to change the start time and stop time in a schedule block with a...
Replies
0
Views
1,258
Hello Everybody Anybody knows where I can get this version of SoMachine? The new machine expert version won't open my project saying there is a...
Replies
0
Views
38
I am trying to connect with a Schneider plc which has a firmware version only available in Somachine v4.2. In Machine expert After taking upload...
Replies
0
Views
112
Hello dear experts, I incurred in an anomaly while working with HMISCU devices by Schneider. I downloaded the program and everything seems to...
Replies
0
Views
445
Back
Top Bottom