Hello All,
I Have a problème.
I'm begginer on plc S5 Siemens. I load my program, but when i open the PB on list or cont or log there is not program :s
I hope is only a configuration but i dont no
On the uper right coner it's write long 735....
Please can you help me ?
Thanks All
How is the S5 program ?
-
- Posts: 18
- Joined: Mon Nov 17, 2008 5:08 pm
- Location: America
Re: How is the S5 program ?
The S5 v7.xx that you're using only shows 1 segment of code at a time. The line at the bottom of the segment *** means 'end of segment'.
As suggested press page down and you'll see segment 2, then 3 and so on.
As suggested press page down and you'll see segment 2, then 3 and so on.
-
- Posts: 1
- Joined: Sat Nov 02, 2013 1:36 pm
Re: How is the S5 program ?
DB11 is datablock , 256 x 16 bits
You firstly have to call right datablock e.g C DB 11 (if DB11 doesn't exist in PLC if "C DB11" operation will be executed , PLC will go to STOP, so You can create manualy DB with nr. of DW's which You will be using or You can generate DB inside S5 plc program too)
and than do logical operation on DR,DL, DW , Dx.x (bit) or what You want
e.g
C DB11
L DW0
L KM 11111111 00000000
AW
T DW1
You firstly have to call right datablock e.g C DB 11 (if DB11 doesn't exist in PLC if "C DB11" operation will be executed , PLC will go to STOP, so You can create manualy DB with nr. of DW's which You will be using or You can generate DB inside S5 plc program too)
and than do logical operation on DR,DL, DW , Dx.x (bit) or what You want
e.g
C DB11
L DW0
L KM 11111111 00000000
AW
T DW1