Output DescriptionΒΆ
DONE (done)
Data type: BOOL
Output DONE indicates the processing state of the Function Block.
The DONE remains TRUE as long as the EN is TRUE.
ERR (error)
Data type: BOOL
Output ERR indicates whether an error occurred during block processing. This output always has to be considered together with output DONE. If DONE = TRUE and ERR = TRUE, an error occurred. In this case, the error number can be read at output ERNO.
ERNO (error number)
Data type: WORD
Output ERNO provides an error identifier, if an invalid value was applied to an input or if an error occurred during request processing. ERNO always has to be considered together with the outputs DONE and ERR. The value output at ERNO is only valid, if DONE is TRUE and ERR is TRUE.
The encoding of the error messages output at ERNO is explained in a separate table of Error Messages (see, error messages): Error Messages of the Function Block Libraries
PZD_IN4 (PZD input 4)
Data type: WORD
Process Data word to drive
Available with PPO_Type: 2,4,5,6,7,8
PZD_IN5 (PZD input 5)
Data type: WORD
Process Data word to drive
Available with PPO_Type: 2,4,5,6,7,8
PZD_IN6 (PZD input 6)
Data type: WORD
Process Data word to drive
Available with PPO_Type: 2,4,5,6,7,8
PZD_IN7 (PZD input 7)
Data type: WORD
Process Data word to drive
Available with PPO_Type: 5,6,7,8
PZD_IN8 (PZD input 8)
Data type: WORD
Process Data word to drive
Available with PPO_Type: 5,6,7,8
PZD_IN9 (PZD input 9)
Data type: WORD
Process Data word to drive
Available with PPO_Type: 5,6,7,8
PZD_IN10 (PZD input 10)
Data type: WORD
Process Data word to drive
Available with PPO_Type: 5,6,7,8
PZD_IN11 (PZD input 11)
Data type: WORD
Process Data word to drive
Available with PPO_Type: 7,8
PZD_IN12 (PZD input 12)
Data type: WORD
Process Data word to drive
Available with PPO_Type: 7,8
Calling of ACS_COM_PB_PZD in ST
AcsComPbPzd ( EN \ \ \ \ \ \ \ \ := xAcsComPbPzd_En,
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ PZD_OUT4 \ \ := wAcsComPbPzd_PzdOut4,
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \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csComPbPzd_PzdIn5\ \ := AcsComPbPzd.PZDIN5 ;
wAcsComPbPzd_PzdIn6\ \ := AcsComPbPzd.PZDIN6 ;
wAcsComPbPzd_PzdIn7\ \ := AcsComPbPzd.PZDIN7 ;
wAcsComPbPzd_PzdIn8\ \ := AcsComPbPzd.PZDIN8 ;
wAcsComPbPzd_PzdIn9\ \ := AcsComPbPzd.PZDIN9 ;
wAcsComPbPzd_PzdIn10\ := AcsComPbPzd.PZDIN10 ;
wAcsComPbPzd_PzdIn11\ := AcsComPbPzd.PZDIN11 ;
wAcsComPbPzd_PzdIn12\ := AcsComPbPzd.PZDIN12 ;