User Tools

Site Tools


mycnc:global_variables_description

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
mycnc:global_variables_description [2017/09/05 17:44] – created skirillovmycnc:global_variables_description [2017/09/05 20:44] skirillov
Line 13: Line 13:
 Writing Constant value to Register can be made with G10 L80 code. Example - Writing Constant value to Register can be made with G10 L80 code. Example -
 <code>G10 L80 P5525 Q0 (Write 0 to #5525)</code> <code>G10 L80 P5525 Q0 (Write 0 to #5525)</code>
 +
 +
 +===  60010 ===
 +Value written to this registed is used as Modbus ID of device to communicate with
 +
 +=== 60011 ===
 +Writing to this register change Modbus protocol. <code>"0" - Modbus/RTU, 
 +"1" - Modbus/ASCII</code>
 +
 +=== 60012 ===
 +Writing to this register will change RS485/Modbus speed. Available speeds are <code>1200, 2400, 4800, 
 +9600, 19200, 38400, 
 +57600, 115200</code>
 +
 +=== 60013 ===
 +Change UART connection parameters: number of bits (8 or 7), parity (none, odd, even), number of stop bits (1, 2). Data comes in 3 low nibbles. The lowest is stop bits, then parity, then number of bits. Example: <code>0x801=8,N,1
 +0x712=7,O,2
 +0x822=8,E,2</code>
 +
 +
 +=== 60019 ===
 +Writing to register will latch the value in shadow register. Value from shadow register will be used on **write** operation 
 +
 +=== 60020 ===
 +Writing to register will latch **Address to read** in shadow register 
 +
 +=== 60030 ===
 +Writing to register will send value from shadow register to Modbus devive  to address given in written value
 +
 +=== 60031 ===
 +Read from this register will send read inquiry to Modbus device (PLC controller will be in till Regiter value received from Modbus device). Writing to this register will send ready inquiry to Modbus device. The value written is used as Register address to read |
 +
mycnc/global_variables_description.txt · Last modified: 2022/08/04 10:58 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki