10 application example – West Control Solutions KS 800 CANopen Interface Manual User Manual
Page 40
KS 800 CAN-Interface
10
Application example
10.1
KS800 standard settings
KS800 is factory-set to the default parameters given in the controller description. As a heating/
cooling controller is required for the example and a H controller is adjusted as standard, altera-
tion via SDOs is required.
10.2
Adjusting a heating/cooling controller
Adjusting a standard controller (only heating) as a heating/cooling controller and reading the
process value cyclically (via SDOs) are done as described below.
As only channel 1 is required, the subindex for the channel number must be set to "1".
-
Set configuration to offline
→
Index 0x2008 (OPMod=0)
Reference: process data, individual code 31
-
Set main controller configuration C100=0x0300 (H/C controller)
→
Index 0x200A
Reference: C100 controller description
-
Set main configuration C200=0x2010 (PT100, unit: C)
→
Index 0x2114
Reference: C200 - controller description
-
Set configuration to online
→
Index 0x2008 (OPMod=1)
Reference: process data, individual code 31
-
Set set-point Weff
→
Index 0x2313 (Weff=250)
-
Set controller to AUTO
→
Index 0x2205 (A/H=0)
Reference: controller, individual code 33
Loop for actual process values:
for(;;)
{
-
Read effective process value channel 1
→
Index 0x2202
-
wait( 1sec)
}
40
9499 040 49511