ProSoft Technology, Inc.
Home > Support > Bulletin Board > inRAx > MVI56-GSC Example
Printable Page
 

Search | Clear


MVI56-GSC Example


You need to be logged in to get access to the forums. You can do so here

Reiter

Tuesday 10 August 2004 8:37:12 am

MVI56-GSC Example

There are two faults in the example for the serial communication.
1. It's not possible to send more than 127 byte
2. Sometimes the MVI56-GSC card starts with the transfer before all the data is on the outputs.

Solution 1:
In the routine "ProcessBlock" rung 4 and 6 the compare doesn't work if the transferlength is more than 127 because over 127 you get a negative value (SINT). So you have to add another compare for this reason.

Solution 2:
In the routine "ProcessBlock" rung 3 and 5 you have to transfer first the transferdata then the transferlength not at the same time because the MVI56-GSC card starts the transfer after it gets the transferlength and sometimes the transferdata is not fully copied to the outputs.

esyme

Tuesday 10 August 2004 4:26:44 pm

RE:MVI56-GSC Example

Thank you for your observations on the ladder logic.
I have fixed this ladder to address these 2 issues. This should be posted to our website within a couple of days. I have also requested that the manual be updated to include these changes.
It sounds like you currently have the ladder logic working, but if you would like a copy of this ladder to compare with your version please email me at esyme@psft.com and I will forward this ladder file to you.
Once again thank you for bringing this issue to our attention!

Home : Products : Support : Distributors : Services : News/Events : Contact : ProSoft Tested