Back to top

Reading Profinet Control Word and Status Word in Workbench

The Profinet Control Word and Status Word can be read in the Workbench Terminal screen. Define the memory address and then read the memory data of that address. It is done this way, since regular parameters don't exist for these.

Control Word:  PN.STW1

Status Word:  PN.ZSW1

 

Background:

The Control Word is used in Profinet communication (or other fieldbus) as a means of sending commands to the drive. The Control Word consists of bits, and each bit corresponds to a function or command. Such commands are Enable, Stop, Pause, Start Move, Jog, etc.

The Status Word is used in Profinet Communication (or other fieldbus) as a means of receiving the status of the drive. The Status Word is also a bit-level word, and each bit corresponds to a status, such as Fault Condition, Enabled, Moving, Warning, Move Complete, etc.

These are good indicators for determining if the PLC is communicating with the drive. Send a command through the Control Word and see if the Status Word changes. Being able to read these in Workbench can also give indication of whether or not communication is established.

 

Other Profinet parameters:

PN.POSSCALE – sets scaling for PNU data of position parameters (See the AKD Profinet Manual)

PN.TIMEOUTFTHRESH – reads the time of an F702 fault, based on the time of the Profinet master

PN.DIAG – reads Profinet connection information, last acyclic transmission, and telegram mapping

Comments

defty's picture
defty

Very useful !!!

Is it possible to have the same feature with CanOpen (to read 6040 & 6041) ? With EtherCat ?

Best regards.

Defty.