The first step was to break the "REAL" values into 2 "INT" values - this was done using the COP instruction. Next, the 2nd INT was moved into the first register, and the 1st INT moved into the 2nd register:
Step 1:
COP(SETPT, SETPT_INT[0],2); /Example Setpoint
Step 2:
MCM.Data.WriteData[xx]...
xnuke - thanks a ton!! This website helped. However, I'm still having trouble. I swapped the words (low word first) and I'm able to write the FCR setpoint. Since that worked, I increased my "REG COUNT" in the Prosoft module to 4, so that it would cover the AVR setpoint as well. As soon as I...
First - sorry for posting multiple threads. I thought I'd try the the other forum for further expertise - I just signed up for this yesterday so I'm learning.
Anyhow - I have varied the value of "TEST_REAL_2" from 0 to 5000 with no luck in the DECS. I continue to get an error code of "3" -...
This is correct, I'm attempting to write to address 47621 and 47622. My command list is:
[Commands]
# Internal Poll Reg Swap Node Modbus MB Address
# Enable Address Interval Count Code Address Func in Device
START
1 0 1 57 0...
Right now I'm trying to write the FCR setpoint. Once I prove I can get that working, I'll then move on to Voltage, PF and VAR setpoints. The DECS is currently in FCR mode.
I'm having trouble writing a setpoint to the DECS-200N via a Prosoft MVI94-MCM module. I am able to read values over the Modbus link (RS-485) but I am having trouble writing a setpoint to it. I continue to get an error code of 3. I'm curious if anyone has had success using a Prosoft Modbus...