Sicherheit4
Anschlüsse und Anzeigen am RJ 45 Modul4
Anschlüsse und Anzeigen am M12 Modul5
Eigenschaften der Datenübertragung6
Konfigurationsparameter6
Roboter-Interface konfigurieren8
Funktion DIP Schalter8
Konfiguration der Prozessdaten-Breite8
Knotenadresse einstellen mit DIP-Schalter(Beispiel)8
IP-Adresse einstellen10
Die Webseite der Stromquelle10
SmartManager der Stromquelle aufrufen und anmelden10
Ein- und Ausgangssignale12
Datentypen12
Modbus Startadresse12
Verfügbarkeit der Eingangssignale12
Eingangssignale (vom Roboter zur Stromquelle)12
Wertebereich Working mode17
Wertebereich Processline selection17
Wertebereich TWIN mode18
Wertebereich Documentation mode18
Wertebereich Process controlled correction18
Verfügbarkeit der Ausgangssignale19
Ausgangssignale (von der Stromquelle zum Roboter)19
Zuordnung Sensorstatus 1-422
Wertebereich Safety status22
Wertebereich Process Bit23
Fehlbedienung und fehlerhaft durchgeführte Arbeiten können schwerwiegende
Personen- und Sachschäden verursachen.
Alle in diesem Dokument beschriebenen Arbeiten und Funktionen dürfen nur
von geschultem Fachpersonal ausgeführt werden, wenn folgende Dokumente
vollständig gelesen und verstanden wurden:
dieses Dokument
▶
die Bedienungsanleitung des Roboterinterface “RI FB Inside/i“
▶
sämtliche Dokumente der Systemkomponenten, insbesondere Sicherheits-
▶
vorschriften
(1)TX+
(2)TX-
(3)RX+
(6)RX-
(4)Normalerweise nicht verwen-
(5)
(7)
(8)
det; um die Signalvollständigkeit sicherzustellen, sind diese Pins miteinander verbunden und enden über einen Filterkreis am Schutzleiter (PE).
(9)LED Verbindung/Aktivität 2
(10)LED Modulstatus
(11)RJ 45 Ethernet Anschluss 2
(12)RJ 45 Ethernet Anschluss 1
(13)LED Verbindung/Aktivität 1
(14)LED Netzwerkstatus
LED Netzwerkstatus:
StatusBedeutung
Auskeine IP-Adresse oder Ausnahmezustand
Leuchtet grünmindestens eine Modbus-Nachricht erhalten
Blinkt grünwartet auf die erste Modbus-Nachricht
Leuchtet rotIP-Adressen-Konflikt, schwerer Fehler
Blinkt rotVerbindungs-Timeout. Innerhalb des definierten Zeit-
raumes „Prozess aktiv Timeout“ wurde keine ModbusNachricht erhalten
Bei einigen Roboter-Steuerungen kann es erforderlich sein die hier beschriebenen Konfigurationsparameter anzugeben, damit das Busmodul mit dem Roboter
kommunizieren kann.
ParameterWert
Vendor NameFronius International GmbH
Product Code0301
hex
(769
dec
)
ParameterWert
Major / Minor Revisi-onV1.00
Vendor URLwww.fronius.com
Product Namefronius-fb-inside-modbus-2p
Model NameFronius Modbus-TCP-2-Port
User Application Na-meFronius welding controller for the series TPS/i
with Modbus-TCP-2-Port
DE
7
Roboter-Interface konfigurieren
(1)
(2)(3)
ON
OFF
Funktion
DIP Schalter
Konfiguration
der Prozessdaten-Breite
Der DIP‑Schalter (1) am Roboter-Interface RI FB Inside/i dient zur Einstellung
der Prozessdaten-Breite
-
der Knotenadresse / IP-Adresse
-
Werksseitig sind alle Positionen des
DIP‑Schalters in der Stellung OFF (3).
Das entspricht dem binären Wert 0.
Die Stellung ON (2) entspricht dem
binären Wert 1.
DIP-Schalter
87654321Konfiguration
OFFOFF------
Standard Image
320 Bit
Knotenadresse
einstellen mit
DIP-Schalter
(Beispiel)
OFFON------
ONOFF------
Umfang abhängig von Busmodul
Economy Image
128 Bit
Retro Fit
ONON------Nicht verwendet
Über die Prozessdaten-Breite wird der Umfang der übertragenen Datenmenge
definiert.
Welche Datenmenge übertragen werden kann ist abhängig von
der Roboter-Steuerung
-
der Anzahl der Stromquellen
-
der Art der Stromquellen
-
„Intelligent Revolution“
-
„Digital Revolution“ (Retro Fit)
-
DIP-Schalter
87654321Knotenadresse
--OFFOFFOFFOFFOFFON1
--OFFOFFOFFOFFONOFF2
--OFFOFFOFFOFFONON3
--ONONONONONOFF62
--ONONONONONON63
8
Die Knotenadresse wird mit den Positionen 1 bis 6 des DIP-Schalters eingestellt.
Die Einstellung erfolgt im Binärformat. Das ergibt einen Einstellbereich von 1 bis
63 im Dezimalformat
HINWEIS!
Nach jeder Änderung der DIP-Schalter Einstellungen ist ein Neustart des Interface durchzuführen damit die Änderungen wirksam werden.
(Neustart = Unterbrechen und Wiederherstellen der Spannungsversorgung
oder Ausführen der entsprechenden Funktion auf der Webseite der Stromquelle)
DE
9
IP-Adresse ein-
3
2
1
4
xx.x.xxx.x
1.9.0-16501.9508
stellen
Bei Auslieferung ist über den DIP-Schalter die Knotenadresse 0 eingestellt.
Das entspricht folgenden IP-Einstellungen:
IP-Adresse: 0.0.0.0
-
Subnet-Mask: 0.0.0.0
-
Default-Gateway: 0.0.0.0
-
Die IP-Adresse kann auf 2 Arten eingestellt werden:
mit dem DIP-Schalter im Bereich 192.168.0.xx
-
(xx = DIP-Schalterstellung = 1 bis 63)
wenn der DIP-Schalter auf 0 steht über folgende Konfigurationstools:
-
über die Webseite der Stromquelle
-
HINWEIS!
Wird die IP-Adresse mit dem DIP-Schalter wieder größer 0 gesetzt, ist nach
dem nächsten Neustart des Roboter-Interface die entsprechende IP-Adresse
im Bereich 1 bis 63 eingestellt.
Eine zuvor von einem Konfigurations-Tool eingestellte Knotenadresse wird überschrieben.
HINWEIS!
Wurden bereits Einstellungen vorgenommen gibt es 2 Arten um alle NetzwerkEinstellungen auf Auslieferungszustand zurückzusetzen:
Alle DIP-Schalter wieder auf 0 setzen oder
▶
mit dem Button Restore factory settings auf der Webseite der Stromquelle
▶
Die Webseite der
Stromquelle
SmartManager
der Stromquelle
aufrufen und anmelden
Die Stromquelle verfügt über eine eigene Webseite, den SmartManager.
Sobald die Stromquelle in einem Netzwerk integriert ist, kann der SmartManager
über die IP-Adresse der Stromquelle aufgerufen werden.
Abhängig von Anlagenkonfiguration und Software-Erweiterungen enthält der
SmartManager folgende Einträge:
Übersicht
-
Update
-
Screenshot
-
Sichern & Wiederherstellen
-
Funktionspakete
-
Job-Daten
-
Kennlinienübersicht
-
RI FB INSIDE/i
-
10
Voreinstellungen / System / Information ==> IP-Adresse der Stromquelle no-
1
tieren
IP-Adresse im Suchfeld des Browsers eingeben
Ausgangssignale
(von der Stromquelle zum Roboter)
Adresse
relativabsolut
Die nachfolgend angeführten Ausgangssignale sind ab Firmware V2.3.0 bei allen
Inside/i-Systemen verfügbar.
Prozess-
Image
DE
WORD
0
BYTE
BIT
00Heartbeat PowersourceHigh/Low1 Hz
11Power source readyHigh
22WarningHigh
33Process activeHigh
0
44Current flowHigh
55Arc stable- / touch signalHigh
66Main current signalHigh
77Touch signalHigh
08Collisionbox activeLow
19Robot Motion ReleaseHigh
210Wire stick workpieceHigh
311—
1
412Short circuit contact tipHigh
513
BIT
Signal
Parameter selection internally
Aktivität /
Datentyp
High
Bereich
0 = Kollisi-
on oder
Kabel-
bruch
Standard
Faktor
üü
Economy
614
715Torch body grippedHigh
Characteristic number
valid
High
19
Adresse
relativabsolut
Prozess-
Image
WORD
1
BYTE
BIT
016
117Correction out of rangeHigh
218—
319LimitsignalHigh
2
420—
521—
622Main supply statusLow
723—
024Sensor status 1High
125Sensor status 2High
226Sensor status 3High
327Sensor status 4High
3
428—
529—
630—
BIT
Signal
Command value out of
range
Aktivität /
Datentyp
High
Bereich
Siehe Tabelle Zu-
ordnung Sensorsta-
tus 1-4 auf Seite
22
Faktor
Standard
üü
Economy
731—
032—
133—
234—
335Safety status Bit 0HighSiehe Tabelle Wer-
4
436Safety status Bit 1High
537—
638NotificationHigh
2
739System not readyHigh
040—
141—
242—
343—
5
444—
545—
646—
tebereich Safety
status auf Seite 22
üü
20
747—
Adresse
relativabsolut
Prozess-
Image
DE
WORD
3
BYTE
BIT
048Process Bit 0High
149Process Bit 1High
250Process Bit 2High
351Process Bit 3High
6
452Process Bit 4High
553—
654Touch signal gas nozzleHigh
755
056
157
258
359
7
460
BIT
Signal
TWIN synchronization
active
ExtOutput1 <= OPT_Input1
ExtOutput2 <= OPT_Input2
ExtOutput3 <= OPT_Input3
ExtOutput4 <= OPT_Input4
ExtOutput5 <= OPT_Input5
Aktivität /
Datentyp
High
High
High
High
High
High
Bereich
Siehe Tabelle Wer-
tebereich Process
Bit auf Seite 23
Faktor
Standard
üü
Economy
561
662
763
80-764-71
4
90-772-79
100-780-87
5
110-788-95
120-796-103
6
130-7104-111
140-7112-119
7
150-7120-127
160-7128-135
8
170-7136-143
180-7144-151
9
190-7152-159
ExtOutput6 <= OPT_Input6
ExtOutput7 <= OPT_Input7
ExtOutput8 <= OPT_Input8
Welding voltageUINT16
Welding currentUINT16
Wire feed speedSINT16
Actual real value for
seam tracking
Error numberUINT16
Warning numberUINT16
High
High
High
UINT16
0,0 bis
655,35 [V]
0,0 bis
6553,5 [A]
-327,68
bis 327,67
[m/min]
0 bis
6,5535
0 bis
65535
0 bis
65535
100
10
100
10000
1
1
üü
üü
üü
üü
ü
ü
21
Adresse
relativabsolut
Prozess-
Image
WORD
BYTE
BIT
200-7160-167
10
210-7168-175
220-7176-183
11
230-7184-191
240-7192-199
12
250-7200-207
260-7208-215
13
270-7216-223
280-7224-231
14
290-7232-239
300-7240-247
15
310-7248-255
320-7256-263
16
330-7264-271
BIT
Signal
Motor current M1SINT16
Motor current M2SINT16
Motor current M3SINT16
—
—
—
Wire positionSINT16
Aktivität /
Datentyp
Bereich
-327,68
bis 327,67
[A]
-327,68
bis 327,67
[A]
-327,68
bis 327,67
[A]
-327,68
bis 327,67
[mm]
100
100
100
100
Faktor
Standard
Economy
ü
ü
ü
ü
ü
ü
ü
340-7272-279
17
350-7280-287
360-7288-295
18
370-7296-303
380-7304-311
19
390-7312-319
Zuordnung Sensorstatus 1-4
Wertebereich
Safety status
—
—
—
SignalBeschreibung
Sensor status 1OPT/i WF R Drahtende (4,100,869)
Sensor status 2OPT/i WF R Drahtfass (4,100,879)
Sensor status 3OPT/i WF R Ringsensor (4,100,878)
Sensor status 4Drahtpufferset CMT TPS/i (4,001,763)
Bit 1Bit 0Beschreibung
00Reserve
ü
ü
ü
22
01Halt
10Stopp
Bit 1Bit 0Beschreibung
Wertebereich
Process Bit
11Nicht eingebaut / aktiv
Bit 4Bit 3Bit 2Bit 1Bit 0Beschreibung
00000kein Prozess oder Parameteranwahl
intern
00001MIG/MAG Puls-Synerigc
00010MIG/MAG Standard-Synergic
00011MIG/MAG PMC
00100MIG/MAG LSC
00101MIG/MAG Standard-Manuell
00110Elektrode
00111WIG
01000CMT
01001ConstantWire
DE
23
Ein- und Ausgangssignale Retrofit Image
Eingangssignalevom Roboter zur Stromquelle
gültig ab Firmware V1.9.0
HEX
AdresseSignalTypBereich / Einheit
F000
F001
Control Flag Group 1
Bit 0 to 7Process active timeoutByte[ms]10
Bit 8 to 15Reserved
Control Flag Group 2
Bit 0Welding startBoolean
Bit 1Robot readyBoolean
Bit 2Source error resetBoolean
Bit 3Gas testBoolean
Bit 4Wire inchingBoolean
Bit 5Wire retractBoolean
Bit 6Torch blow outBoolean
Bit 7Welding simulationBoolean
Bit 8Touch sensingBoolean
Bit 9Reserved
Bit 10SFI onBoolean
Faktor
Bit 11Synchro pulse onBoolean
Bit 12 to
13
Bit 14Power full rangeBoolean
Bit 15Reserved
F002Control Flag Group 3
Bit 0 to 15Reserved
F003Control Flag Group 4
Bit 0 to 15Reserved
F004Control Flag Group 5
Bit 0 to 15Reserved
F005Control Flag Group 6
Bit 0 to 15Reserved
F006Control Flag Group 7
Bit 0 to 15Reserved
F007Control Flag Group 8
Bit 0 to 15Reserved
Reserved
24
HEX
AdresseSignalTypBereich / Einheit
F008
Operating mode
Faktor
DE
F009Job numberByte0 bis 255
F00AProgram numberByte0 bis 127
F00BPowerWord0 bis 65535
F00CArc length correctionWord0 bis 65535
F00DPulse-/dynamic correctionByte0 bis 255
F00EReserved
F00FReserved
F010Reserved
F011Reserved
F012Reserved
Bit 0Operating mode 0Boolean
Bit 1Operating mode 1Boolean
Bit 2Operating mode 2Boolean
Bit 3Operating mode 3Boolean
Bit 4-15ReservedBoolean
Siehe Tabelle
Wertebereich
Betriebsart auf
Seite 25
(0 bis 100%)
(-10 bis +10%)
(-5 bis +5%)
F013Reserved
F014Reserved
F015Reserved
F016Reserved
F017Reserved
F018Reserved
F019Reserved
F01AReserved
F01BReserved
F01CReserved
F01DReserved
F01EReserved
Wertebereich
Betriebsart
Bit
4-15
Bit 3Bit 2Bit 1Bit 0Beschreibung
-0000MIG Standard
-0001MIG Puls
-0010Job Betrieb
-0011
Parameteranwahl intern/Sonder 2Takt
25
Bit
4-15
-0100Synergic Betrieb/Sonder 2-Takt
-0101Synergic Betrieb/Sonder 2-Takt
-0110MIG Standard manuell
-0111Synergic Betrieb/Sonder 2-Takt
-1000MIG LSC
-1001MIG PMC
Bit 3Bit 2Bit 1Bit 0Beschreibung
26
Ausgangssignalevon der Stromquelle zum Roboter
gültig ab Firmware V1.9.0
HEX
Adres
sSignalType
F100Status Flag Group 1
Range /
Unit
DE
Factor
F101
Bit 0 to
15
Status Flag Group 2
Bit 0Communication readyBoolean
Bit 1Power source readyBoolean
Bit 2Arc stableBoolean
Bit 3Process activeBoolean
Bit 4Main current signalBoolean
Bit 5Torch collision protectionBoolean
Bit 6Wire stick controlBoolean
Bit 7Wire availableBoolean
Bit 8Short circuit timeoutBoolean
Bit 9Power out of RangeBoolean
Bit 10 to11-Boolean
Bit 12Limit signal HighBoolean
Bit 13 to15-Boolean
ReservedBoolean
F102Status Flag Group 3
Bit 0 to
13
Bit 14Process image Bit 0Boolean
Bit 15Process image Bit 1Boolean
F103Status Flag Group 4
Bit 0 to
15
F104Status Flag Group 5
Bit 0 to
15
F105Status Flag Group 6
Bit 0 to
15
F106Status Flag Group 7
Bit 0 to
15
Reserved
Reserved
Reserved
Reserved
Reserved
27
HEX
Adres
sSignalType
F107Status Flag Group 8
Range /
Unit
Factor
Bit 0 to
15
F108Main error numberWord
F109Reserved
F10AWelding voltage actual valueWord0 bis 65535
F10BWelding current actual valueWord0 bis 65535
F10CMotor current actual valueByte0 bis 255
F10DReserved
F10EReserved
F10FReserved
F110Wire speed actual valueWord0 bis vD-
F111Reserved
F112Reserved
Reserved
(0 bis 100
V)
(0 bis 1000
A)
(0 to 5 A)
100
max
28
Modbus - Allgemeine Informationen
DE
Protokollbeschreibung
Die MODBUS-ADU wird vom Client aufgebaut, der die MODBUS-Transaktion initiiert. Über die Funktion erfährt der Server, welche Aktion auszuführen ist. Das
MODBUS-Anwendungsprotokoll legt das Format der von einem Client initiierten
Anforderung fest.
Das Funktionscode-Feld einer MODBUS-Dateneinheit ist auf einem Byte codiert.
Gültige Codes liegen im Dezimalbereich von 1... 255 (128-255 sind für Ausnahmeantworten reserviert). Wenn das Servergerät eine Nachricht von einem Client
erhält, gibt das Funktionscode-Feld dem Server an, welche Aktion auszuführen
ist.
Wenn mehrere Aktionen auszuführen sind, werden einige Funktionscodes um
Sub‑Funktionscodes ergänzt. Im Datenfeld von Nachrichten, die von einem Client an Servergeräte gesendet werden, sind zusätzliche Informationen enthalten,
anhand derer der Server die im Funktionscode definierte Aktion ausführt. Das
können Elemente wie diskrete Adressen, Register-Adressen, die zu handhabende
Menge oder die Anzahl der tatsächlichen Datenbytes im Feld sein.
Bei bestimmten Anforderungsarten kann kein Datenfeld (Länge Null) vorhanden
sein. In diesem Fall benötigt der Server keine weiteren Informationen, da der
Funktionscode allein die Aktion spezifiziert.
Wenn in einer ordnungsgemäß empfangenen MODBUS ADU in Verbindung mit
der angeforderten MODBUS-Funktion kein Fehler auftritt, enthält das Datenfeld
einer Antwort von einem Server an einen Client die angeforderten Daten. Wenn
in Verbindung mit der angeforderten MODBUS-Funktion ein Fehler auftritt,
enthält das Feld einen Ausnahmecode, anhand dessen die Serveranwendung die
nächste auszuführende Aktion bestimmen kann.
So kann beispielsweise ein Client die Status ON/OFF einer Gruppe diskreter Einoder Ausgänge lesen oder er kann die Dateninhalte einer Registergruppe lesen/
schreiben.
In der Antwort an den Client gibt der Server im Funktionscode-Feld entweder eine normale (fehlerfreie) Antwort an oder er teilt mit, dass ein Fehler vorliegt (eine solche Antwort wird als Ausnahmeantwort bezeichnet). Bei einer normalen
Antwort wiederholt der Server einfach den ursprünglichen Funktionscode.
DatencodierungMODBUS verwendet für Adressen und Datenelemente eine Big-Endian-Darstel-
lung. Das bedeutet, wenn eine numerische Anzahl übertragen wird, die größer als
ein einzelnes Byte ist, wird das bedeutendste Byte zuerst gesendet.
RegistergrößeWert
16 Bit 1234
hex
das erste gesendete Byte ist 12
, dann 34
hex
hex
29
Application Data
Unit (ADU)
In diesem Abschnitt wird beschrieben, wie eine MODBUS-Anforderung oder Antwort bei der Übertragung in einem MODBUS TCP-Netzwerk gekapselt wird.
MPAP HeaderFunktionscodeDaten
Beschreibung MPAP-Header:
Transaction Identifier
Dieser wird für die Transaktionszuordnung verwendet. Der MODBUS-Server
kopiert den Transaction Identifier der Anforderung in die Antwort.
Länge:2 Byte
Beschreibung:Identifizierung einer MODBUS-Anforderungs-/
Antworttransaktion
Client:Vom Client initialisiert
Server:Vom Server aus der empfangenen Anforderung zurück-
kopiert
Protocol Identifier
Dieser wird für Multiplexing innerhalb des Systems verwendet. Das MODBUSProtokoll wird durch den Wert 0 identifiziert.
Länge:2 Byte
Beschreibung:0 = Modbus-Protokoll
Client:Vom Client initialisiert
Server:Vom Server aus der empfangenen Anforderung zurück-
kopiert
Length
In diesem Feld wird die Byteanzahl des folgenden Felds angegeben, einschließlich Unit Identifier, Funktionscode und Datenfeld.
Länge:2 Byte
Beschreibung:Anzahl der folgenden Bytes
Client:Vom Client initialisiert
Server:-
Unit Identifier
Dieses Feld wird für Routing-Zwecke innerhalb des Systems verwendet. Es wird
in der Regel für die Kommunikation mit einem seriell verbundenen MODBUSoder MODBUS+-Slave über ein Gateway zwischen einem Ethernet-Netzwerk
und einer seriellen MODBUS-Leitung verwendet. Der Wert im Feld wird vom
MODBUS-Client in der Anforderung eingestellt und muss genau so in der Antwort des Servers zurückgegeben werden.
Länge:1 Byte
Beschreibung:Identifizierung eines Remote Slave, der über eine seri-
elle Leitung oder über andere Busse verbunden ist.
30
Client:Vom Client initialisiert
Server:Vom Server aus der empfangenen Anforderung zurück-
kopiert
Sämtliche MODBUS/TCP ADU werden über TCP am registrierten Port 502 gesendet.
Modbus - Funktionen
03
(03
dec
Read Holding
Register
hex
)
Mit diesem Code wird der Inhalt eines fortlaufenden Blocks von Holding Registern in einem Remote-Gerät gelesen. Im Bereich "Special Data" ist dieser fortlaufende Block auf 1-4 Register begrenzt. Die Anforderungs-PDU bestimmt die
Startregister-Adresse und die Anzahl der Register.
In der PDU werden Register beginnend mit Null adressiert. So werden Register,
die mit 1-16 nummeriert sind, mit 0-15 adressiert.
Die Registerdaten in der Antwort-Nachricht sind als zwei Byte pro Register gepackt, wobei der Binärinhalt in jedem Byte genau abgestimmt ist. In den einzelnen Registern enthält das erste Byte die höherwertigen Bits und das zweite Byte
die niedrigerwertigen Bits.
Anforderung
DE
Funktionscode1 Byte03
Startadresse2 Byte0000
Anzahl der Register2 Byte1 bis 125 (7D
hex
bis FFFF
hex
hex
hex
)
Antwort
Funktionscode1 Byte03
hex
Anzahl Byte2 Byte2 x N*
RegisterwertN* x 2 Bytes-
N* = Anzahl Register
Fehler
Fehlercode1 Byte83
hex
Ausnahmecode1 Byte01 oder 02 oder 03 oder 04
Beispiel
Beispiel einer Leseanforderung für Register E011
Beispiel
Beispiel einer Leseanforderung für Register E011
(Gasvorströmung).
hex
AnforderungAntwort
FeldnameHexFeldnameHex
No. of Registers Lo01
06
dec
(06
hex
)
Write Single Register
Der Inhalt von Register E011
Werte 0898
oder 2200
hex
(Gasvorströmung) wird in Form der Zwei-Byte-
hex
angezeigt.
dec
Dieser Funktionscode wird zum Schreiben eines Single Holding Register in einem
Remote-Gerät verwendet. Die Anforderungs-PDU gibt die Adresse des zu schreibenden Registers an. Register werden mit Null beginnend adressiert. So wird das
Register, das mit 1 nummeriert ist, mit 0 adressiert.
Die normale Antwort ist ein Echo der Anforderung und wird nach Schreiben des
Registerinhalts zurückgegeben.
Anforderung
Funktionscode1 Byte06
Registeradresse2 Byte0000
Registerwert2 Byte0000
hex
hex
hex
bis FFFF
hex
oder FFFF
hex
Antwort
Funktionscode1 Byte06
Registeradresse2 Byte0000
hex
bis FFFF
hex
hex
Registerwert2 Byte0000
oder FFFF
hex
hex
Fehler
Fehlercode1 Byte86
hex
Ausnahmecode1 Byte01 oder 02 oder 03 oder 04
Beispiel
Beispiel einer Anforderung zum Schreiben des Werts 898
Beispiel
Beispiel einer Anforderung zum Schreiben des Werts 898
gister E011
(Gasvorströmung).
hex
hex
(2200
dec
) in Re-
AnforderungAntwort
FeldnameHexFeldnameHex
Register Address Hi00Register Address Hi00
Register Address Lo11Register Address Lo11
Register Value Hi08Register Value Hi08
Register Value Lo98Register Value Lo98
DE
33
16
dec
(10
hex
)
Write Multiple
Register
Dieser Funktionscode wird zum Schreiben eines Blocks von fortlaufenden Registern (1 bis 20 Register) in einem Remote-Gerät verwendet. Die angeforderten geschriebenen Werte werden im Anforderungsdatenfeld angegeben. Die Daten werden in zwei Byte pro Register gepackt. Die normale Antwort gibt den Funktionscode, die Startadresse und die Anzahl der geschriebenen Register zurück.
Anforderung
Funktionscode1 Byte10
Startadresse2 Byte0000
Anzahl Register2 Byte0001
hex
hex
hex
bis FFFF
oder 0078
hex
hex
Anzahl Byte1 Byte2 x N*
RegisterwerteN* x 2 BytesWert
N* = Anzahl der zu schreibenden Register
Antwort
Funktionscode1 Byte10
Startadresse2 Byte0000
Anzahl der Register2 Byte1 bis 123 (7B
hex
bis FFFF
hex
hex
hex
)
Fehler
Fehlercode1 Byte90
hex
Ausnahmecode1 Byte01 oder 02 oder 03 oder 04
Beispiel
Beispiel einer Anforderung zum Schreiben von zwei Registern (F00B
Quantity of Registers Hi00Quantity of Registers Hi00
Quantity of Registers Lo02Quantity of Registers Lo02
Byte Count04
Register Value Hi7F
34
Beispiel
Beispiel einer Anforderung zum Schreiben von zwei Registern (F00B
F00C
hex
).
hex
-
AnforderungAntwort
FeldnameHexFeldnameHex
Register Value LoFF
Register Value Hi7F
Register Value LoFF
DE
35
23
dec
(17
hex
)
Read/Write Multiple Register
Dieser Funktionscode führt eine Kombination aus einer Lese- und einer Schreiboperation in einer MODBUS-Transaktion aus. Dabei wird zuerst die Schreib- und
dann die Leseoperation durchgeführt. Holding Register werden mit Null beginnend adressiert. So werden die Holding Register 1-16 in der PDU mit 0-15 adressiert.
Die Anforderungs-PDU gibt die Startadresse und die Anzahl der zu lesenden
Holding Register sowie die Startadresse, die Anzahl der Holding Register und die
Daten für den Schreibvorgang an. Im Feld mit der Anzahl der Bytes wird die Anzahl der Bytes angegeben, die im Daten-schreiben-Feld folgen müssen. Die normale Antwort enthält die Daten aus der Gruppe der gelesenen Register. Im Feld
mit der Anzahl der Bytes wird die Anzahl der Bytes angegeben, die im Daten-lesen-Feld folgen müssen.
Anforderung
Funktionscode1 Byte17
hex
Lese-Startadresse2 Byte0000
Anzahl Register zu
2 Byte0001
lesen
Schreib-Startadres-se2 Byte0000
Anzahl Register zu
2 Byte0001
schreiben
Anzahl Byte schrei-
1 Byte2 x N*
ben
Registerwerte
N* x 2 Bytes
schreiben
N* = Anzahl der zu schreibenden Register
Antwort
Funktionscode1 Byte17
hex
Anzahl Byte1 Byte2 x N*
Registerwerte
N* x 2 Bytes
schreiben
bis FFFF
hex
bis ca. 0076
hex
bis FFFF
hex
bis ca. 0076
hex
hex
hex
hex
hex
36
N* = Anzahl der zu lesenden Register
Fehler
Fehlercode1 Byte97
hex
Ausnahmecode1 Byte01 oder 02 oder 03 oder 04
Beispiel
Beispiel einer Anforderung zum Lesen von sechs Registern und zum Schreiben von drei Registern.
Beispiel
Beispiel einer Anforderung zum Lesen von sechs Registern und zum Schreiben von drei Registern.
AnforderungAntwort
FeldnameHexFeldnameHex
Protocol Identifier Lo00Protocol Identifier Lo00
Length Hi00Length Hi00
Length Lo11Length Lo0F
Unit Identifier00Unit Identifier00
Function code17Function code17
Read Starting Address Hi01Byte Count0C
Read Starting Address Lo00Read Registers Value Hi00
Quantity to Read Hi00Read Registers Value LoFE
Quantity to Read Lo06Read Registers Value Hi0A
Write Starting Address Hi00Read Registers Value LoCD
Write Starting Address Lo00Read Registers Value Hi00
Quantity to Write Hi00Read Registers Value Lo01
DE
Quantity to Write Lo03Read Registers Value Hi00
Write Byte Count06Read Registers Value Lo03
Write Registers Value Hi01Read Registers Value Hi00
Write Registers Value LoFARead Registers Value Lo0D
Write Registers Value Hi02Read Registers Value Hi00
Write Registers Value LoFBRead Registers Value LoFF
Write Registers Value Hi03
Write Registers Value LoFC
37
38
Table of contents
General40
Safety40
Connections and indicators on RJ 45 module40
Connections and Indicators on M12 module41
Data Transfer Properties42
Configuration Parameters42
Configuration of robot interface44
Dip switch function44
Configuration of the process data width44
Set node address with dip switch(example)44
Setting the IP Address46
The Website of the Power Source46
Opening and Logging into the SmartManager for the Power Source46
Input and output signals48
Data types48
Modbus start address48
Availability of Input Signals48
Input Signals (From Robot to Power Source)48
Value Range for Working Mode54
Value range Process line selection54
Value Range for TWIN Mode55
Value Range for Documentation Mode55
Value range for Process controlled correction55
Availability of Output Signals56
Output Signals (from Power Source to Robot)56
Assignment of Sensor Statuses 1–459
Value range Safety status59
Value Range for Process Bit60
Retrofit Image Input and Output Signals61
Input signals61
Value Range for Operating Mode62
Output Signals64
Modbus – General Information66
Protocol Description66
Data Coding66
Application Data Unit (ADU)67
Incorrect operation and faulty work can cause serious personal injury and material damage.
All work and functions described in this document must be performed only by
trained specialist personnel who have read and understood the following documents in full:
this document
▶
the Operating Instructions of the robot interface “RI FB Inside/i”
▶
all documents relating to system components, especially the safety rules
▶
(1)TX+
(2)TX-
(3)RX+
(6)RX-
(4)Not normally used; to ensure
(5)
(7)
(8)
signal completeness, these
pins must be interconnected
and, after passing through a
filter circuit, must terminate
at the ground conductor (PE).
(9)Link/Activity LED 2
(10)Module status LED
(11)RJ-45 Ethernet connection 2
(12)RJ-45 Ethernet connection 1
(13)Link/Activity LED 1
(14)Network status LED
Network Status LED:
StatusMeaning
OffNo IP address or exception state
Lights up greenAt least one Modbus message received
Flashes greenWaiting for first Modbus message
Lights up redIP address conflict, serious error
Flashes redConnection timeout. No Modbus message was received
within the period defined for the "Process active timeout"
40
Module Status LED:
(8)
(6)
(7)
(9)(11)
(10)
2
1
5
3
4
StatusMeaning
OffNo supply voltage
Lights up greenNormal operation
Lights up redMajor error (exception state, serious fault, etc.)
Connections and
Indicators on
M12 module
Flashes redMinor error
Alternates between
Firmware update in progress
red and green
Link/Activity LED:
StatusMeaning
OffNo connection, no activity
Lights up greenConnection established (100 Mbit/s)
Flickers greenActivity (100 Mbit/s)
Lights up yellowConnection established (10 Mbit/s)
Flickers yellowActivity (10 Mbit/s)
(1)TXD+
(2)RXD+
(3)TXD-
(4)RXD-
EN-US
(5)Shield
(6)Module status LED
(7)Link/Activity LED 2
(8)M12 connection 2
(9)LED Network status
(10)Link/Activity LED 1
(11)M12 connection 1
Network Status LED:
StatusMeaning
OffNo IP address or exception state
Lights up greenAt least one Modbus message received
41
Network Status LED:
StatusMeaning
Flashes greenWaiting for first Modbus message
Lights up redIP address conflict, serious error
Flashes redConnection timeout. No Modbus message was received
within the period defined for the "Process active timeout"
Module Status LED:
StatusMeaning
OffNo supply voltage
Lights up greenNormal operation
Lights up redMajor error (exception state, serious fault, etc.)
Flashes redMinor error
Data Transfer
Properties
Alternates between
Firmware update in progress
red and green
Link/Activity LED:
StatusMeaning
OffNo connection, no activity
Lights up greenConnection established (100 Mbit/s)
Flickers greenActivity (100 Mbit/s)
Lights up yellowConnection established (10 Mbit/s)
Flickers yellowActivity (10 Mbit/s)
Transmission technology
Ethernet
Medium (4 x 2 twisted-pair copper cable)
Category 3 (10 Mbit/s)
Category 5 (100 Mbit/s)
Transmission speed
10 Mbit/s or 100 Mbit/s
Configuration
Parameters
42
Bus connection
RJ-45 Ethernet / M12
In some robot control systems, it may be necessary to state the configuration parameters described here so that the bus module can communicate with the robot.
ParameterValue
Vendor NameFronius International GmbH
Product Code0301
hex
(769
dec
)
ParameterValue
Major / Minor Revisi-onV1.00
Vendor URLwww.fronius.com
Product Namefronius-fb-inside-modbus-2p
Model NameFronius Modbus-TCP-2-Port
User Application Na-meFronius welding controller for the series TPS/i
with Modbus-TCP-2-Port
EN-US
43
Configuration of robot interface
(1)
(2)(3)
ON
OFF
Dip switch function
Configuration of
the process data
width
The dip switch (1) on the robot interface RI FB Inside/i is used to configure
the process data width
-
the node address/IP address
-
At the factory all positions of the dip
switch are set to OFF (3).
This corresponds to the binary value 0.
The position (2) corresponds to the binary value 1.
Dip switch
87654321Configuration
OFFOFF------
Standard image
320 Bit
Set node address with dip
switch
(example)
OFFON------
ONOFF------
Scope dependent on bus module
Economy image
128 Bit
Retro Fit
ONON------Not used
The process data width defines the scope of the transferred data volume.
The kind of data volume that can be transferred depends on
the robot controls
-
the number of power sources
-
the type of power sources
-
"Intelligent Revolution"
-
"Digital Revolution" (Retro Fit)
-
Dip switch
87654321Node address
--OFFOFFOFFOFFOFFON1
--OFFOFFOFFOFFONOFF2
--OFFOFFOFFOFFONON3
--ONONONONONOFF62
--ONONONONONON63
44
The node address is set with positions 1 to 6 of the dip switch.
The configuration is carried out in binary format. This results in a configuration
range of 1 to 63 in decimal format
NOTE!
After every change of the configurations of the dip switch settings, the interface needs to be restarted so that the changes will take effect.
(Restart = interrupting and restoring the power supply
or executing the relevant function on the website of the power source)
EN-US
45
Setting the IP
3
2
1
4
xx.x.xxx.x
1.9.0-16501.9508
Address
Upon delivery the node address is set to 0 using the dip switch.
This corresponds to the following IP settings:
IP address: 0.0.0.0
-
Subnet mask: 0.0.0.0
-
Default gateway: 0.0.0.0
-
The IP address can be configured in two ways:
Using the DIP switch within the range defined by 192.168.0.xx
-
(xx = DIP switch setting = 1 to 63)
If the dip switch is set to 0, using the following configuration tools:
-
Using the website of the power source
-
NOTE!
If the IP address is again set to higher than 0 with the dip switch, the relevant IP
address will be configured to the range of 1 to 63 after restarting the robot interface.
A node address previously configured by a configuration tool is overwritten.
NOTE!
If configurations have already been made, the network configurations can be
restored to factory settings in two ways:
set all dip switches back to 0
▶
with the button Restore factory settings on the website of the power source
▶
The Website of
the Power
Source
Opening and
Logging into the
SmartManager
for the Power
Source
The power source has its own website, the SmartManager.
As soon as the power source has been integrated into a network, the SmartManager can be opened via the IP address of the power source.
Depending on the system configuration and software upgrades, the SmartManager may contain the following entries:
Overview
-
Update
-
Screenshot
-
Save and restore
-
Function packages
-
Job data
-
Overview of characteristics
-
RI FB INSIDE/i
-
Presettings/System/Information ==> note down IP address of power source
1
46
Enter the IP address into the search field of the browser
The SmartManager of the power source is displayed.
EN-US
47
Input and output signals
Data typesThe following data types are used:
UINT16 (Unsigned Integer)
-
Whole number in the range from 0 to 65535
SINT16 (Signed Integer)
-
Whole number in the range from -32768 to 32767
Conversion examples:
for a positive value (SINT16)
-
e.g. desired wire speed x factor
12.3 m/min x 100 = 1230
for a negative value (SINT16)
-
e.g. arc correction x factor
-6.4 x 10 = -64
= FFC0
dec
= 04CE
dec
hex
hex
Modbus start address
Availability of
Input Signals
Input Signals
(From Robot to
Power Source)
Input signals: 0000
-
Output signals: 0800
-
hex
hex
The input signals listed below are available from firmware V2.3.0 for all Inside/i
systems.
48
Address
relativeabsolute
Process
image
WORD
0
BYTE
BIT
00Welding Start
11Robot readyHigh
22Working mode Bit 0High
33Working mode Bit 1High
0
44Working mode Bit 2High
55Working mode Bit 3High
66Working mode Bit 4High
77—
08Gas on
19Wire forward
210Wire backward
311Error quit
1
BIT
Signal
Activity /
data type
Increa-
sing
Increa-
sing
Increa-
sing
Increa-
sing
Increa-
sing
Range
See table Value
Working Mode on
Range for
page 54
Factor
Standard
üü
Economy
EN-US
412Touch sensingHigh
513Torch blow out
614Process line selection Bit 0HighSee table Value
715Process line selection Bit 1High
Increa-
sing
range Process li-
ne selection on
page 54
49
Address
relativeabsolute
Process
image
WORD
1
BYTE
BIT
016Welding SimulationHigh
117Synchro pulse onHigh
218—
319—
2
420—
521—
622Wire brake onHigh
723Torchbody XchangeHigh
024—
125Teach modeHigh
226—
327—
428—
3
529Wire sense start
630Wire sense break
BIT
Signal
Activity /
data type
Increa-
sing
Increa-
sing
Range
Factor
Standard
üü
Economy
731—
50
Address
relativeabsolute
Process
image
WORD
2
BYTE
BIT
032TWIN mode Bit 0HighSee table Value
133TWIN mode Bit 1High
234—
335—
4
436—
537Documentation modeHigh
638—
739—
040—
141—
242—
343—
5
444—
BIT
Signal
Activity /
data type
Range
Range for TWIN
Mode on page
See table Value
Range for Documentation Mode
on page 55
55
Factor
Standard
üü
Economy
EN-US
545—
646—
747
Disable process controlled
correction
High
51
Address
relativeabsolute
Process
image
WORD
3
BYTE
BIT
048—
149—
250—
351—
6
452—
553—
654—
755—
056
157
258
359
7
460
BIT
Signal
ExtInput1 => OPT_Output
1
ExtInput2 => OPT_Output
2
ExtInput3 => OPT_Output
3
ExtInput4 => OPT_Output
4
ExtInput5 => OPT_Output
5
Activity /
data type
High
High
High
High
High
Range
Factor
Standard
üü
Economy
561
662
763
80-764-71
4
90-772-79
10,
5
0-780-95
11
ExtInput6 => OPT_Output
6
ExtInput7 => OPT_Output
7
ExtInput8 => OPT_Output
8
Welding characteristic- /
Job number
With the welding process
MIG/MAG pulse synergic,
MIG/MAG standard synergic,
MIG/MAG standard manual,
MIG/MAG PMC,
MIG/MAG LSC,
CMT,
ConstantWire:
Wire feed speed command
value
With the Job mode:
Power correction
High
High
High
UINT160 to 10001
-327.68 to
SINT16
SINT16
327.67
[m/min]
-20.00 to
20.00
[%]
100
100
üü
üü
52
Address
relativeabsolute
Process
image
WORD
6
BYTE
12,
0-796-111
13
BIT
BIT
Signal
With the welding process
MIG/MAG pulse synergic,
MIG/MAG standard synergic,
MIG/MAG PMC,
MIG/MAG LSC,
CMT:
Arclength correction
With the welding process
MIG/MAG standard manual:
Welding voltage
With the Job mode:
Arclength correction
With the welding process
ConstantWire:
Hotwire current
Activity /
data type
SINT16
UINT16
SINT16
UINT16
Range
-10.0 to
10.0
[Steps]
0.0 to
6553.5 [V]
-10.0 to
10.0
[Steps]
0.0 to
6553.5 [A]
10
10
10
10
Factor
Standard
üü
Economy
EN-US
14,
7
8
9
10
0-7112-127
15
160-7128-135
170-7136-143
180-7144-151
190-7152-159
200-7160-167
210-7168-175
With the welding process
MIG/MAG pulse synergic,
MIG/MAG standard synergic,
MIG/MAG PMC,
MIG/MAG LSC,
CMT:
Pulse-/dynamic correction
With the welding process
MIG/MAG standard manual:
Dynamic
Wire retract correctionUINT16
Welding speedUINT16
Process controlled correction
SINT16
UINT16
-10.0 to
10.0
[Steps]
0.0 to 10.0
[Steps]
0.0 to 10.0
[Steps]
0.0 to
1000.0
[cm/min]
See table Value
range for Pro-
cess controlled
correction on pa-
ge 55
10
10
10
10
üü
ü
ü
ü
220-7176-183
11
230-7184-191
—
ü
53
Address
relativeabsolute
Process
image
WORD
BYTE
BIT
240-7192-199
12
250-7200-207
260-7208-215
13
270-7216-223
280-7224-231
14
290-7232-239
300-7240-247
15
310-7248-255
320-7256-263
16
330-7264-271
340-7272-279
17
350-7280-287
360-7288-295
18
370-7296-303
380-7304-311
19
390-7312-319
BIT
Signal
Activity /
data type
Range
—
—
—
Wire forward / backward
length
UINT16
OFF / 1 to
65535
[mm]
OFF / 0.5
Wire sense edge detectionUINT16
to 20.0
10
[mm]
—
—
Seam numberUINT160 to 655351
Factor
Standard
Economy
ü
ü
ü
1
ü
ü
ü
ü
ü
Value Range for
Working Mode
Value range Process line selection
Bit 4Bit 3Bit 2Bit 1Bit 0Description
00000Internal parameter selection
00001Special 2-step mode characteristics
00010Job mode
010002-step mode characteristics
010012-step MIG/MAG standard manual
10001Stop coolant pump
Value range for operating mode
Bit 1Bit 0Description
00Process line 1 (default)
01Process line 2
10Process line 3
11Reserved
Value range for process line selection
54
Value Range for
TWIN Mode
Bit 1Bit 0Description
00TWIN Single mode
01TWIN Lead mode
10TWIN Trail mode
11Reserved
Value range for TWIN mode
EN-US
Value Range for
Documentation
Mode
Value range for
Process controlled correction
Bit 0Description
0Seam number of power source (internal)
1Seam number of robot (Word 19)
Value range for documentation mode
ProcessSignal
Activity /
Data type
Arc length stabili-
PMC
Value range for process-dependent correction
zerSINT16
Value range
configuration
range
Unit
-327.8 to +327.7
0.0 to +5.0Volts10
Factor
55
Availability of
Output Signals
Output Signals
(from Power
Source to Robot)
Address
relativeabsolute
The output signals listed below are available from firmware V2.3.0 for all Inside/i
systems.
Process
image
WORD
0
BYTE
BIT
00Heartbeat PowersourceHigh/Low1 Hz
11Power source readyHigh
22WarningHigh
33Process activeHigh
0
44Current flowHigh
55Arc stable- / touch signalHigh
66Main current signalHigh
77Touch signalHigh
08Collisionbox activeLow
19Robot Motion ReleaseHigh
210Wire stick workpieceHigh
311—
1
412Short circuit contact tipHigh
513
BIT
Signal
Parameter selection internally
Activity /
data type
High
Range
0 = collisi-
on or ca-
ble break
Standard
Factor
üü
Economy
56
614
715Torch body grippedHigh
Characteristic number
valid
High
Address
relativeabsolute
Process
image
WORD
1
BYTE
BIT
016
117Correction out of rangeHigh
218—
319LimitsignalHigh
2
420—
521—
622Main supply statusLow
723—
024Sensor status 1High
125Sensor status 2High
226Sensor status 3High
327Sensor status 4High
3
428—
529—
630—
BIT
Signal
Command value out of
range
Activity /
data type
High
Range
See table Assign-
ment of Sensor Sta-
tuses 1–4 on page
59
Factor
Standard
üü
Economy
EN-US
731—
032—
133—
234—
335Safety status Bit 0HighSee table Value ran-
4
436Safety status Bit 1High
537—
638NotificationHigh
2
739System not readyHigh
040—
141—
242—
343—
5
444—
545—
646—
ge Safety status on
page 59
üü
747—
57
Address
relativeabsolute
Process
image
WORD
3
BYTE
BIT
048Process Bit 0High
149Process Bit 1High
250Process Bit 2High
351Process Bit 3High
6
452Process Bit 4High
553—
654Touch signal gas nozzleHigh
755
056
157
258
359
7
460
BIT
Signal
TWIN synchronization
active
ExtOutput1 <= OPT_Input1
ExtOutput2 <= OPT_Input2
ExtOutput3 <= OPT_Input3
ExtOutput4 <= OPT_Input4
ExtOutput5 <= OPT_Input5
Activity /
data type
High
High
High
High
High
High
Range
See table Value
Range for Process
Bit on page 60
Factor
Standard
üü
Economy
561
662
763
80-764-71
4
90-772-79
100-780-87
5
110-788-95
120-796-103
6
130-7104-111
140-7112-119
7
150-7120-127
160-7128-135
8
170-7136-143
180-7144-151
9
190-7152-159
ExtOutput6 <= OPT_Input6
ExtOutput7 <= OPT_Input7
ExtOutput8 <= OPT_Input8
Welding voltageUINT16
Welding currentUINT16
Wire feed speedSINT16
Actual real value for
seam tracking
Error numberUINT16
Warning numberUINT16
High
High
High
UINT16
0.0 to
655.35 [V]
0.0 to
6553.5 [A]
-327.68 to
327.67 [m/
min]
0 to
6.5535
0 to
65535
0 to
65535
100
10
100
10000
1
1
üü
üü
üü
üü
ü
ü
58
Address
relativeabsolute
Process
image
WORD
BYTE
BIT
200-7160-167
10
210-7168-175
220-7176-183
11
230-7184-191
240-7192-199
12
250-7200-207
260-7208-215
13
270-7216-223
280-7224-231
14
290-7232-239
300-7240-247
15
310-7248-255
320-7256-263
16
330-7264-271
340-7272-279
17
350-7280-287
BIT
Signal
Motor current M1SINT16
Motor current M2SINT16
Motor current M3SINT16
—
—
—
Wire positionSINT16
—
Activity /
data type
Range
-327.68 to
327.67 [A]
-327.68 to
327.67 [A]
-327.68 to
327.67 [A]
-327.68 to
327.67
[mm]
100
100
100
100
Factor
Standard
Economy
ü
ü
ü
ü
ü
ü
ü
ü
EN-US
360-7288-295
18
370-7296-303
380-7304-311
19
390-7312-319
Assignment of
Sensor Statuses
1–4
Value range
Safety status
—
—
SignalDescription
Sensor status 1OPT/i WF R wire end (4,100,869)
Sensor status 2OPT/i WF R wire drum (4,100,879)
Sensor status 3OPT/i WF R ring sensor (4,100,878)
Sensor status 4Wire buffer set CMT TPS/i (4,001,763)
Bit 1Bit 0Description
00Reserve
ü
ü
01Hold
10Stop
11Not installed / active
59
Value Range for
Process Bit
Bit 4Bit 3Bit 2Bit 1Bit 0Description
00000No internal parameter selection or
process
00001MIG/MAG pulse synergic
00010MIG/MAG standard synergic
00011MIG/MAG PMC
00100MIG/MAG LSC
00101MIG/MAG standard manual
00110Electrode
00111TIG
01000CMT
01001ConstantWire
60
Retrofit Image Input and Output Signals
Input signalsFrom robot to power source
Applicable to firmware V1.9.0 and higher
HEX
addressSignalTypeRange / Unit
F000
F001
Control Flag Group 1
Bits 0 to 7Process active timeoutByte[ms]10
Bits 8 to
15
Control Flag Group 2
Bit 0Welding startBoolean
Bit 1Robot readyBoolean
Bit 2Source error resetBoolean
Bit 3Gas testBoolean
Bit 4Wire inchingBoolean
Bit 5Wire retractBoolean
Bit 6Torch blow outBoolean
Bit 7Welding simulationBoolean
Bit 8Touch sensingBoolean
Bit 9Reserved
Bit 10SFI onBoolean
Reserved
EN-US
Factor
Bit 11Synchro pulse onBoolean
Bits 12 to13Reserved
Bit 14Power full rangeBoolean
Bit 15Reserved
F002Control Flag Group 3
Bits 0 to
15
F003Control Flag Group 4
Bits 0 to
15
F004Control Flag Group 5
Bits 0 to
15
F005Control Flag Group 6
Bits 0 to
15
F006Control Flag Group 7
Reserved
Reserved
Reserved
Reserved
Bits 0 to
15
Reserved
61
HEX
addressSignalTypeRange / Unit
F007Control Flag Group 8
Factor
Bits 0 to
15
F008
F009Job numberByte0 to 255
F00AProgram numberByte0 to 127
F00BPowerWord0 to 65,535
F00CArc length correctionWord0 to 65,535
F00DPulse-/dynamic correctionByte0 to 255
F00EReserved
Operating mode
Bit 0Operating mode 0Boolean
Bit 1Operating mode 1Boolean
Bit 2Operating mode 2Boolean
Bit 3Operating mode 3Boolean
Bits 4 to
15
Reserved
See table Value
Range for Operating Mode on
page 62
ReservedBoolean
(0 to 100%)
(-10 to +10%)
(-5 to +5%)
F00FReserved
F010Reserved
F011Reserved
F012Reserved
F013Reserved
F014Reserved
F015Reserved
F016Reserved
F017Reserved
F018Reserved
F019Reserved
F01AReserved
F01BReserved
F01CReserved
F01DReserved
F01EReserved
Value Range for
Operating Mode
62
Bit
4-15
-0000MIG standard
Bit 3Bit 2Bit 1Bit 0Description
Bit
4-15
-0001MIG pulse
-0010Job mode
Bit 3Bit 2Bit 1Bit 0Description
-0011
-0100
-0101
-0110MIG standard manual
-0111
-1000MIG LSC
-1001MIG PMC
Internal parameter selection/special
2-step mode
Synergic operation/special 2-step
mode
Synergic operation/special 2-step
mode
Synergic operation/special 2-step
mode
EN-US
63
Output SignalsFrom Power Source to Robot
Applicable to firmware V1.9.0 and higher
HEX
Adres
sSignalType
F100Status Flag Group 1
Bits 0 to15ReservedBoolean
Range /
Unit
Factor
F101
F102Status Flag Group 3
Status Flag Group 2
Bit 0Communication readyBoolean
Bit 1Power source readyBoolean
Bit 2Arc stableBoolean
Bit 3Process activeBoolean
Bit 4Main current signalBoolean
Bit 5Torch collision protectionBoolean
Bit 6Wire stick controlBoolean
Bit 7Wire availableBoolean
Bit 8Short circuit timeoutBoolean
Bit 9Power out of RangeBoolean
Bits 10
to 11
Bit 12Limit signal HighBoolean
Bits 13
to 15
-Boolean
-Boolean
Bits 0 to13Reserved
Bit 14Process image Bit 0Boolean
Bit 15Process image Bit 1Boolean
F103Status Flag Group 4
Bits 0 to15Reserved
F104Status Flag Group 5
Bits 0 to15Reserved
F105Status Flag Group 6
Bits 0 to15Reserved
F106Status Flag Group 7
Bits 0 to15Reserved
64
HEX
Adres
sSignalType
F107Status Flag Group 8
Bits 0 to15Reserved
Range /
Unit
Factor
F108Main error numberWord
F109Reserved
F10AWelding voltage actual valueWord0 to 65535
(0 to
100 V)
F10BWelding current actual valueWord0 to 65535
(0 to
1000 A)
F10CMotor current actual valueByte0 to 255
(0 to 5 A)
F10DReserved
F10EReserved
F10FReserved
F110Wire speed actual valueWord0 to vDmax100
F111Reserved
F112Reserved
EN-US
65
Modbus – General Information
Protocol Description
The MODBUS ADU is constructed by the client that initiates the MODBUS transaction. The function tells the server which action is to be performed. The MODBUS application protocol defines the format of a client-initiated request.
The function code field of a MODBUS data unit is coded in one byte. Valid codes
are in the range of 1 ... 255 decimal (the range 128-255 is reserved for exception
responses). When the server receives a message from a client, the function code
field tells the server which action to perform.
If several actions are to be performed, subfunction codes are added to some
function codes. When messages are sent to servers by a client, the data field in
the message contains additional information that the server uses to perform the
action defined by the function code. This can include elements such as discrete
addresses, register addresses, the quantity to be handled, or the number of actual data bytes contained within the field.
With certain types of request, there might not be a data field (length: zero). In
this case, the server does not require any additional information because the action is specified by the function code alone.
If a MODBUS ADU is correctly received without any errors occurring in connection with the requested MODBUS function, the requested data will be included in
the data field when a server responds to a client. If an error does occur in connection with the requested MODBUS function, the field will contain an exception
code that the server application can use to determine what action to perform
next.
For instance, a client can read the ON/OFF statuses of a group of discrete inputs
or outputs, or it can read/write the data contents of a group of registers.
When sending a response to the client, the server uses the function code field
either to indicate that the response is normal (free of errors) or that an error has
occurred (this kind of response is called an "exception response"). In the case of
a normal response, the server simply echoes the original function code.
Data CodingFor addresses and data elements, MODBUS uses a big-endian format. When a
number larger than a single byte is transmitted, this means that the most significant byte is sent first.
Register SizeValue
16 bits, 1234
hex
12
is sent as the first byte and then 34
hex
hex
66
Application Data
Unit (ADU)
This section describes the encapsulation method used for a MODBUS request or
response when it is transmitted over a MODBUS TCP network.
MPAP headerFunction codeData
Description of MPAP header:
Transaction Identifier
Used to allocate the transaction. The MODBUS server copies the Transaction
Identifier of the request into the response.
Transaction Identifier
This is used for transaction pairing. The MODBUS server copies the transaction
identifier from the request into the response.
Length:2 bytes
Description:For identifying a MODBUS request/response transac-
tion
Client:Initialized by the client
Server:Copied back by the server from the request received
Protocol Identifier
This is used for multiplexing within the system. The MODBUS protocol is identified by the value 0.
Length:2 bytes
Description:0 = Modbus protocol
Client:Initialized by the client
Server:Copied back by the server from the request received
EN-US
Length
This field is used to specify the number of bytes in the field to follow, including
the unit identifier, function code, and data field.
Length:2 bytes
Description:Number of bytes to follow
Client:Initialized by the client
Server:-
Unit Identifier
This field is used for routing within the system. It is usually used for communication with a serially connected MODBUS- or MODBUS+ slave where communication takes place via a gateway between an Ethernet network and a serial
MODBUS line. The field value is set in the request by the MODBUS client and
must be replicated exactly in the response from the server.
Length:1 byte
Description:For identifying a remote slave that is connected via a
serial line or other type of bus.
Client:Initialized by the client
All MODBUS/TCP ADUs are sent via TCP on registered port 502.
67
Modbus Functions
03
(03
dec
Read Holding
Register
hex
)
This code is used to read the contents of a contiguous block of holding registers
in a remote device. In the "Special Data" area, this contiguous block is limited to
1-4 registers. The request PDU determines the starting register address and the
number of registers.
The registers are addressed in the PDU starting at zero. This means registers
numbered 1-16 will be addressed using 0-15.
The register data in the response message is packed as two bytes per register,
with the binary contents precisely aligned/justified within each byte. Within the
individual registers, the first byte contains the high-order bits and the second
byte the low-order bits.
The contents of register E011
two-byte values 0898
or 2200
hex
(gas pre-flow) are displayed in the form of the
hex
.
dec
This function code is used to write a single holding register in a remote device.
The request PDU specifies the address of the register to be written. Registers are
addressed starting at zero. This means that the register that has been numbered
as 1 will be addressed using 0.
The normal response is an echo of the request, which is returned after the register contents are written.
This function code is used to write a block of contiguous registers (1 to 20 registers) in a remote device. The requested written values are specified in the request
data field. Data is packed as two bytes per register. The normal response returns
the function code, the starting address, and the number of registers written.
Request
Function code1 byte10
hex
EN-US
Starting address2 bytes0000
Number of registers2 bytes0001
to FFFF
hex
or 0078
hex
hex
hex
Number of bytes1 byte2 x N*
Register valuesN* x 2 bytesValue
N* = number of registers to be written
Response
Function code1 byte10
Starting address2 bytes0000
Number of registers2 bytes1 to 123 (7B
hex
to FFFF
hex
hex
hex
)
Error
Error code1 byte90
hex
Exception code1 byte01 or 02 or 03 or 04
Example
Example request for writing two registers (F00B
Quantity of Registers Hi00Quantity of Registers Hi00
Quantity of Registers Lo02Quantity of Registers Lo02
Byte Count04
Register Value Hi7F
Register Value LoFF
71
Example
Example request for writing two registers (F00B
– F00C
hex
hex
).
RequestResponse
Field NameHexField NameHex
Register Value Hi7F
Register Value LoFF
72
23
dec
(17
hex
)
Read/Write Multiple Register
This function code performs a combination of one read operation and one write
operation in a single MODBUS transaction. The write operation is performed before the read operation. Holding registers are addressed starting at zero. This
means that holding registers 1-16 will be addressed in the PDU using 0-15.
The request PDU specifies the starting address and the number of holding registers to be read as well as the starting address, the number of holding registers,
and the data for the write operation. The byte count field specifies the number of
bytes to follow in the write data field. The normal response contains the data
from the group of registers read. The byte count field specifies the number of
bytes to follow in the read data field.
Request
EN-US
Function code1 byte17
Read starting ad-
2 bytes0000
hex
dress
Number of registers
2 bytes0001
to read
Write starting ad-
2 bytes0000
dress
Number of registers
2 bytes0001
to write
Write number of
1 byte2 x N*
bytes
Write register valuesN* x 2 bytes
N* = number of registers to be written
Response
Function code1 byte17
hex
Number of bytes1 byte2 x N*
Write register valuesN* x 2 bytes
to FFFF
hex
to approx. 0076
hex
to FFFF
hex
to approx. 0076
hex
hex
hex
hex
hex
N* = number of registers to be read
Error
Error code1 byte97
hex
Exception code1 byte01 or 02 or 03 or 04
Example
Example request for reading six registers and writing three registers.