24.01.2015 Views

PLC Programming

  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix G: Siemens Import<br />

BE, BEA, BEB<br />

BLD, NOP, ***<br />

UW, OW, XOW<br />

KEW, KZW, KZD<br />

SLW, SRW, SLD, RRD, RLD<br />

SPA=, SPB=<br />

SPZ=, SPN=, SPP=, SPM=<br />

TAK<br />

D, I<br />

Most of the formal operand commands<br />

Unconvertible Commands<br />

U, UN, O, ON, S, R, = with the following bit operands: Timer and counter bits (T0.0, C0.0)<br />

L, T with the following operand ranges: Q (expanded periphery)<br />

LC with the following operands: T, C<br />

SV, SS, R, FR with the following operands: T<br />

FR with the following operands: C<br />

Formal operand commands for starting, resetting and releasing timers<br />

All commands with operands from the ranges BA, BB, BS, BT (operating system data).<br />

SPA, SPB with the following operands: OB (works only with certain S5's and certain OBs )<br />

BA, BAB with the following operands: FX<br />

E, EX with the following operands: DB, DX<br />

STP, STS, STW<br />

DEF, DED, DUF, DUD<br />

SVW, SVD<br />

SPO=, SPS=, SPR<br />

AS, AF, AFS, AFF, BAS, BAF<br />

ENT<br />

SES, SEF<br />

B with the following operands: DW, MW, BS<br />

LIR, TIR, LDI, TDI, TNW, TXB, TXW<br />

MAS, MAB, MSA, MSB, MBA, MBS<br />

MBR, ABR<br />

LRW, LRD, TRW, TRD<br />

TSG<br />

LB, TB, LW, TW with the following operands: GB, GW, GD, CB, CW, CD<br />

ACR, TSC<br />

BI<br />

SIM, LIM<br />

If you examine the commands that cannot be converted you will see that they are generally special<br />

commands that are only available on certain CPUs. The standard commands that cannot be<br />

converted to IEC are: loading BCD coded timer or counter values (LC T, LC C), timer types SV and<br />

SS, and resetting timers.<br />

Data Blocks<br />

STEP5 data blocks are converted into POUs (Program Organization Units) that have a header but no<br />

code. This is convenient if the data blocks are used as normal variable ranges but inconvenient if<br />

attempts have been made to manually implement concepts like instance data blocks in the STEP5<br />

program.<br />

Other Problems when Importing from STEP5<br />

CoDeSys V2.3 10-77

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!