Page 1 of 1

Expanded Virtual Bits "int VirtualBitsEx0"

Posted: Mon Mar 12, 2018 7:09 pm
by EX854508
Hello! I want to extend functionality of KFlop + Kanalog system by using multiple PLC through modbus protocol and converter from rs232 to rs485 interface.
Total number of virtual bits I want to use is about 64; in PS-DCP file I've found this string: "int VirtualBitsEx0; // only upload 32 1024 Expanded Virtual Bits". Does it mean that the only this first 32 of all expanded virtual bits are availiable? What should I do to use full range of 1024 expanded virtual bits?

Re: Expanded Virtual Bits "int VirtualBitsEx0"

Posted: Tue Mar 13, 2018 9:58 pm
by TomKerekes
Only the first 32 of the 1024 Extended Virtual Bits are included and uploaded with the KFLOP Bulk Status. The remainder you will need to upload some other way.

You might read them individually using ReadBit commands, but that wouldn’t be very efficient.

There is a script command to read a group of Extended Virtual Bit Words together as a group. See:

http://www.dynomotion.com/Help/Cmd.htm#GetVirtualBits