iv
• Questions? Call or Text +1-801-658-0015
SUNSTONE CDDP-A USERS GUIDE
Using Modbus Poll ..................................................43
Setup a Connection ...............................................43
Reading Coils ............................................................43
Reading Holding Registers ..................................44
Write Single Coil ......................................................44
Write Single Register .............................................45
Receiving general packet .....................................45
Using Simply Modbus TCP Client .....................46
Setup a Connection ...............................................46
Reading a Coil ...........................................................46
Reading a Holding Register .................................47
Writing to a Single Coil ..........................................49
Writing to a Single Register .................................50
Receiving a general packet .................................51
Chapter 12: Back Panel Connector Details 53
Appendix A: Pin-Out Diagrams .......................54
Appendix B: Warnings and Alarms ................57
Appendix C: Modbus Data Tables ..................60
Supported Function Codes .................................60
Data Structures ........................................................61
Coils .............................................................................61
Discrete Inputs .........................................................62
Holding Registers ....................................................63
Remote Schedule Select Modes ...............64
Weld Head Control Types .............................65
PLC Output Pin Assignments ......................65
PLC INput Pin Assignments .........................65
Input Registers .........................................................66
Comparator Results ...............................................68
File Records ...............................................................68
Raw Data (Example) ..........................................68
Read File Record (20 / 0x14) ..........................69
Response to “Read File Record” ..................69
Read First 4 Time Values .................................69
Response to “First 4 Time Values” ..............70
Read First 4 Time Values and First 4 voltage
Values .....................................................................70
Response to “First 4 Time Values and First 4
Voltage Values”...................................................71
Custom Functions ..................................................72
Schedule Weld Data (8 x 16 bit Registers) 72
Schedule Extra Weld Data (6 x 16 bit
Registers) ..............................................................72
Comparator (28 x 16 bit Registers) .............73
Alarm Settings (12 x 16 bit Registers) ........74
Basic PLC Settings (3 x 16 bit Registers) .75
Comparator Failure and Weld Count (4 x 16
bit Registers) .......................................................75
RSS Mode (1 x bit coil) ....................................75
General Info (16 x 16 bit Registers) .............75
Weld Task States ........................................76
Charge Task States ...................................77
Lock States ...................................................77
Previous Weld Results (17 x 16 bit
Registers) ......................................................77
General Info: Alarm States (5 x 16 bit
Registers) ..............................................................78
Waveform Report General (11 x 16 bit
Registers) ...................................................................79
Emergency Stop States (7 x 8 bit Registers) 79
Basic PLC States (3 x 16 bit Registers) ...........79
RSS States (1 x 8 bit Coil) .....................................79
Network Info (20 x 16 bit Registers) .................80
Modbus Exception Codes ...................................81
CDDP-A Data Specifications Table ...............83