S5 PLC-FILES

The following S5 PLC Program files have been tested on a Siemens S5 135 928b Processor.

 

They all use the so-called “scratch pad” flags (F200.0 to F255.7),

 

Therefore you must ensure compatibility with your program before using the files.

 

Each program is stored as a Zip file together with a .TXT file giving a brief description.

 

The S5D file also includes a sample “call” of the associated FB in PB1.

 

 

FB1       (CLOCK PULSE GENERATOR).

FB2       (BINARY SCALLER)

FB9       (RESET DB)

FB22     (COMP ><)

FB40     (BITHIGH (DW))

FB50     (BITHIGH (FW))

FB51     (BITHIGH ((FY))

FB52     (MB-RESET)

FB55     (STOERFL)

FB68     (AVERAGES)

FB104   (KF->BCD)

FB105   (COUNTER (DW))

FB106   (COUNTER (DD))

FB120   (STOER0)

FB121   (STOER1)

FB130   (SHIFTREG)

FB133   (DW_FILL)

FB135   (BLOCKTRANSFER (DW TO DW))

FB136   (BLOCKTRANSFER ((FY TO DW))

FB140   (BLOCK LIST)

FB141   (BLOCK EXISTS?)

FB142   (BLOCK LENGTH)

FB145   (BLOCK P/U)

FB173   (SAVE-ZYK (FY/SY TO DR/DL))

FB174   (SAVE-ZYK (IB/QB TO DR/DL))

FB199   (GENERATE DB/DX (928B))

FB200   (GENERATE DB ((928B))

FB216   (READ IN FROM ANALOG CARD ((STORE IN DD))

FB231   (COMPARE DD AGAINST 8 VALUES (IN DW) FOR >)

FB233   (COMPARE DD AGAINST 8 VALUES (IN DW) FOR <)

FB253   (READ IN FROM ANALOG CARD)

FB254   (OUTPUT VALUE TO ANALOG CARD)