Wizards in S7-200

Globe

Member
Join Date
Oct 2004
Posts
24
I'm trying to set up a communication between two S7-200 cpus using the wizard option in the S7-MicroWin program. The wizard create the subroutine called NET_EXE(SBR9) without any problem. My problem is when I try to call this subroutine from my program it gives me a error message saying this is an illegal statement? My code looks like this:
LD SM0.0
CALL SBR9
I have a lot of subroutine calls from my program but only this is giving me problems. Do I need to handle subroutines created by wizards on another way or is it a bug in the software? I'm confused.
 
Globe

I cannot check this at the moment, but if memory serves me correctly your code should look like this:-

LD SM0.0
CALL 9

You use just the subroutine number rather than SBR9

Paul
 

Similar Topics

I was called into a plant recently to diagnose errors with their natural gas totalization. Long story short: They had installed orifice plate...
Replies
12
Views
5,210
Hello, I have a question about an encoder that has absolute measurement. Specifically, it's the Lika SMA5, which I would like to connect...
Replies
2
Views
60
Hello, I have a question about an encoder that has absolute measurement. Specifically, it's the Lika SMA5, which I would like to connect...
Replies
0
Views
35
Hi. I have a 222 CPU. I need to recover the program from the eeprom memory. Is it possible?
Replies
1
Views
141
Hi all, Currently having trouble getting a speed reference to write over modbus to an Omron M1... I can successfully write a run command and...
Replies
6
Views
287
Back
Top Bottom