This FB is simply hung on the end of a state machine and instantiated there. It works as soon as it is called.
So that user logging on the PCC is also active, this must be activated in a configuration file.
This configuration file is located under "D: \ bm \ boot" and is called "PCC_PLC_001.INI". There the entry "x_EnableUsrLog" must be set to 1
Resource dependency: | IAX_40/BMI_S_PCC03 |
Recommended Task: |
|
Libraries used: |
TECH_TYPES_40bd10 TECH_FB_STRUCTS_40bd01t1 |
Marking: | Datatype: | Description: |
---|---|---|
|
|
» i_State: The state in which was logged » s_State: The name of the state as STIRNG » ud_TimeInState: The milliseconds spent in this state |
Marking: | Datatype: | Description: |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Marking: | Datatype: | Description: |
---|---|---|
|
|
|
|
|
|
|
|
|