LS

Last modified by Devin Chen on 2023/09/19 11:51

LS

XGB Serial

HMI Settings

ItemSettingsNote
ProtocolLS XGB CPU DRIECT 
ConnectionRS232 
Baud rate115200 
Data bit8 
ParityNONE 
Stop bit1 
PLC station No.1 

Address List

TypeDevice registersFormatRangeNote
BitPP DDDD.f0~2047 
MM DDDD.f0~2047 
LL DDDDD.f0~11263 
KK DDDD.f0~2559 
FF DDDD.f0~2047 
SS DDDDD0~12799 
DD DDDDD.f0~32767 
UU FFFF.f0~7f31 
TT DDDD.f0~2047 
CC DDDD.f0~2047 
WordPP DDDD0~2047 
MM DDDD0~2047 
LL DDDDD0~11263 
KK DDDD0~2559 
FF DDDD0~2047 
CC DDDD0~2047 
TT DDDD0~2047 
DD DDDDD0~32767 
NN DDDDD0~21503 
UU FFFF0~7f31 
ZZ DDD0~127 
RR DDDDD0~32767 
ZRZ DDDDD0~32767 
TSTS DDDD0~2047 
CSCS DDDD0~2047 
SS DDDDD0~12799 

Configure the communication protocol

image-20221028174410-1.png

image-20221028174753-2.png

image-20221028181125-4.png

Pin Definition Diagram

image-20221028180930-3.png

XBC Serial

HMI Settings

ItemSettingsNote
ProtocolLS XBC CNet 
ConnectionRS232/RS485 
Baud rate115200 
Data bit8 
ParityNONE 
Stop bit1 
PLC station No.1 

Address List

TypeDevice registersFormatRangeNote
BitPP d0~2047 
MM d0~2047 
LL d0~11263 
KK d0~16183 
FF d0~2047 
DD d0~32767 
RR d0~32767 
UU d0~4095 
WordPP d0~2047 
MM d0~2047 
LL d0~11263 
KK d0~16183 
FF d0~2047 
CC d0~2047 
TT d0~2047 
DD d0~32767 
NN d0~21503 
RR d0~32767 
UU d0~4095 
ZZ d0~127 
SS d0~127 

Configure the communication protocol

image-20220831170807-1.png

image-20220830174733-2.png

PLC Setting:

①PLC Default Parameters:

1.[Network Configuration] → [NevPLC [BOSO Internal Cnet]] → [Basic Settings] → [Connection Settings]→[CH1]Type:RS232C;Baud Rate:115200; Station No:1;[Operation mode]CH1: XGT server
2.[Advanced Settings]: [Data bit]8, [Stop bit]1,[Parity]NONE→[OK].
Note:The serial port parameters should be set depending on field requirements

1.3.png

②PC and PLC connection:

[Online]→[Connection Settings]→[Settng Options] Manual Settng→[Connection Settngs] →Type:USB→[OK]
Please select according to the actual connection between PC and PLC.

1.4.png

Cable Wiring

image-20220830174659-1.png

Pin Definition Diagram

image-20220830173402-8.png

Picture1.png

XGK FEnet(Ethernet)

Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module

HMI Settings

ItemsSettingsNote
ProtocolLG XGK FEnet(Ethernet) 
ConnectionEthernet 
Port No.2004 

Address List

TypeRegisterRangeFormatNote
WordP0~2047P d 
M0~2047M d 
K0~2047K d 
F0~2047F d 
T0~2047T d 
C0~2047C d 
Z0~127Z d 
S0~127S d 
L0~11263L d 
N0~21503N d 
D0~32767D d 
R0~32767R d 
ZR0~65535ZR d 
UxDD0~6331UxDD nnddnn: 0~63, dd: 0~31

✎Note:

  • In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC;
  • The [UxDD] register, defined in the PLC is Ux.dd, x represents the block, and dd represents 0-31 of each block. There are 64 blocks in the PLC;
  • All bit registers are in the form of bits in word, and the range is the same as the word register;

Communication settings in HMI

Enable HMI Ethernet in [Project Settings];

12.PLC Protocol_html_43b671f18153910d.png

Set PLC IP in [Device IP] settings;

12.PLC Protocol_html_a2a19b5003ad4090.png

Cable Wiring

CommonEthernet.png