Table of Contents - TG Drives
Table of Contents - TG Drives Table of Contents - TG Drives
130 Comm, Serial communication COMM, SERIAL COMMUNICATION Group Group No. Description Comm 17 Serial Communication Interface. GENERAL EXTENDED REGISTER GROUPS The DMC 2 has a serial interface for both programming purposes and for application use. The function of the communication is defined in the Comm group. FUNCTION Comm.Node Comm.Baud Comm.TLines Comm.Mode RELATED ITEMS EEprom.0 EEprom.6 EEprom.7 EXAMPLE USAGE 2 Several DMC ’s can be connected in a ”Daisy Chain” configuration. Each unit must then have a unique address set in the Comm.Node register. The number will be shown in the prompter when using terminal mode. The speed of the communication can be set in Comm.Baud. From Version 4.x support 19200 baud The number of lines shown in the terminal window is set in Comm.TLines where 0 means no limit at all. 2 The DMC can operate in different communication modes. Standard terminal mode is set with Comm.Mode = 0. Version number of system software. Baud rate and node number. Forced run + baud + Comm.Node (baud = BaudMask: 0=75, 1=150, 2=300 aso) Number of lines and communication mode. 256*Comm.Tlines +Comm.Mode EEprom.6 Forced run Baud rate =9600 Node = 8 EEprom.6 = 128 + 16*5+8 EEprom.7 Comm.Tlines = 27 Mode = 3 EEprom.7 = 256*27 + 3 User's Manual 5.1 Inmotion Technologies AB Doc. No.9032 0027 01 (B), Rev. 11.07.2001
EXTENDED REGISTER GROUPS GROUP MEMBERS (GROUP 17) Group.Member Member No. Comm.Mode 0 RW Comm, Serial communication Range Ability Default The Comm.Mode at startup is determined by the LSB of EEprom.7. Useful bits to set are 0, 1, 4 and 7. Set Bit 7 for all nodes in a daisy chain, except for one node. This setting determines the default node to communicate with at startup (i.e. before the first select sequence is sent.) Bit0 (1) Output from PL program disabled. All DISP, error messages, etc. are thrown away. Bit1 (2) Computer mode enabled on serial channel and terminal mode disabled. Bit2 (4) Echo off. Special communication mode is enabled. The unit will not echo characters when typed and the DISP statement will only print the values, not the register name. Bit3 (8) Enables special behaviour of the computer mode protocoll for downloading applicaion SW. Normally the contents of the application memory is cleared by the downloadi process prior to tha actual transfer of new PL2 SW. This bit overides that behaviour so that partial download of PL2 SW is possiblee. Typically this can be used to speed up the dowmload of say a Camtable or another part of an application. The part of SW handled this way must be set to a specific part of the memory by using the .ORG directive. Bit4 (16) Xon/Xoff protocol is enabled. Xoff (Control-S) stops output; Xon (Control-Q) resumes output. If the node is deselected, the output is stopped when Xon/Xoff is enabled; it is thrown away otherwise. Bit5 (32) Output is disabled due to a received Xoff. Bit6 (64) A start of Select is detected (Control-Z) and the controller is now waiting for the next character in the sequence (the node number). Bit7 (128) Node is deselected. No text output can be made at the moment. If an output is attempted (DISP, etc.), the result is thrown away if Bit 4 = 0. If Bit 4 = 1, the result stays in the output buffer. If the output buffer becomes full, the executing DISP statement waits until the node is selected again. Comm.Baud 1 75..19200 RW Supported baud rates are: 75,150, 300, 600, 1200, 2400, 4800, 9600 and 19200. (Only from Version 4.x. The baud rate value is now checked for validity before accepted.) Comm.Node 2 0..15 RW The node number to use when using the daisy-chain option. The initial value used after power up is stored in EEprom.6.Setting User's Manual 5.1 Inmotion Technologies AB Doc. No.9032 0027 01 (B), Rev. 11.07.2001 131
- Page 79 and 80: EXTENDED REGISTER GROUPS REG, PID R
- Page 81 and 82: EXTENDED REGISTER GROUPS GROUP MEMB
- Page 83 and 84: EXTENDED REGISTER GROUPS Positive T
- Page 85 and 86: EXTENDED REGISTER GROUPS Reg, PID r
- Page 87 and 88: EXTENDED REGISTER GROUPS Gear.Incr
- Page 89 and 90: EXTENDED REGISTER GROUPS GROUP MEMB
- Page 91 and 92: EXTENDED REGISTER GROUPS Gear, Elec
- Page 93 and 94: EXTENDED REGISTER GROUPS TMR, SYSTE
- Page 95 and 96: EXTENDED REGISTER GROUPS Tmr, Syste
- Page 97 and 98: EXTENDED REGISTER GROUPS RELATED IT
- Page 99 and 100: EXTENDED REGISTER GROUPS SysIo.ADC1
- Page 101 and 102: EXTENDED REGISTER GROUPS Bit10 (102
- Page 103 and 104: EXTENDED REGISTER GROUPS INT, INTER
- Page 105 and 106: EXTENDED REGISTER GROUPS Bit2 (4) =
- Page 107 and 108: EXTENDED REGISTER GROUPS Int, Inter
- Page 109 and 110: EXTENDED REGISTER GROUPS IN, DIGITA
- Page 111 and 112: EXTENDED REGISTER GROUPS X7A:6. In.
- Page 113 and 114: EXTENDED REGISTER GROUPS X7B:33. Ou
- Page 115 and 116: EXTENDED REGISTER GROUPS GROUP MEMB
- Page 117 and 118: EXTENDED REGISTER GROUPS Vector, In
- Page 119 and 120: EXTENDED REGISTER GROUPS CAPTURE, C
- Page 121 and 122: EXTENDED REGISTER GROUPS CAPTURE, C
- Page 123 and 124: EXTENDED REGISTER GROUPS CAPTURE, C
- Page 125 and 126: EXTENDED REGISTER GROUPS Ana.ConnTM
- Page 127 and 128: EXTENDED REGISTER GROUPS EEPROM Gro
- Page 129: EXTENDED REGISTER GROUPS Bit(0..3)
- Page 133 and 134: EXTENDED REGISTER GROUPS RD1CORR, P
- Page 135 and 136: EXTENDED REGISTER GROUPS OptAD, ana
- Page 137 and 138: EXTENDED REGISTER GROUPS OptAD.7 7
- Page 139 and 140: EXTENDED REGISTER GROUPS LAN1, LOCA
- Page 141 and 142: EXTENDED REGISTER GROUPS WriteLAN1
- Page 143 and 144: EXTENDED REGISTER GROUPS LAN1, Loca
- Page 145 and 146: EXTENDED REGISTER GROUPS LAN1, Loca
- Page 147 and 148: EXTENDED REGISTER GROUPS LAN1.ErrVe
- Page 149 and 150: EXTENDED REGISTER GROUPS MsgObjLAN1
- Page 151 and 152: EXTENDED REGISTER GROUPS isrDone: M
- Page 153 and 154: EXTENDED REGISTER GROUPS MsgObjLAN2
- Page 155 and 156: EXTENDED REGISTER GROUPS Denominato
- Page 157 and 158: EXTENDED REGISTER GROUPS ABIN Group
- Page 159 and 160: EXTENDED REGISTER GROUPS DSTORE, Gr
- Page 161 and 162: EXTENDED REGISTER GROUPS PARAREA, G
- Page 163 and 164: EXTENDED REGISTER GROUPS XENDAT, Gr
- Page 165 and 166: EXTENDED REGISTER GROUPS wait tmr.t
- Page 167 and 168: EXTENDED REGISTER GROUPS XENDAT.Tra
- Page 169 and 170: EXTENDED REGISTER GROUPS XENDAT, Af
- Page 171 and 172: EXTENDED REGISTER GROUPS XENDAT.RPo
- Page 173 and 174: EXTENDED REGISTER GROUPS Counter 0
- Page 175 and 176: EXTENDED REGISTER GROUPS IDENTIFIER
- Page 177 and 178: EXTENDED REGISTER GROUPS >RPDATA.Ar
- Page 179 and 180: EXTENDED REGISTER GROUPS EXAMPLE US
130<br />
Comm, Serial communication<br />
COMM, SERIAL COMMUNICATION<br />
Group Group<br />
No.<br />
Description<br />
Comm 17 Serial Communication Interface.<br />
GENERAL<br />
EXTENDED REGISTER GROUPS<br />
The DMC 2 has a serial interface for both programming purposes and for application<br />
use. The function <strong>of</strong> the communication is defined in the Comm group.<br />
FUNCTION<br />
Comm.Node<br />
Comm.Baud<br />
Comm.TLines<br />
Comm.Mode<br />
RELATED ITEMS<br />
EEprom.0<br />
EEprom.6<br />
EEprom.7<br />
EXAMPLE USAGE<br />
2<br />
Several DMC ’s can be connected in a ”Daisy Chain”<br />
configuration. Each unit must then have a unique address set<br />
in the Comm.Node register. The number will be shown in the<br />
prompter when using terminal mode.<br />
The speed <strong>of</strong> the communication can be set in Comm.Baud.<br />
From Version 4.x support 19200 baud<br />
The number <strong>of</strong> lines shown in the terminal window is set in<br />
Comm.TLines where 0 means no limit at all.<br />
2<br />
The DMC can operate in different communication modes.<br />
Standard terminal mode is set with Comm.Mode = 0.<br />
Version number <strong>of</strong> system s<strong>of</strong>tware.<br />
Baud rate and node number.<br />
Forced run + baud + Comm.Node<br />
(baud = BaudMask: 0=75, 1=150, 2=300 aso)<br />
Number <strong>of</strong> lines and communication mode.<br />
256*Comm.Tlines +Comm.Mode<br />
EEprom.6 Forced run<br />
Baud rate =9600<br />
Node = 8<br />
EEprom.6 = 128 + 16*5+8<br />
EEprom.7 Comm.Tlines = 27<br />
Mode = 3<br />
EEprom.7 = 256*27 + 3<br />
User's Manual 5.1 Inmotion Technologies AB<br />
Doc. No.9032 0027 01 (B), Rev. 11.07.2001