Table 3-3 Variables In Command And Status Word - Siemens SIMATIC FC 45 Function Manual

Sensors
Table of Contents

Advertisement

Parameterizing
3.1 Parameter data block
Table 3-3
Variables in command and status word
Variable
cancel
command_start
repeat_command
init_run
ASM_failure
FC45_active
ANZ_next
ANZ_reset
3-8
Description
True
= Interrupts a running command or a command chain. FC 45 then sets the "ready"
variable.
MOBY U/D: The cancel variable is not available. A command termination must be executed
via the init_run variable.
True
= Starts a command or a command chain
True
= Command repetition: The last command or command chain stored on the interface
module is processed again with the next MDS. Command processing for the MDS is not
started until the MDS, which has already been processed, has left the transmission window
(ANZ_MDS_present = 0) and a new MDS has entered the transmission window of the
write/read device (ANZ_MDS_present: 0 → 1).
False
= No command repetition or command repetition is stopped after the command started
with the repeat command has been processed. Remember that this bit must be reset by the
user to stop command repetition. The result of command repetition is fetched when
command_start is set by the user.
repeat_command is not automatically reset by the FC 45 after command processing.
The init_run and cancel commands reset the repeat_command variable. This also interrupts a
command repetition on the ASM. repeat_command can be set again by the application with
the next command_start.
Handling of command repetition is described in Section "Command repetition".
True
= Restart interface module FC 45 is reset and the interface module is initialized. All data
and commands on the ASM are lost. This bit must be set in the restart OB (OB 100) for each
MOBY channel or interface module.
After a MOBY-ASM failure, error_MOBY=0F is signaled to the user. The user must then
execute an init_run.
Note:
The init_run bit is initialized with TRUE when a parameter data block is downloaded from
the programming device to SIMATIC. This causes an automatic new start for the ASM.
The execution time of init_run is normally in the millisecond range. In the event of an error,
the time may be up to 40s.
True
= The ASM has failed. This bit is set by the user in OB 122 (see Section "Programming
a module failure"). FC 45 signals an error to the user (error_FC = 09) and interrupts a
command in progress. If OB 122 is not programmed by the user, the PLC switches to the
STOP state on an interface module failure.
FC 45 is currently executing a command. This variable is set when the command is started
(command_start=True) and remains active until
FC 45 has received the last acknowledgment from ASM.
the init_run bit has been set
The Cancel bit was set.
An error message was reported from the ASM.
This bit is set when the last command executed was a NEXT command.
This bit indicates that the last command to be executed was a RESET. The RESET command
was started by the user with "init_run."
Function manual, Release 03/2006 , J31069-D0167-U001-A2-7618
FC 45

Advertisement

Table of Contents
loading

Table of Contents