This is the general setup process for myCNC control boards. Please consult the manuals for specific boards on pinout configurations, etc. A number of general questions that may arise during initial setup are answered in the FAQ section of the documentation wiki.
Controller Address: 192.168.4.78 Host Address: 192.168.4.100
or
Controller Address: 192.168.5.10 Host Address: 192.168.5.11
Look here if need to change IP address of controller board
The commands such as M03 (turn spindle ON) and M71 (turn plasma cutter ON) are written with some specified input and output numbers in mind - when the signal is sent to that particular output, or when an input state is changed, an action occurs. However, the particular numbers for these inputs and outputs are not specified in the particular PLC procedures, but rather referred to (for example, a change in some output which is defines as OUT_SPINDLE will change the spindle state from OFF to ON). This is done so that it is not necessary to go through all the relevant PLC procedures when an input needs to be changed. Instead, these inputs are define in the pins.h
file (Settings > Config > PLC > Hardware PLC > pins.h). When setting up the board, consult the pins.h
file to check which input/output is assigned to what action: