S7-1200/TIA v18: S7's equivalent of Mitsubishi PLF command...

Mas01

Member
Join Date
Oct 2020
Location
Leicester, England
Posts
1,109
Does anyone know the S7 equivalent of the Mitsubishi Q-Series command PLF?
PLF is a one-cycle pulse on the falling edge of the input signal.
See picture for example.
In my case, on the falling edge of the "save button", I want to generate a pulse - when it's TRUE, I want to subtract one real value from another, but I only perform this subtraction when the pulse is TRUE.

I *think* the command I need is N_TRIG, but I'm not sure.
Thanks

PLF example Mitsubishi.PNG pulse command to add.jpg
 
Last edited:
edited.
If you just want to have the oneshot in the same rung, then it is the -|N|- that you see in the instructions window. Instead of the -||- contact with the save button, change it to the -|N|-
If you want to create a oneshot impulse to use in another rung, it is the -(N)-
 
Last edited:
edited.
If you just want to have the oneshot in the same rung, then it is the -|N|- that you see in the instructions window. Instead of the -||- contact with the save button, change it to the -|N|-
If you want to create a oneshot impulse to use in another rung, it is the -(N)-

Awesome, cheers for this @JesperMP. It's working.
 
Follow-on question:

In monitor mode can you actually see it change or is it just too quick for the eye? I realise it's a oneshot.
Seems that the output "Calc Diff" is stuck on FALSE even when the input (per the description) changes from 1 to 0.

TagOut can you see it change in Monitor mode or not.png set N command.png
 
Last edited:
The pulse will be too short to see - if the subtraction has taken place then you know that it works.
 

Similar Topics

See the attached pic ("workflow"). I want to create 2 workflows, depending on if the person who's just logged in is an OPERATOR or an ADMIN...
Replies
17
Views
2,477
...and I agree. Context: TIA Portal/HMI = KTP1200 (12" screen) In the attached redacted image, the values in the white boxes are entered by the...
Replies
10
Views
714
Hello PLC Friends, I'm starting my final year project with a given rig and I'm thinking about incorporating a remote access feature where I can...
Replies
2
Views
369
Good, Code Totalizer: IF ( Hour = 23) and ( Minute = 59) and ( Second = 59) THEN totalizerDay_previous : = totalizerDay; totalizerDay= 0; End_IF...
Replies
8
Views
1,567
Good day, everyone, We're trying to establish an S7 connection on ethernet between an S7-400 CPU and a new S7-1200 CPU (which is defined as slave...
Replies
10
Views
2,627
Back
Top Bottom