NAIS Aromat FPWin error - pls help

RoTaTech

Member
Join Date
May 2003
Location
Cobourg, ON, Canada
Posts
418
Good morning all:

I have programmed extensively with many AB packages, many Omron packages, Idec, TI, but never Nais.

I'm using FPWin Pro4.

I'm modifying a Nais program, written by someone else. It has 3 POUs that I have to copy and modify for 3 new machine functions (i.e. there will be 6 POUs.)

If I define an identifier/tag in the Global Variables, do I have to put it in the header for each POU, as well?

The (I assume) function calls, or subroutine calls look like:
Spektrix
--[contact 1]---- [EN Spektrix ENO] ---
where the function name is a grey box with the identical name above the box. This Spektrix is the name of a POU.

If I create a new network such as:
New
--[contact 2]---- [EN New ENO] ---

and copy the Spektrix POU to New1, New2, New3 POUs, I have an error when I compile, but only for ONE of the POUs.

I get "Error C2045 Instance does not match."
If I double-click the FB box, the header for that POU pops up. All six look identical.

Questions:

Why are the names listed twice? The one inside the FB box, I can choose from a dropdown list of all the POUs; the label(?) one, I am free to type what I want, or select it from a list. When I first add the FB to the program rung, it is called "Instance". Must they, should they match? For the FB calls that do not generate a compile error, I get a Variable Selection pulldown list, with the name as:
+Spektrix. The one which gives the C2045, does not show up in the list. Where do I/How do I define it? I did not explicitly do anything with the other two I added.

Is there/where is a force function for the IO? for the internal bits?

I'm sure I may have more questions...
 

Similar Topics

Hello! I have NAIS FP1-C56 Matsushita and after upload code, project Has very much syntax errors. PLC in mode Run signite Error LED. I connect to...
Replies
0
Views
977
Good Morning, I am converting a program from an old Panasonic NAIS FP0. Please see the attached section of logic. Step 637 when the program...
Replies
2
Views
1,710
So I started working on this old italian machine and it has an FP0 plc, I am using the fpwin gr 2.7 software and it lets me connect to it and...
Replies
2
Views
3,157
Good morning, Spent some time over the weekend looking for a manual for this thing. Anyone have any info or link to manual? I have a spare unit...
Replies
0
Views
1,375
Hi, I'm new to this Forum. Can anybody help me with following. I want to reprogram an old Matsushita (Panasonic) NAiS FP3 PLC. CPU model no...
Replies
3
Views
3,133
Back
Top Bottom