Standard function blocks
345
D2D_McastToken
(10096)
Illustration
Execution time -
Operation Configures the transmission of token messages sent to a follower. Each token
authorizes the follower to send one message to another follower or group of followers.
For the message types, see the block D2D_SendMessage.
Note: This block is only supported in the master.
The Target Node input defines the node address the master sends the tokens to; the
range is 1…62.
The Mcast Cycle specifies the interval between token messages in the range of
2…1000 milliseconds. Setting this input to 0 disables the sending of tokens.
The error codes indicated by the Error output are as follows:
See also section Examples of using standard function blocks in drive-to-drive
communication starting on page 439.
Inputs Token recipient (Target Node): INT
Token interval (Mcast Cycle): INT
Outputs Error output (Error): DINT
D2D_SendMessage
(10095)
Illustration
Execution time -
D2D_McastToken
71
TLA1 1 msec (1)
Target Node
Mcast Cycle
Error
Error(71)
Bit Description
0 D2D_MODE_ERR: Drive is not master
5 TOO_SHORT_CYCLE: Token interval is too short, causing
overloading
6 INVALID_INPUT_VAL: An input value is out of range
7 GENERAL_D2D_ERR: Drive-to-drive communication driver failed to
initialize message
D2D_SendMessage
72
TLA1 1 msec (1)
Msg Type
Target Node/Grp
LocalDsNr
RemoteDsNr
Sent msg count
Sent msg count(72)
Error
Error(72)