(function(){
let w = window.innerWidth;
function setHeaderCssVar() {
const headerEle = document.getElementById('shoplaza-section-header');
if(!headerEle){ return };
document.body.style.setProperty('--window-height', `${window.innerHeight}px`);
document.body.style.setProperty('--header-height', `${headerEle.clientHeight}px`);
const mdScorllHideEle = headerEle.querySelector('.header__mobile .header__scroll_hide');
if (mdScorllHideEle) {
document.body.style.setProperty('--header-scroll-hide-height-md', `${mdScorllHideEle.clientHeight}px`);
}
const pcScorllHideEle = headerEle.querySelector('.header__desktop .header__scroll_hide');
if (pcScorllHideEle) {
document.body.style.setProperty('--header-scroll-hide-height-pc', `${pcScorllHideEle.clientHeight}px`);
}
}
function handlResize() {
if(w == window.innerWidth){return};
w = window.innerWidth;
setHeaderCssVar();
};
function init(){
setHeaderCssVar();
window.removeEventListener('resize', window._theme_header_listener)
window._theme_header_listener = handlResize;
window.addEventListener('resize', window._theme_header_listener);
}
init();
})();
${data.index + 1}/6
Description
USB PLC RS232 Multi-function Serial Port Control Relay PC Control Relay Switch DC Delay Timer Relay Module with Case
Specification
One Channel Relay Parameter
value
Product Size
77.8MM*47.5MM*18.8MM
Supply voltage
DC5V, DC12V, DC24V optional
Communication chip
MAX232
Communication format
(9600, 8, NONE, 1) Baud rate: 9600, 8 bits, no parity, 1 stop bit
Communication protocol
Format
use serial port 232 communication to provide the source program of the single-chip microcomputer, which is convenient for everyone to transplant, use the serial port assistant to send the character type A relay to open, and send the character type a relay to close
Special attention
The relay output is a passive contact, and the output is not charged, which controls the on-off function of a line
Two Channel Relay Parameter
Product Size
87.7MM *40.5MM
Supply voltage
DC5V , DC7~DC36V optional
Communication chip
MAX232
Communication format
(9600, 8, NONE, 1) Baud rate: 9600, 8 bits, no parity, 1 stop bit
Communication protocol
Provide the source program of the single-chip microcomputer, which is convenient for everyone to transplant. You can use the serial port assistant to send the character type: A11T relay 1 is open, and A10T relay 1 is closed;