22.2
CPWRIT (CAN-PDO write function)
Function CPWRITE is used for write access to instrument PDOs. Because of the normal quantity of min. 2 PDOs per in-
struments, the data quantity of 2 PDOs 2 with 2 COB-IDs was grouped in a block.
Node address and COB-ID (CAN-OBject IDentifier) parameter setting is in the block. Moreover, node guarding for moni-
toring the CAN communication to the specified node can be switched on.
Data sent to the instrument must be interpreted according to instrument specification. Groups of 4 transmitted bytes
represent different data types.
To provide the bytes according to the required data type, a conversion function for transforming the value in the engi-
neering into 1 to 4 bytes is available (see function AOCTET).
Examples: R1+R2 > Int16 /
R1+R2+R3+R4 >Long
a
Important note: The heart beat protocol is not supported. If an instrument can be operated only via “heart beat”,
the guarding function must be switched off.
Digital inputs:
start
The function is active, unless the input is connected, or if start=1 is connected.
Digital outputs:
et-err
0 =
no engineering error
1 =
no CAN-HW (KS98 type)
multiple node monitoring
id-err
0 =
correct node id
1 =
faulty node id or the instrument does not reply
own node ID was specified as “NodeId”
no free send PDOs (TPDO)
valid
bit follows the node status with the node guarding active
(0=”preoperational”, 1=”operational”) always 1 with the node guarding switched off
Analog outputs:
T1 1
...
T1 8
1st to 8th output value in byte format (8-bit) for COB-ID 1
T2 1
...
T2 8
1st to 8th analog output value in byte format (8-bit) for COB-ID 2
Configuration parameters (can be changed only during OFFLINE):
NodeId
CAN node address
Guard
node guarding off/on
COBID1
decimal ID of the first CAN object identifier
COBID2
decimal ID of the second CAN object identifier
Description of KS98 CAN bus extension
9499 040 50611
CPWRIT (CAN-PDO write function)
142
Содержание KS 98
Страница 8: ...Description 9499 040 50611 Construction 8...
Страница 10: ...Important technical data 9499 040 50611 Further external in and outputs 10...
Страница 12: ...Versions 9499 040 50611 I O modules for units with modular option c basic card 12...
Страница 14: ...Front view 9499 040 50611 14...
Страница 16: ...Mounting 9499 040 50611 16...
Страница 26: ...Maintenance 9499 040 50611 Further information 26...
Страница 36: ...Scaling and calculating functions 9499 040 50611 LG10 10s logarithm 36...
Страница 74: ...Signal converters 9499 040 50611 MEAN mean value formation 74...
Страница 128: ...KS98 I O extensions with CANopen 9499 040 50611 RM_DMS strain gauge module 128...
Страница 132: ...CSEND Send mod blockno s 21 23 25 27 No 57 132...
Страница 140: ...Description of KS98 CAN bus extension 9499 040 50611 140...
Страница 202: ...Controller 9499 040 50611 Process value calculation 202...