03-10-2009 10:35 AM
hy, I am working at a project with a PCD 2 from SAIA. and I want to use the S-bus protocol. Can somebody help me how i can implement this protocol
it must be posible to read and write to the PCD 2 with the S-Bus. I now have communication with the P800 protocol but I want to change it to the S-Bus
Does there exist a VI in labview to implement this S-Bus protocol?
Can you help me ?
03-13-2009 04:17 AM
Hello,
I am completely unfamiliar with the S-Bus protocol, but when Googling for some information it looks like the SAIA PCD2 makes use of serial (RS-232 or RS-422/485) or Ethernet communication.
If the SAIA PCD2 uses serial or ethernet protocols, then you can use LabVIEW to communicate with it.
It doesn't look like anyone has ready to run functions for the S-BUS protocol. But can build them yourself using the VISA functions. This way you can program your application or build an S-BUS library for LabVIEW yourself. For the ethernet communication you have the TCP/UDP functions in LabVIEW.
Alternatively you can have a look at OPC (OLE for Process Control). http://www.ni.com/opc
If SAIA-Burgess can provide you with the OPC server, than LabVIEW can act as the OPC client and you are ready to go.
Also National Instruments has a CD with a collections of OPC servers:
http://www.ni.com/opc/opcservers.htm