Host Engineering Forum
General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Tim Guy on July 20, 2021, 01:39:56 PM
-
I have an old DL 06 master that i have upgraded in my office to a Do More BRX PLC for a client.
There are about 10 remote slave stations that the BRX will communicate with over radio. I have the logic and communications working just fine using the DLV/DLC memory setup.
The issue, the client uses Wonderware and there are hundreds of tags between Wonderware, the master PLC and the remotes. the entire network of remotes uses BCD. In the past i was able to use @BCD or @LBCD on Wonderware to bring the info into the master in that format. This worked the same on a previous upgrade i did moving to a productivity 3000 PLC on an even bigger client with thousands of tags. I can tell Wonderware to us DLV memory locations but i cant find a way to format to BCD it does not accept @BCD or similar command.
Is there a way to bring BCD formatted data into BRX? to redo all the memory on the master and Wonderware for all the tag info and then use TOBCD for each one for all the read and write memory locations would be quite a task.
(this PLC was recommended to my by an Automation Direct rep, if i had known about this issue i would have gone a different direction)
-
Look at the SUBSCRIB instruction. It lets you convert remote data to Do-more form (like a 16 bit BCD counter to a signed/unsigned word or a 32 bit BCD timer accumulator to a signed dword).
Do-more Ethernet supports DirectLOGIC protocol - a remote Master accessing DirectLOGIC X/Y/C/V in octal will access it in Do-more as octal DLX, DLY, DLC, DLV blocks (so V2000 in an 06 would be DLV2000 in Do-more). So you would SUBSCRIBE to DLV and convert it to N or V or D or R in Do-more.
If you are PROVIDING BCD values to the HMI, you would use the PUBLISH instruction. It's just like SUBSCRIB, just the reverse (Do-more -> DL).