XC MODBUS
HMI Settings
Item | Settings | Note |
Protocol | XINJE XC MODBUS | |
Connection | RS232 | |
Baud rate | 19200 | |
Data bit | 8 | |
Parity | EVEN | |
Stop bit | 1 | |
PLC station No. | 1 |
Address List
Type | Device registers | HMI registers | Format | Range | Note |
---|---|---|---|---|---|
Bit | M | M | M d | 0~8511 | |
Bit | X | X | X o | 0~1747 | |
Bit | Y | Y | Y o | 0~1747 | |
Bit | S | S | S d | 0~1023 | |
Bit | T | T | T d | 0~4095 | |
Bit | C | C | C d | 0~634 | |
Word | D | D | D d | 0~8511 | |
Word | TD | TD | TD d | 0~618 | |
Word | CD | CD | CD d | 0~634 | |
Word | FD | FD | FD d | 0~8511 |
Configure the communication protocol
Cable Wiring
Figure
Pin Definition Diagram
XD/XE MODBUS
Supported Series: Xinjie XD Series
HMI Settings
Item | Settings | Note |
---|---|---|
Protocol | XINJE XD/XC MODBUS | |
Connection | RS232 | |
Baud rate | 19200 | |
Data bit | 8 | |
Parity | EVEN | |
Stop bit | 1 | |
PLC station No. | 1 | Need to be same as PLC setting |
Address List
Type | Device registers | Format | Range | Note |
---|---|---|---|---|
Bit | M | MDDDDD | 0~74999 | |
X1xx | X1xxOOOO | 0~1177 | ||
X2xx | X2xxOOO | 0~277 | ||
X | XOO | 0~77 | ||
Y1xx | Y1xxOOOO | 0~1177 | ||
Y2xx | Y2xxOOO | 0~277 | ||
Y | YOOOO | 0~77 | ||
SM | SMDDDD | 0~4999 | ||
T | TDDDD | 0~4999 | ||
C | CDDDD | 0~4999 | ||
ET | ETDD | 0~31 | ||
SE | SEDD | 0~31 | ||
HM | HMDDDDD | 0~11999 | ||
HSC | HSCDD | 0~39 | ||
HS | HSDDD | 0~999 | ||
HT | HTDDDD | 0~1999 | ||
HC | HCDDDD | 0~1999 | ||
S | SDDDD | 0~7999 | ||
Word | D | DDDDDD | 0~69999 | |
ID | IDDD | 0~99 | ||
ID1xx | ID1xxDDD | 0~999 | ||
ID2xx | ID2xxDDD | 0~299 | ||
QD | QDDD | 0~99 | ||
QD1xx | QD1xxDDD | 0~999 | ||
QD2xx | QD2xxDDD | 0~299 | ||
SD | SDDDDD | 0~4999 | ||
TD | TDDDD | 0~575 | ||
CD | CDDDD | 0~575 | ||
ETD | ETDDD | 0~31 | ||
HD | HDDDDDD | 0~24999 | ||
HSD | HSDDDDD | 0~1023 | ||
HTD | HTDDD | 0~95 | ||
HCD | HCDDD | 0~95 | ||
HSCD | HSCDDD | 0~31 | ||
FD | FDDDDD | 0~8191 | ||
SFD | SFDDDDD | 0~5999 | ||
FS | FSDD | 0~47 |
PLC Settings
Create the new project, and select the specific model according to the actual PLC
Program the PLC
Connect PLC with PC through RS232-USB converter cable. Click [Option]-[Software Serial Port Config]-[Communication configuration] to open the PC connection configuration.
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
Remember to click the Status cell of new created Modbus configuration for change the status into "in use", then click OK to exit.
After done the previous steps, it would prompt like the below
Change the PLC communication setup if required. Click [Configure]-[PLC Comm Port Settings]-[Add]-[Modbus]. After parameters are modified, click [Write to PLC].
If wrote to PLC successfully, it would prompt like the below
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]
And then the XDPro ask for which options want to rewrite, and click OK to finish.
If download successfully, it would prompt like the below
Cable Wiring