4/21/2016 11:23 AM | |
Joined: 3/14/2008 Last visit: 11/1/2024 Posts: 2121 Rating: (949) |
It looks like the counter is custom made. You can try to put a OP_TRIG (Classic library) or TRIGGER (APL library) in front of the pulse input. See if it counts then. In SFC you only have to set the input value of the trigger block like Input=1, then that signal is automatically reset, so you don't have to set Input=0 in SFC. Are you sure the custom block is working? |
If I could help you, you can use the RATE button. Thank you. |
|
4/21/2016 5:05 PM | |
Posts: 112 Rating: (2) |
Yes you are right Oreca the counter does not work anyway. |
4/21/2016 5:27 PM |
|
Joined: 3/14/2008 Last visit: 11/1/2024 Posts: 2121 Rating: (949) |
OK!, That solves it |
If I could help you, you can use the RATE button. Thank you. |
|
4/29/2016 4:40 PM | |
Joined: 3/14/2008 Last visit: 11/1/2024 Posts: 2121 Rating: (949) |
Hey AGrS, No problem.... Uhm, yes that means you have made relevant changes to the SFC and it must go to stop. Normally, you could make sure that the process is stopped, so the SFC could go to IDLE. But that is not always possible. You have to do this on a moment when the plant is not running (or at least the SFC). When Simatic Manager cannot succeed in reactivating the SFC, something is preventing this. Normally a time of 10sec. is enough to reinitialize the SFC chart. Please see below for a more detailed view on when you can download change (without SFC reinitializing) and when not: Notes on downloading changes ●If the sequencer topology has been changed in the SFC charts/SFC types, for example, steps or transitions have been added, deleted, copied, moved or jump destination has been changed, and if the modified sequencer is active in the AS, these charts or all instances of the type must be disabled. Disabling before the download and enabling after the download is handled by the download program following positive acknowledgment of a prompt. Otherwise, the download is aborted. If you perform the download with the SIMATIC Manager function "Compile and Download Objects", the SFCs are not automatically disabled. In this case, the download will not be performed and an error message is entered in the log. ●Modifications to the interface of the SFC type are transferred to the SFC instances immediately. For this reason, the SFC instances must be disabled during the downloads and execution must be suspended in the CPU. Disabling before the download and enabling after the download is handled by the download program following positive acknowledgment of a prompt. Otherwise, the download is aborted. ●For changed SFC charts/types/instances (SFC properties, sequencer properties, object properties of the step/transitions) whose sequencer topology have not changed, you can download the changes to the CPU in the RUN after compilation without having to deactivate the changed SFC. ●If you have not changed the SFC itself, but only the objects that are accessed (for example, a symbol in the symbol table, runtime groups, block I/O), you do not have to disable the SFC before downloading changes. ●Following a download of changes, a disabled SFC with the "Autostart: on" property is not started automatically but must be started again by the operator (MAN) or using the external view/SFC instance (AUTO). |
If I could help you, you can use the RATE button. Thank you. |
|
This contribution was helpful to1 thankful Users |
Follow us on