s7 program

Join Date
May 2009
Location
egypt
Posts
43


I have FB104 (TON_FB)

Network1
L #PT_INT
L 0
==I
JCN Time

AN #R
A #IN
= #Q

JU Ende

Time: NOP 0

Network2
L 1000
A #PT_x_1sec
JC Fakt
L 100
A #PT_x_100ms
JC Fakt
L 10
A #PT_x_10ms
JC Fakt
L 1
Fakt: ITD
T #Faktor
Network3
L #PT_INT
ITD
L #Faktor
*D
T #Temp_PT

A #R
JCN Res

L 0
T #Temp_PT

Res: NOP 0


Network4
CALL #TON
IN:=#IN
PT:=#Temp_PT
Q :=#Q
ET:=#ET

Network5
L #ET
L #Faktor
/D
T #ET_INT


Ende: NOP 0


Im port FB50, in network 67 is a called a timer-function FB104.
In the variable there is a time of 5 sec. given, but the port is transporting the signal directly without waiting time, as programmed. In network 65 the same function is programmed and requested, working good, without problems.
 

Similar Topics

So basically i have 2 queries : 1. I have a program file of S7-300 PLC which i want to migrate in RSLogix500.In short i want to convert my simatic...
Replies
13
Views
124
Hi, i am using DVP-14SS2 PLC, after program written to plc, when power is reset, plc doesn't run. always need to connect to pc for the run mode.
Replies
0
Views
25
Hi all, hope you are having a great day, I am in need of your help to create a AOI or program that does this kind of job: I have a IO Link...
Replies
26
Views
483
Hi. I have a 222 CPU. I need to recover the program from the eeprom memory. Is it possible?
Replies
1
Views
99
Can we use a Simotion D455 ethernet port x127 as a gate, to access S7-1500 plc Tia Portal program ? In the Simatic manager, we used Netpro to do...
Replies
2
Views
90
Back
Top Bottom