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

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

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

Programming in C Language<br />

Draw a Circle CERC<br />

Syntax<br />

void CERC(UINT16 Radius)<br />

Radius: Circle radius (in pixels)<br />

Draw a Diamond LOSA<br />

Syntax<br />

void LOSA(UINT16 Width, UINT16 HalfHeight, UINT16 TotalHeight)<br />

Draw a Clockwise Arc ARCA<br />

Syntax<br />

void ARCA(UINT8 Line_Type, UINT16 Endx, UINT16 Endy, UINT16 Centrex, UINT16 Centrey)<br />

LineType: Type of line to be drawn<br />

Endx, Endy: Coordinates of the end point (in pixels)<br />

Centrex, Centrey: Coordinates of the centre (in pixels)<br />

Draw a Counterclockwise Circle ARCT<br />

Syntax<br />

void ARCT(UINT8 Line_Type, UINT16 Endx, UINT16 Endy, UINT16 Centrex, UINT16 Centrey)<br />

LineType: Type of line to be drawn<br />

Endx, Endy: Coordinates of the end point (in pixels)<br />

Centrex, Centrey: Coordinates of the centre (in pixels)<br />

Draw a Test Icon TEST<br />

Syntax<br />

void TEST(UINT16 HalfBase, UINT16 HalfWidth, UINT16 GHalfHeight, UINT16 Height<br />

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

16

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

Saved successfully!

Ooh no, something went wrong!