Specifications

Chapter 4 - AsconCPULib
117
4-3-2 SPLIT_ENABLE
FB Prototype
SPLIT_ENABLE
Input parameters
Output parameters
Description
This Function Block sets the boolean “
Enable
” output on the basis of the value of
the n-th bit of the “
Network
input. The position of the n-th bit is specified by the input
NodeID”.
Typically is used when it is needed to extract from the
Network
” output of
the FB “
ControlUnit
” the digital enable of a certain node connected to the network.
4-3-3 SET_TT (note)
FB Prototype
SET_TT
Note: System Function Block
Input parameters
Output parameters
Description
This Function Block is used internally to set the communication of the module type
specified by the input “
Module
” with the CANopen identifier specified by “
NodeID
”.
The Confirm
Output
” is TRUE if the configuration is completed successfully, other-
wise is FALSE and the output
Result
” returns the error code. For the meaning of the
error codes please refer to the Systec Manual “
CANopen Extension for IEC61131-3
”.
Label Type Description
Network DWORD CAN Network Connection
NodeID USINT CANopen Device Identifier
Label Type Description
ENABLE BOOL Function Block Output
NETWORK
NODEID
DWORD
USINT
¡
¡
BOOL ENABLE
¡
ENABLE
NODEID
MODULE
BOOL
USINT
ASCON_MODULES
¡
¡
¡
BOOL
WORD
CONFIRM
RESULT
¡
¡
Label Type Description
Enable BOOL Function Block Enable
NodeID USINT CANopen Device Identifier
Module ASCON_MODULES Device Name
Label Type Description
Confirm BOOL Function Block Confirm
Result WORD Error Code