15.07.2013 Views

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Programming in C Language<br />

End a Critical Section CSEND<br />

Syntax<br />

void CSEND(void)<br />

Start a %TF Task TFSTART<br />

Syntax<br />

SINT32 TFSTART(UINT16 tf_number)<br />

Stop a %TF Task TFSTOP<br />

Syntax<br />

STIN32 TFSTOP(UINT16 tf_number)<br />

Suspend a %TF Task for n PLC Cycles WHTR<br />

Syntax<br />

16.4.9.10 General Purpose Functions<br />

void WHTR(UINT16 n)<br />

The operation and parameters of these <strong>function</strong>s are the same as for the corresponding Ladder <strong>function</strong>s (see<br />

Chapter 6).<br />

Update Analogue Output 0 CNA0<br />

Syntax<br />

void CNA0(SINT16 value)<br />

Update Analogue Output 1 CNA1<br />

Syntax<br />

void CNA1(SINT16 value)<br />

en-938846/7 16 - 23<br />

16

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

Saved successfully!

Ooh no, something went wrong!