One shoot program

Howard

Member
Join Date
Dec 2002
Posts
3
Below is an example of a one shoot program for a Siemens plc.

OB1
AN FO.O
O I32.0
JC PB1

PB1
LKF0
TQW4
S FO.1

I've been supplied with the following flag words: -

FW 50 = 0
FW 52 = C7
FW 54 = 0111 1001

Where would these flag words fit into the above program?
 
Last edited:
Howard,
I can't make any sence from your post. If you are looking for a oneshot in siemens speak here is the one I use.

Decl :In I Bi
Decl :eek:ut Q Bi
Decl :Set I Bi

O =In If the input is an on
0 =Out Or the output
An=Set And set is off
= =Out Turn the output on

O =Out If The output is on
0 =Set or the set is on
A =In And the input is on
= =Set Turn the set on

This sets up as an S5 function block and can be used over and over by just changing the addresses. In S7 there are ladder oneshots or you can write a function like the above FB but all the Declerations will need to be In/out.

Lenny
 

Similar Topics

Hi There I know only search/find the tag and see the status. And later find the other operand which are connected to it. Second is to watch...
Replies
0
Views
1,411
What does the one shoot programming function do?
Replies
2
Views
2,473
Hello, I have a balluff network i/o block, BNI EIP-538-005-z063, and I can't establish a connection with it from my PC or PLC. I tried pinging...
Replies
5
Views
373
Does anyone know of a good person/company that could troubleshoot an electrical problem in a control panel in South Carolina - tomorrow? If...
Replies
9
Views
2,212
I've got motor that ran fine for years, but now it's sarting to overshoot its target position a few times a day. Is this indicative of a motor...
Replies
24
Views
5,828
Back
Top Bottom