beautypg.com

West Control Solutions KS98-1 User Manual

Page 197

background image

Engineering examples

SDO for data reading

This example shows a possibility for data reading via an SDO access. Node address, data type, index and sub-index
can be adjusted on an operating page. On the first line, a trigger bit which is reset by the following “ready” signal of
the SDO block can be set. The engineering cannot be used to put a connected instrument into “operational” condition
for PDO accesses. For this purpose, NMT commands must be used ( see the example given below ).

SDO for data read/write with node guarding and set operational

In this engineering example for data write and read via SDOs, a trigger can be set automatically when changing a va -
lue to be transmitted, or manually via the first line of the operating page. Function block CPREAD, which is used nor -
mally for reading PDOs can be used to realize node guarding for an adjustable node. Moreover, this block ensures that
the selected node is set “operational”. In this case, connecting the “valid” output on the AND gates may be purposeful
to prevent triggering as long as the connected instrument is not ready for addressing.

9499-040-82711

Description of KS 98-1 CAN bus extension

CSDO (CAN-SDO function (No. 92))

III-197

Fig. 29