Expanded Virtual Bits "int VirtualBitsEx0"

Moderators: TomKerekes, dynomotion

Post Reply
User avatar
EX854508
Posts: 10
Joined: Mon Feb 26, 2018 10:41 am

Expanded Virtual Bits "int VirtualBitsEx0"

Post by EX854508 » Mon Mar 12, 2018 7:09 pm

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?

User avatar
TomKerekes
Posts: 2677
Joined: Mon Dec 04, 2017 1:49 am

Re: Expanded Virtual Bits "int VirtualBitsEx0"

Post by TomKerekes » Tue Mar 13, 2018 9:58 pm

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
Regards,

Tom Kerekes
Dynomotion, Inc.

Post Reply