PLC-based online time calculator circuit diagram

Industrial Router Crystal 3.2*2.5mm 3225 26M (26.000MHZ) 12PF 10PPM 20PPM 30PPM
Probe domestic PA50-J straight round head gold-plated needle has an outer diameter of 0.68. The total length of the needle is 16
Photocoupler

ADSL is currently the most widely used broadband access method. Many users use the routing function of ADSL MO-DEM to realize multiple computers sharing Internet timers to share Internet access to reduce Internet access fees. For the various tariff standards provided by the network operators, in addition to the users who use the monthly subscription, there are Internet timing problems.

The general Internet timing is realized by computer timing software. These softwares are all for a single computer connected by dial-up. For the way of using ADSLMODEM routing function to realize multiple computers sharing Internet access, there is still no good timing method. When the ADSL MODEM works in the routing mode, as long as the MODEM power is turned on, the MODEM will automatically dial the connection network. Therefore, to calculate the online time, the power-on time of the ADSL MO-DEM must be calculated.

Src="http://i.bosscdn.com/blog/nophoto.gif" /></p><p>This article describes the use of PLC to create an Internet timing device to monitor and control the sharing time. </p><p>There is an example of sharing Internet access between two computers in a small office. The standard is 240 hours/month, and the usage time is set from 8:00 am to 4:00 pm. </p><p> I. PLC wiring  Here, Schneider's NEZATSX04CD06R8A small PLC (with clock function) and IHMI TSX08H02M two-line Chinese text display are selected. PLC wiring is shown in Figure 1, the power supply is AC220V. The power supply of ADSL MODEM is controlled by the output contact Q0.0 of the PLC. The alarm output is controlled by Q0.1 of the PLC. The timing is controlled by the dual-control switch of the input contact 10.0. The two switches are installed in two offices with computers. There is a corresponding work indicator. When 10.0 is turned on, if the condition is met, Q0.0 is turned on, so that the two offices can turn on or off the power of the ADSL MODEM according to their respective Internet access needs. The HMI text display is powered by DC24V. It is connected to the PLC via the TSX08HMRUNCAB cable and communicates with the NEZA TSX04CD06R8A PLC via the default communication protocol. The daily and monthly usable time is set by the HMI. </p><p>Second, programming</p><p>The main function of the timer is to control the monthly online time of no more than 240 hours, that is, the average daily usage time is no more than 8 hours. The two computers are connected to each other as needed. The time and time of the Internet are basically irregular. They may be staggered or overlapped. Sometimes they may use more than ten hours a day, sometimes only one or two hours a day. In order to properly control the online time, the Internet timer should have the following functions:</p><p>1. Accumulate the online time of the day and display it on the HMI, reset every 24 hours. The reset time is set to 8:00 in the morning;</p><p>2. Accumulate the online time of the month, and calculate the average daily usage time of the current month (the accumulated number of online hours in the current month) / (the number of days in the past) On the HMI, reset once a month, the reset time is 8:00 am on the 1st of each month; 3. If the usage time is more than 8 hours, the alarm will be continued, but it can still be used; 4. If the usage time is more than 8 hours, and The average daily usage time of the month is also more than 8 hours, then the PLC cuts off the power of the MODEM and cannot continue to access the Internet; 5. Shows the remaining hours of Internet access in the current month. </p><p>The ladder diagram of some PLC programs designed according to the above requirements is shown in Figure 2. </p><p>The PLC has a clock function. Through the scheduling module of the PLC, the working time is allowed to be set from 8:00 am to 4:00 pm, and work is prohibited at other times. The system word %SW50-%SW53 is called to display the current time and date. The reset function at 8 o'clock every morning is realized by calling the system word %SW51. The monthly 1-purpose reset function is realized by calling the system word %SW52. Since the PLC only provides the minute pulse signal, and the counter preset value is up to 9999, 240 hours (14400 minutes) per month has exceeded its preset range. Therefore, it is necessary to construct a 10-minute time base generator for calculating the monthly accumulated online time, that is, 240 hours per month is converted to 1440 10 minutes, and the accumulated time per day is no more than 1440 minutes, so %S7 is still used (minute pulse Signal) as the counting time base. In order to facilitate the user's observation, the calculated value of the PLC is *** minutes, *** ten minutes, when sent to the HMI (text display), using the engineering quantity conversion function of the HMI configuration software, converted to *** hours And the format of *** days is displayed. </p><p>Three, instructions for useOpen the routing function of ADSL MODEM, connect a few computers to be connected to the Internet with a five-port HUB (Ethernet Hub), and configure them accordingly. To form a small local area network. When any one of the dual control switches is closed, the output contact Q0.0 of the PLC is turned on, and the ADSL MODEM is connected to the network. The HMI displays the current time and date, the accumulated online time of the day, and the accumulated online time of the current month, and displays the remaining online time of the month in a countdown manner. If the online time exceeds the set time, the alarm light flashes (the alarm light flashes once every second for one minute) or the MODEM power is turned off, and the HMI will display the cause of the error. </p><p><img alt=

Diamond Blade Grinding Machine

Diamond Blade Grinding Machine,Thin Core Drill Segment Grinding Machine,Trapezoidal Large Segment Grinding Machine,Automatic Trapezoidal Big Grinding Machine

Suzhou Mountain Industrial Control Equipment Co., Ltd , https://www.szmountain.com