siemens step 5 function blocks

...This time my wife comes along and replaces the coins my brother gave me with some more coins,...

Paul, you're telling me that your wife came along and PUT MONEY in YOUR hand!!! You have to let me know how you pulled that one off. :confused:

Keith
 
Cheers guys, i'm sure i will have loads of questions to throw at you. But in the mean time have a 🍺 on me.
Its good this i don't even have to part with any money. :D
 
hello sir i want to know only

when i Load a
:A I 32.3
:L KF +46
:T PW 36
:BE

KF (+46) Value Is in Hex Or Dec Or Oct
wahst this value
please tell me this is in Hex Or Dec
And Y We ptting Here + With 46
thanks
 
zafarltc said:
hello sir i want to know only

when i Load a
:A I 32.3
:L KF +46
:T PW 36
:BE

KF (+46) Value Is in Hex Or Dec Or Oct
wahst this value
please tell me this is in Hex Or Dec
And Y We ptting Here + With 46
thanks

definition of constants:

constants_1.jpg


KF is a signed fixed point integer, so it is DECIMAL and it is +

Ian
 
sir, if possible to monitor in my computer the word PW, example PW36., which it was in interupt signal, I35.0 and/or I35.1. We are using the S5 PLC CPU 95U.
 
Last edited:
zafarltc said:
hello sir i want to know only

when i Load a
:A I 32.3
:L KF +46
:T PW 36
:BE

KF (+46) Value Is in Hex Or Dec Or Oct
wahst this value
please tell me this is in Hex Or Dec
And Y We ptting Here + With 46
thanks


If the above code is meant to be conditional loading of 46 into PW 36, it is not. You will load 46 into PW 36 no matter what the state of I 32.3.

The following is conditional

Code:
:AN I 32.3
:BEC
:L KF +46
:T PW 36
:BE
 
Last edited:
zafarltc said:
sir, if possible to monitor in my computer the word PW, example PW36., which it was in interupt signal, I35.0 and/or I35.1. We are using the S5 PLC CPU 95U.

You cannot monitor a PW, the common way to do it is to load the value into a FW and then transfer that FW into the PW, then monitor the FW.
 

Similar Topics

Hi, is it possible to read the name of the steps in an S7 Graph sequencer? In the parameterinterface there is, for example the parameter #S_NO...
Replies
21
Views
7,210
I have recently encountered a problem with a Function Call being know how protected. I cannot not open the Function Call to edit the ladder logic...
Replies
5
Views
7,812
I am having problems understanding a program i am trying to troubleshoot. The reason why i am having difficulty is because its written in function...
Replies
1
Views
9,276
Good Morning, Hoping someone with some Siemens experience can give me a hand with this one. Customer has a S7-200 cpu, which has a 6GK7...
Replies
0
Views
253
I'm just trying to figure out the right method of adding a DO card to an existing rack. It's not the *next* open slot, but I have to move the AO...
Replies
5
Views
557
Back
Top Bottom