Basler DECS-200N to ControlLogix Prosoft - Modbus
Basler DECS-200N to ControlLogix Prosoft - Modbus
(OP)
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 card in a ControlLogix system to write setpoints? Any and all helpful would be greatly appreciated!!





RE: Basler DECS-200N to ControlLogix Prosoft - Modbus
03 ILLEGAL DATA VALUE A value contained in the query data field is not an allowable value, because it is one of the following:
• Outside min. or max. limits.
• Parameter is read-only.
• Message is too long.
Are you trying to write the voltage setpoint or a power factor setpoint?, What mode of operation is the DECS in?
RE: Basler DECS-200N to ControlLogix Prosoft - Modbus
RE: Basler DECS-200N to ControlLogix Prosoft - Modbus
RE: Basler DECS-200N to ControlLogix Prosoft - Modbus
[Commands]
# Internal Poll Reg Swap Node Modbus MB Address
# Enable Address Interval Count Code Address Func in Device
START
1 0 1 57 0 247 3 7250
1 1000 1 5 0 247 16 7561
1 1020 1 4 0 247 16 7620
END
The 1st 2 commands work fine, the 3rd one is the problem. As you can see, I only have a reg count of 4 as I'm only trying to do the FCR setpoint right now. My line of code in the ControlLogix is:
COP(TEST_REAL_2, MCM.Data.WriteData[20],2);
TEST_REAL_2 is a "REAL" value
RE: Basler DECS-200N to ControlLogix Prosoft - Modbus
xnuke
"Live and act within the limit of your knowledge and keep expanding it to the limit of your life." Ayn Rand, Atlas Shrugged.
Please see FAQ731-376: Eng-Tips.com Forum Policies for tips on how to make the best use of Eng-Tips.
RE: Basler DECS-200N to ControlLogix Prosoft - Modbus
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" - Illegal Data Value.
RE: Basler DECS-200N to ControlLogix Prosoft - Modbus
http://
The link under "See Also" at the bottom of the page may be helpful.
xnuke
"Live and act within the limit of your knowledge and keep expanding it to the limit of your life." Ayn Rand, Atlas Shrugged.
Please see FAQ731-376: Eng-Tips.com Forum Policies for tips on how to make the best use of Eng-Tips.
RE: Basler DECS-200N to ControlLogix Prosoft - Modbus
[Commands]
# Internal Poll Reg Swap Node Modbus MB Address
# Enable Address Interval Count Code Address Func in Device
START
1 0 1 57 0 247 3 7250
1 1000 1 5 0 247 16 7561
1 1020 1 2 0 247 16 7620
END
RE: Basler DECS-200N to ControlLogix Prosoft - Modbus
Did you get this resolved?
CH
RE: Basler DECS-200N to ControlLogix Prosoft - Modbus
RE: Basler DECS-200N to ControlLogix Prosoft - Modbus
Thanks
RE: Basler DECS-200N to ControlLogix Prosoft - Modbus
Step 1:
COP(SETPT, SETPT_INT[0],2); /Example Setpoint
Step 2:
MCM.Data.WriteData[xx] := SETPT_INT[1]; // Low Word
MCM.Data.WriteData[yy] := SETPT_INT[0]; // High Word
RE: Basler DECS-200N to ControlLogix Prosoft - Modbus
xnuke
"Live and act within the limit of your knowledge and keep expanding it to the limit of your life." Ayn Rand, Atlas Shrugged.
Please see FAQ731-376: Eng-Tips.com Forum Policies for tips on how to make the best use of Eng-Tips.