alvis Posted February 28, 2014 Report Posted February 28, 2014 (edited) hi all, good day to you... im new with plc program, and im facing some problem... im using gx-work 2 (simple project ladder type) , Q00cpu 1st- how should i create a ladder for time , date (according to real time) ? - switching on every 8am - 11pm? switching off every 11.00pm -8am? 2nd-i have a input module (aj65sbt-64ad) on station 3, connect to 2 diffrent pressure transmitter.(4-20mA) i want to get the averange of the pressure and control the (VSD). Edited February 28, 2014 by alvis
kaare_t Posted February 28, 2014 Report Posted February 28, 2014 You say you use simple project, but which language do you use in GW2 (simple ladder or structured ladder)??
kaare_t Posted February 28, 2014 Report Posted February 28, 2014 You can find clock data in SD1025, SD1026 SD1027 (see picture). In ladder you can compare the minute and hour value against the desired on/off datetime to determine if the output should be on or off (e.g. with >= / <= - LessThan and GreaterThan instructions). To get the average of two inputs, simply add them (+), then divide them by two (/) to get the mean sum.
alvis Posted February 28, 2014 Author Report Posted February 28, 2014 i try it , and im still confuse...don't know how to work this out Can u please show me some example? :clap:
alvis Posted March 1, 2014 Author Report Posted March 1, 2014 is this programm work? or have any other way to make it?
kaare_t Posted March 1, 2014 Report Posted March 1, 2014 I think that should work for the clock, but skip the DMOV in line 3 and replace it with a regular MOV.
kaare_t Posted March 1, 2014 Report Posted March 1, 2014 No problem, let us know if you run into any issues during the programming. Also; you know you can simulate the program without the PLC in hand right? By going to "Debug -> Sart/Stop Simulation"...
alvis Posted March 1, 2014 Author Report Posted March 1, 2014 yup i know about the testing function.... but i never on site before...this is my 1st project... still have alot unknow problem facing on later .... thanks u agains.!! :notworthy:
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now