52
PLCSTAT
33002515 07/2012
151
Representation in IL
Representation:
CAL PLCSTAT_Instance (PLC_READ:=CopyPLCStatusFlag,
RIO_READ:=CopyRIOStatusFlag,
DIO_READ:=CopyDIOStatusFlag,
PLC_STAT=>PLC_IO_Status, RIO_STAT=>RIO_IO_Status,
DIO_STAT=>DIO_IO_Status)
Representation in ST
Representation:
PLCSTAT_Instance (PLC_READ:=CopyPLCStatusFlag,
RIO_READ:=CopyRIOStatusFlag,
DIO_READ:=CopyDIOStatusFlag,
PLC_STAT=>PLC_IO_Status, RIO_STAT=>RIO_IO_Status,
DIO_STAT=>DIO_IO_Status) ;
PLCSTAT parameter description
Description of the input parameters:
Description of the output parameters:
Parameters
Data type
Meaning
PLC_READ
BOOL
1 = copies the PLC status from the status table to the
output PLC_STAT.
RIO_READ
BOOL
1 = copies the RIO status from the status table to the
output RIO_STAT.
DIO_READ
BOOL
1 = copies the DIO status from the status table to the
output DIO_STAT.
Parameters
Data type
Meaning
PLC_STAT
PLCSTATE,
Contains the PLC status.
RIO_STAT
RIOSTATE,
Contains the RIO status (I/O status) for Quantum
DIO_STAT
DIOSTATE,
Contains the DIO status (I/O communication status)
Note: The name of this output is confusing. This
output only relates to the remote I/O Drop Status
Information (S908) and not to the Distributed I/O
status. To read the distributed I/O status use the
function block DIOSTAT (see page 133).