CommandWrite input
This edge-triggered input starts the function block operation.
Data type: SAFEBOOL
Initial value: SAFEFALSE
Connection: Connect this input directly or via additional safety-related functions/function blocks as follows:
- Either with a safety-related Boolean variable whose value SAFETRUE represents the status "write recipe file".
- Or with a signal from the safety-related application, which represents the request to write a data set in a recipe file. This can be a signal of a single upstream safety-related function block or the logical connection of signals of several upstream function blocks. For example, an evaluation of the Safety PLC state could be implemented which triggers the FB to write the recipe file before shutting down the Safety PLC or for storing a snapshot of a particular operational state of the safety function.
Constant SAFETRUE or SAFEFALSE values are not permitted.
If the function block is activated (input Activate = TRUE), the possible values at this input lead to the following function block behavior:
Value | Description |
---|---|
SAFETRUE | Request to write data to the data set (file section). After the rising edge, the values to be written are read (within the same Safety PLC cycle) from the PayloadWrite** inputs. The write process itself may take several cycles.If the command is executed successfully, Done switches to SAFETRUE.If an already existing recipe file is modified, the file is then updated with the project CRC of the current project and the serial number of the current Safety PLC. |
SAFEFALSE | No write operation is requested. |