RichardJ Posted February 28, 2009 Share Posted February 28, 2009 I am a PLC engineer who is used to having bit memory for HMI switches etc how do i go about setting something like this up in DAQFactory? I have tried the test device type and also V channels some help would be gratefully appreciated. Regards Richard Link to comment Share on other sites More sharing options...
AzeoTech Posted February 28, 2009 Share Posted February 28, 2009 Each bit is usually a channel, but it depends on the hardware. In Modbus, for example, the bit I/O types are coils and input status. You'd create a separate channel for each coil or input status bit. Internally, DAQFactory will automatically deal with any bit->byte/word packing that the protocol uses. For test channel, you could use the Dig Out I/O type to simulate a bit output. There is no simulated bit input, though you could create one using a sequence. Link to comment Share on other sites More sharing options...
RichardJ Posted February 28, 2009 Author Share Posted February 28, 2009 Ok so I need bits that are not associated with physical I/O so basically flags I can set as status bits within the daqfactory software so I can then use with boolean operators to give me logical status so rather than using a physical switch I want to use a "soft" switch in DAQ if that makes sense? Thanks for your reply. Regards Richard Link to comment Share on other sites More sharing options...
AzeoTech Posted March 1, 2009 Share Posted March 1, 2009 OK, just use a variable and set it = 0 or 1. Or you can use the Test Dig Out channel. Link to comment Share on other sites More sharing options...
RichardJ Posted March 1, 2009 Author Share Posted March 1, 2009 Great thanks I have another question but I'll start a different thread in the relevant forum section. Thanks again Richard Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.