example of Basic turbo C program in PLC Programming
AELEXIAN EMPIRE :: ELECTRONIC CATEGORY :: Microcontroller/Microprocessor Unit Projects and Programming
Page 1 of 1 • Share •
example of Basic turbo C program in PLC Programming
basic program lng ni hah..
kamu na bahala mag-edit or magdungag kng gusto ninyu usbon..kng pila ka output once na RUN na ang program..
example given: ...
________________________________________________________________________________
_________________________________________________________________________________
now kanang 02 mao na xa ang indication kng unsa ang pin hole sa LPT port kng DB9/serial port xa or DB25/Parallel port/Printer port ang gamitan ninyu
01 = pin2 of DB25 or DB9
02 = pin3 of DB25 or DB9
04 = pin4 of DB25 or DB9
08 = pin5 of DB25 or DB9
10 = pin6 of DB25 or DB9
20 = pin7 of DB25 or DB9
40 = pin8 of DB25 or DB9
80 = pin9 of DB25 or DB9
hope na getz nyu ang Basic Programming (^_^),V,,
kamu na bahala mag-edit or magdungag kng gusto ninyu usbon..kng pila ka output once na RUN na ang program..
example given: ...
________________________________________________________________________________
#include<stdio.h>
#include<conio.h>
#include<dos.h>
main( )
{
clrscr( );
printf("conveyor is turning on"); --------------------------------------------------->>>> optional na ni xa
outportb(0x378,0x02);
delay(10000);
getch( );
}
_________________________________________________________________________________
now kanang 02 mao na xa ang indication kng unsa ang pin hole sa LPT port kng DB9/serial port xa or DB25/Parallel port/Printer port ang gamitan ninyu
01 = pin2 of DB25 or DB9
02 = pin3 of DB25 or DB9
04 = pin4 of DB25 or DB9
08 = pin5 of DB25 or DB9
10 = pin6 of DB25 or DB9
20 = pin7 of DB25 or DB9
40 = pin8 of DB25 or DB9
80 = pin9 of DB25 or DB9
hope na getz nyu ang Basic Programming (^_^),V,,

ultrasonic™- Admin

- Posts: 1156
Join date: 2010-08-19
Age: 26
Location: Davao City
Re: example of Basic turbo C program in PLC Programming
Reply by mayalin143 on February 13, 2010 at 9:33am
nA miSS kO tULoy aNg bAsiC pRogRamMiNg
Reply by jesrel sajulga on February 13, 2010 at 12:53pm
w0w nice one dex........./ salamat ^_^
Reply by nathalyn gyn cabusas on February 20, 2010 at 5:25pm
kuya mangayo k ig source code?
Reply by Piezo on February 24, 2010 at 7:17pm
EXAMPLE OF A BASIC SOURCE CODE ARE POSTED ABOVE
Reply by P-I-C on March 4, 2010 at 1:57pm
hindi naman hinihingi ang source code, kosa mo na lang yan nakukuha pagkatapos mong mag-program o mapa RUN ang program

ultrasonic™- Admin

- Posts: 1156
Join date: 2010-08-19
Age: 26
Location: Davao City
Similar topics» A Fortran 90 chess program (not Winboard or UCI)
» kerbal space program download ships
» Basic Territory Tactics
» AutoCAD 2D Basic - Plotting Exercise
» [NEED HELP]Visual Basic Aion Graphic Launcher
» kerbal space program download ships
» Basic Territory Tactics
» AutoCAD 2D Basic - Plotting Exercise
» [NEED HELP]Visual Basic Aion Graphic Launcher
AELEXIAN EMPIRE :: ELECTRONIC CATEGORY :: Microcontroller/Microprocessor Unit Projects and Programming
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum



