uminded

Delta DVP12SE Modbus TCP Help

1 post in this topic

I requested support on getting my DVP to talk to Factory IO for some cost-effective programming experience but the DVP is really poorly documented. The below wording and 2 pictures were all the support I got as I am not a business.

Quote

For the data exchange , it will use command code H03 or H06 H10 and for the Word data exchange only. Default will use the H17 command to do data exchange. If you would like to use H6 or H10 command code, please use API TO write K108(SE module address) C27(Control Register 27) set to 1. If you would like to use H02, H05, H0F command code then you can use ETHRW API function.

The M codes are not listed in the ISPSoft help file and hard to track down, combined with things like "After the reception of the command is complete, bit8 in D1395 is ON" and then if I am reading input registers and holding coils but saving to a D word register how the heck do I convert the data into a useable boolean format for logic use??!!

I have no been able to even get the DVP to read or write ANYTHING but I can use a modbus program to turn on the DVP's bits no problem so I know communication works. eg: F05 H500 will toggle coil Y0.

The issue is when I try and use the DVP as the modbus client. From my laptop I can use these commands to modify Factory IO which is running as modbus server Slave ID 1:
F02 H0000 H0009 (Read inputs 0 to 9) Tx: 00 02 00 00 00 06 01 02 00 00 00 0A, Rx: 00 02 00 00 00 05 01 02 02 C0 00 (In put 6 & 7 are on)
F15 H0000 H0009 (force coils 0 to 9) Tx: 00 0F 00 00 00 09 01 0F 00 00 00 0A 02 00 00, Rx: 00 0F 00 00 00 06 01 0F 00 00 00 0A
 
But how the heck do I format the LD program to actually do those commands?

image007.png

image008.png

IA PLC Modbus address_20160707.pdf

SE-T001 Application Note Data Exchange SE PLC.pdf

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now