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,198
Hi. I have a 222 CPU. I need to recover the program from the eeprom memory. Is it possible?
Replies
1
Views
86
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
252
HI i would like to know how to get a variable that will store the amount of times a program has been executed. The issue is I have 3 DBs for 1 FB...
Replies
2
Views
81
Hi folk, I would like to know what kind of Parameters should I setup for controlling with Profibus. My old Lenze 8200 motec 0.25kW have a busted...
Replies
0
Views
79
Back
Top Bottom