FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

cFP-1804 command set

I am migrating an application on an Allen Bradley SLC 500 PLC platform to interface to a compact Fieldpoint system. I previously used Fieldpoint modules (FP1000 and FP-TC120). Is the command set the same for the cFP as for the FP so I can speak to my Allen Bradley?

0 Kudos
Message 1 of 9
(7,122 Views)

Hi Stericert,

 

Both FieldPoint and Compact FieldPoint use the functions in the 'FieldPoint' sub-palette in LabVIEW. You may need to upgrade your FieldPoint driver, but the commands are the same. Aside from updating the "FieldPoint IO Point" constant or control in your code, you should be able to use the same program without any difficulty.

Andy H.
National Instruments
0 Kudos
Message 2 of 9
(7,107 Views)

andy, thanks, but i'm not using labview. I am directly talking to the fieldpoint device. Please let me know if the command set is unchanged.

0 Kudos
Message 3 of 9
(7,105 Views)

Hi Stericert,

 

Sorry for the mistake above. The commands have not changed, you should be able to interface with Compact FieldPoint in the exact same manner as you did with FieldPoint. Let me know if you have any problems.

Andy H.
National Instruments
0 Kudos
Message 4 of 9
(7,089 Views)

Andy,

 

Getting back to our discussion of last November on this, I am trying to get the two systems to talk via RS-232 with no success to date. Some of the opening BASIC commands to the Fieldpoint, which is on serial channel 2 of the Allen Bradley Basic Module I am using, are:

 

 

80     PRINT #">00A??"
90     REM power up clear command to fp
100    INPS #$(0),1
110    IF ASC($(0),1)<>ASC(A) THEN  GOTO 80
120    PRINT #">01!f000F000110221000110221000110221000110221??"
130    INPS #$(0),1
140    IF ASC($(0),1)<>ASC(A) THEN  GOTO 120
150    PRINT #">01!f00F0000110221000110221000110221000110221??"
160    REM SET TO
170    INPS #$(0),1
180    IF ASC($(0),1)<>ASC(A) THEN  GOTO 150

 

 

This is supposed to wake up the Fieldpoint (line 80) and configure the Fieldpoint Thermocouple module (in position 0 on the cFP-1804) for type T thermocouples with cold-junction compensation. Are these valid commands still? The comms are at 19.2K, 8, N, 1. I get either no green on the status light on the cFP-1804 or an occasional red blink on it.

 

Jon Wilder

0 Kudos
Message 5 of 9
(6,810 Views)

Hi Jon,

 

Have you examined the command set in the FieldPoint/Serial Comm with Visual Basic and FieldPoint/Serial Comm/Extended with Visual Basic tutorials on the website? 

Andy H.
National Instruments
0 Kudos
Message 6 of 9
(6,795 Views)

Thanks. I'll look into them. If you don't hear from me, I've fixed the code issue.

0 Kudos
Message 7 of 9
(6,786 Views)

Hello Andrew,

How can I query a cFP-1804 for a unique machine ID or serial number using LabVIEW, traditional drivers used in LabVIEW and/or DSC.  I wish to confirm that this is the cFP module that was configured with the system. ...terminal validation.

 

Hey from the gang,

Jeff F.

Integration Engineer

Mink Hollow Systems

0 Kudos
Message 8 of 9
(6,651 Views)

Found hardware serial number retrieval at...

 

http://forums.ni.com/t5/FieldPoint-Family/How-can-I-dynamically-access-serial-number-from-FP1601-dev...

 

Which gave the example at...

 

C:\Program Files\National Instruments\LabVIEW 2010\examples\nisyscfg\Show All Hardware.vi

 

Bestest's Regardses's,

Jeff

0 Kudos
Message 9 of 9
(6,649 Views)