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

Does anyone have RSLogix 5000 ladder diagram program of tank leveling (factory IO). Fill valve, discharge valve, set point, level, etc? I looked...
Replies
2
Views
127
I am completely stuck on building a ladder program that requires a start button to be pressed 3 times to turn on motor 1. Then motor 2 starts...
Replies
20
Views
488
I'm a beginner in the automation field and I've set up an automation system connecting several devices (datalogger, radio, etc.) via Modbus RS485...
Replies
5
Views
174
Please help me How to B&R 7CP476.60-1 upload program Backup and download which program should I use. Pvi transfer tool.? And how. Thank you
Replies
0
Views
73
Back
Top Bottom