Xinje

Last modified by Hunter on 2023/09/22 15:23

XC MODBUS

Support Series: Xinjie XC Series

HMI Settings

ItemSettingsNote
ProtocolXINJE XC MODBUS 
ConnectionRS232 
Baud rate19200 
Data bit8 
ParityEVEN 
Stop bit1 
PLC station No.1Need to be same as PLC setting

Address List

TypeDevice registersFormatRangeNote
BitMMDDDD0~8511Internal Relay
XXOOOO0~1747Input Relay
YYOOOO0~1747Output Relay
SSDDDD0~1023Flow
TTDDD0~618Timer
CCDDD0~634Counter
WordDDDDDD0~8511Data Register
TDTDDDD0~618Timer
CDCDDDD0~634Counter
FDFDDDDD0~8511FlashROM Register

PLC Settings

Create the new project, and select the specific model according to the actual PLC

XinjieXCcreatenew.png

Program the PLC

XinjieXCPrg.png

Connect PLC with PC through RS232-USB converter cable. Click [Option]-[Software Serial Port Config] to open the software connection setup window, and select the serial port, if the red text prompt "Connect To PLC Succeeded", which means the connection is setup successfully, then click OK to save the settings.

XinjieXCPCconn.png

Change the PLC communication setup if required. Double click the tree node [PLC Serial Port] from Project tree. And change Modbus parameters, then click [Write to PLC] and OK to finish.

XinjieXCPLCModbusConfig.png

Click [Online]-[Download Program] to download program into PLC. And the download pop up window would pop up, then click OK.

XinjieXCDownloadPLC.png

Cable Wiring

image-20220830154131-2.png

XD/XE MODBUS

Supported Series: Xinjie XD Series

HMI Settings

ItemSettingsNote
ProtocolXINJE XD/XC MODBUS 
ConnectionRS232 
Baud rate19200 
Data bit8 
ParityEVEN 
Stop bit1 
PLC station No.1Need to be same as PLC setting

Address List

TypeDevice registersFormatRangeNote
BitMMDDDDD0~74999Internal Relay
X1xxX1xxOOOO0~1177Extension Module Input Relay
X2xxX2xxOOO0~277BD Card Input Relay
XXOO0~77Input Relay
Y1xxY1xxOOOO0~1177Extenson Module Output Relay
Y2xxY2xxOOO0~277BD Card Output Relay
YYOOOO0~77Output Relay
SMSMDDDD0~4999Special Auxiliary Relay
TTDDDD0~4999Timer
CCDDDD0~4999Counter
ETETDD0~31Precise Timer
SESEDD0~31Function Block WAIT Instruction Special Coil
HMHMDDDDD0~11999Power Off Retentive Internal Relay
HSCHSCDD0~39High Speed Counter
HSHSDDD0~999Power Off Retentive Procedure
HTHTDDDD0~1999Power Off Retentive Auxiliary Relay
HCHCDDDD0~1999Power Off Retentive Counter
SSDDDD0~7999Procedure
WordDDDDDDD0~69999Data Register
IDIDDD0~99Analog Input
ID1xxID1xxDDD0~999Extension Module Analog Input
ID2xxID2xxDDD0~299BD Card Analog Input
QDQDDD0~99Analog Output
QD1xxQD1xxDDD0~999Extension Module Analog Output
QD2xxQD2xxDDD0~299BD Card Analog Output
SDSDDDDD0~4999Data Register
TDTDDDD0~575Timer 
CDCDDDD0~575Counter
ETDETDDD0~31Precise Timer
HDHDDDDDD0~24999Data Register
HSDHSDDDDD0~1023Power Off Retentive Data Register
HTDHTDDD0~95Power Off Retentive Timer
HCDHCDDD0~95Power Off Retentive Counter
HSCDHSCDDD0~31High Speed Counter
FDFDDDDD0~8191FlashROM Register
SFDSFDDDDD0~5999Special Flash Register
FSFSDD0~47Special Data Register

PLC Settings

Create the new project, and select the specific model according to the actual PLC

XinjieXDcreatenew.png

Program the PLC

XinjieXDLDprg.png

Connect PLC with PC through RS232-USB converter cable. Click [Option]-[Software Serial Port Config]-[Communication configuration] to open the PC connection configuration.

XinjieXDopenSWcom.png

New a Modbus configuration, and Click [Comm-Test] to test connection, if shows "Connect To PLC Succeeded", which means PLC connection set up successfully. And click OK to save the settings

XinjieXDPLCtestconn.png

Remember to click the Status cell of new created Modbus configuration for change the status into "in use", then click OK to exit.

XinjieXDclickto.png

After done the previous steps, it would prompt like the below

XinjieXDsuccessprompt.png

Change the PLC communication setup if required. Click [Configure]-[PLC Comm Port Settings]-[Add]-[Modbus]. After parameters are modified, click [Write to PLC].

XinjieXDSetPLCcom0.png

If wrote to PLC successfully, it would prompt like the below

XinjieXDwriteComparadone.png

Click [Online]-[Download Program & Data], and wait for a while, the pop up window would ask for whether to stop PLC, and click [Stop PLC, contitue download]

XinjieXDdownload.png

And then the XDPro ask for which options want to rewrite, and click OK to finish.

XinjieXDdownloadopt.png

If download successfully, it would prompt like the below

XinjieXDcomplete.png

Cable Wiring

Xinjie.gif