Function blocks
Base commands
Name  | Description  | 
|---|---|
Reads the SMI commands sequentially from the internal buffer of the PLC library and forwards them to the KL6831/KL6841  | |
This function-block can be used to configure the KL6831/KL6841.  | |
This function block is for the general sending of an SMI command.  | 
Basic commands
Name  | Description  | 
|---|---|
Diagnostic telegram is sent.  | |
Motor operation to the lower final position.  | |
Motor runs downwards by a specified angle.  | |
Drives to the fixed position Pos1 configured on the motor side.  | |
Reads the fixed position Pos1 configured on the motor side.  | |
Writes the fixed position Pos1 which is configured on the motor side.  | |
Drives to the fixed position Pos2 configured on the motor side.  | |
Reads the fixed position Pos2 configured on the motor side.  | |
Writes the fixed position Pos2 which is configured on the motor side.  | |
Reads the current position.  | |
Drives to a position.  | |
Stops the motor operation.  | |
Queries the manufacturer code and drive type.  | |
Motor operation to the upper final position.  | |
Motor operation upwards by a specified angle.  | 
Addressing commands
Name  | Description  | 
|---|---|
Addresses SMI devices.  | |
Searches for SMI devices by manufacturer code.  | |
Reads the address (0-15) of a drive.  | |
Writes an address (0-15) to one or more drives.  | |
Compares a specified slave ID (32-bit key ID) with the slave ID (32-bit key ID) of one or more drives, which is defined on the motor side.  | |
Reads the slave ID (32-bit Key ID).  | 
System commands
Name  | Description  | 
|---|---|
Reads a byte parameter (1 byte) stored on the motor side.  | |
Reads a Word parameter (2 bytes) stored on the motor side.  | |
Reads a DWord parameter (4 bytes) stored on the motor side.  | 
- FB_KL6831KL6841Communication
 - FB_KL6831KL6841Config
 - FB_SMISendSMICommand
 - FB_SMIDiagAll
 - FB_SMIDown
 - FB_SMIDownStep
 - FB_SMIPos1
 - FB_SMIPos1Read
 - FB_SMIPos1Write
 - FB_SMIPos2
 - FB_SMIPos2Read
 - FB_SMIPos2Write
 - FB_SMIPosRead
 - FB_SMIPosWrite
 - FB_SMIStop
 - FB_SMISyn
 - FB_SMIUp
 - FB_SMIUpStep
 - FB_SMIAddressing
 - FB_SMIDiscoverySlaveId
 - FB_SMISlaveAddrRead
 - FB_SMISlaveAddrWrite
 - FB_SMISlaveIdCompare
 - FB_SMISlaveIdRead
 - FB_SMIParValueReadByte
 - FB_SMIParValueReadWord
 - FB_SMIParValueReadDWord