S7 GET function no error, no status

Maugrim

Member
Join Date
Dec 2009
Location
Toronto, Ontario, Canada
Posts
19
I am trying to use a GET function to pull data from a remote PLC.

I believe I set up the unspecified S7 connection in Netpro correctly as I get a green triangle with the text "Set Up" under connection status.

I am talking over ethernet, and used the GET function from SIMATIC_NET_CP > CP300

The problem I am having is that when I drop the GET (FB14) into OB1, set it up, and download - It just sits there doing nothing.

I am using clock bit 6 for the REQ.

I get 0 on NDR, ERROR and STATUS.

Any ideas?
 
I changed the GET to SFB14 from the standard library after talking to local tech support.

I now get an error (27) on STATUS which is "There is no function code in the CPU for this block".

Just wish it told be what that meant. Any help would be much appreciated!
 
I changed the GET to SFB14 from the standard library after talking to local tech support.

I now get an error (27) on STATUS which is "There is no function code in the CPU for this block".

Just wish it told be what that meant. Any help would be much appreciated!
Hi,
what kind of plc are you trying?
 
Got it going with the original FB14.

When I first did the code, and pulled the block from the library I didn't realize it was a FB ( thought they were all SFB's). As such, I didn't download the block. This PLC was setup with the OB to catch theses errors, not let the PLC fault.

When I got the other error, I did a block compare thinking somehow the CPU didn't have SFB14, and saw I was missing FB14.
 

Similar Topics

Hi all :) , I'm very new to CitectSCADA and Cicode programming, however have good programming experience in most major programming languages...
Replies
0
Views
1,249
Hi everyone, I'm new to Vijeo Citect. I have to upgrade an existing project which i only have to add a few DPM in existing pages. I managed to...
Replies
2
Views
3,101
Hi ... I am very new to plc and hmi use I have a old sysytem of footwear machine in which hutachi cpu02h22hb cpu is installed with diaplay of...
Replies
1
Views
2,290
Hi guys, I am doing upgrading job from v550 to v610, however during compilation i see error "Incorrect number of arguments for function", wat...
Replies
4
Views
3,088
Back
Top Bottom