Analysis of SOEM source code of EtherCAT master station -- SM configuration of synchronization manager
This article describes how SOEM(Simple Open Source Master) configures the SM(SyncManager) register of the slave.
Based on SOEM-1.3.1.
1. SM register
SM configuration register starts from 0x800, and each channel uses 8 bytes, as shown in the following figure:
The physical start address and control ...
Posted by shseraj on Thu, 04 Jun 2020 10:22:10 -0700
The solution to the error of PHP connecting MySQL 8.0
After MySQL is upgraded to 8.0, how to solve the problem of PHP connection error?
As a senior MySQL ticket pal, I've been blowing water for 8.0 recently. We know that several MySQL courses have been upgraded to version 8.0 since last year. My VPS has been trying to upgrade for a long time, but the PHP version is too low. I'm worried about ...
Posted by Frank H. Shaw on Wed, 29 Apr 2020 00:54:43 -0700
Four common running modes in php
This article introduces four common ways of running php: CGI, FastCGI, Apache 2 handler and CLI. There is a certain reference value, friends in need can refer to it, hope to help you.
There are four common running modes of PHP: CGI, FastCGI, Apache 2 handler and CLI.
1,CGI
CGI is the common gateway interface, which is a program. Generally speak ...
Posted by ElectricRain on Mon, 20 Apr 2020 23:57:19 -0700
MySQL Builds Handy Database Architecture Notes - Currently there are only monitoring notes
[TOC]
MySQL Create Capable Database Architecture Notes
Database Monitoring
Content to monitor
Monitor the availability of a database: instead of just monitoring the existence of a database process, connect to the database over the network and determine if it is available
Monitor database performance:
QPS
TPS,
Number of concurrent threads,
inn ...
Posted by groovything on Tue, 07 Apr 2020 14:54:18 -0700
XCTF University Battle "Epidemic" Network Security Sharing Contest WEB_WP
Article Directory
XCTF University Battle "Epidemic" Network Security Sharing Competition
easy_trick_gzmtu
webtmp
hackme
fmkq
PHP-UAF
nweb
sqlcheckin
XCTF University Battle "Epidemic" Network Security Sharing Competition
easy_trick_gzmtu
First of all, it's really a good id ...
Posted by jorje on Mon, 09 Mar 2020 19:29:37 -0700
Swoole learning notes: getting started with Hprose
1. What is RPCRPC is a way of communication between processes, the full name is "remote call procedure".When a client sends a request to the server, it is not sent directly to the target server, but to the RPC Server, which schedules it.RPC provides remote calling methods that are no different from calling local methods.
2. Introduct ...
Posted by Eddie Fisher on Sun, 17 Nov 2019 13:45:17 -0800
php7 compile and install PDO ﹣ msql module
Compiling and installing PDO MySQL extension of php7
Note the execution path of all the following codes. If your file is not in the path of the sample code, please execute it in the corresponding path of your own file
The premise is that php7 is already installed using source code. Otherwise, you need to download the source code of PDO MySQL ...
Posted by vornn on Wed, 13 Nov 2019 09:52:47 -0800
Exceptions
nested exception
Before we learn about SPL exceptions, let's take a look at nested exceptions. As the name implies, nested exceptions are nested inside the Exception. An Exception is thrown, and an Exception is thrown after the catch arrives. In this case, nested exceptions can be obtained by the getPrevious method of the Exception base class;
...
Posted by mdowling on Fri, 08 Nov 2019 10:15:14 -0800
Compatibility of Logic Operators of SQL Statements "AND", "&&"
Recently, I plan to transfer my blog to the typecho platform and choose a theme that I personally prefer. Akina for Typecho Theme Template Thank you for the open source sharing of the theme, but there was a "500 Database Query Error" problem at the beginning of the use process.Add the following code at the beginning of the index.php f ...
Posted by phpCCore Brad on Sun, 06 Oct 2019 09:15:08 -0700
Three Ways of Laravel 5 Operating Database
1. DB facade (original lookup)
// query
$objectArray=DB::select('select * from student');
foreach ($objectArray as $obj){
echo $obj->id;
}
// insert
$bool=DB::insert('insert into student(name,age) values(?,?)',['tom',18]);
// modify
$num=DB::update('update student se ...
Posted by jboy6t9 on Mon, 30 Sep 2019 01:06:13 -0700