NI Home > Community > NI Discussion Forums

FieldPoint Family

Showing results for 
Search instead for 
Do you mean 
Reply
Member
stericert
Posts: 7
0 Kudos

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?

Member
MegaHertz
Posts: 61
0 Kudos

Re: cFP-1804 command set

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
Member
stericert
Posts: 7
0 Kudos

Re: cFP-1804 command set

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.

Member
MegaHertz
Posts: 61
0 Kudos

Re: cFP-1804 command set

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
Member
stericert
Posts: 7
0 Kudos

Re: cFP-1804 command set

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

Member
MegaHertz
Posts: 61
0 Kudos

Re: cFP-1804 command set

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
Member
stericert
Posts: 7
0 Kudos

Re: cFP-1804 command set

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

Member
Jeff.F
Posts: 25
0 Kudos

Re: cFP-1804 command set

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

Member
Jeff.F
Posts: 25
0 Kudos

Re: cFP-1804 command set

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