Step7 MicroWin calling subroutines

Quartz

Member
Join Date
Jan 2008
Location
Kaunas
Posts
23
Hi,

Newbie question about calling subroutine
How to pass boolean to subroutine?

when im trying to call subroutine, boolean parameters are underlined as faulty. why?

My call command line:
CALL mysub, 2, 2, 2, 2, 2#1, 2#1, 2#1, Actual

---
subroutine "mysub"
IN a1:byte
IN a2:byte
IN a3:byte
IN a4:byte
In a5:bool
IN a6:bool
IN a7:bool
INOUT a8:dword
------

If i modify my call line:
-----
s #aa,1
s #bb,1
s #cc,1
CALL mysub, 2, 2, 2, 2, #aa, #bb, #cc, Actual
----
everything ok.
 

Similar Topics

I have been looking for the setup of S7 Microwin v4 for win 7 64 bit but couldn't find the complete setup. If any one of the experts can lead me...
Replies
2
Views
1,388
Please help me, I install step7 microwin on window7 for s7 200 plc, but i cant get help menu for instructon /function.. please help me out how...
Replies
2
Views
1,967
hello, please can you give me a link where I can download the step7 microwin version 3.2 service pack 1 or more.
Replies
0
Views
1,492
hello, please can you give me a link where I can download the step7 microwin sp 3.2 version 1 or more.
Replies
1
Views
1,492
Hello to all I have a USB PPI cable and Step7 Microwin SP8 and I haven't got the cable drivers Do the drivers integrated in the Microwin SP8? Hope...
Replies
2
Views
2,286
Back
Top Bottom