Manual
Table Of Contents
- ENGLISH
- FRANCAIS
- 1 Mise en oeuvre matérielle
- 2 Mise en oeuvre logicielle
- 3 Protocoles Modbus et Ethernet TCP/IP Modbus
- 3.1 Généralités
- 3.2 Exemples d’application
- 3.2.1 Montage
- 3.2.2 Configuration matérielle de l’automate avec PL7 PRO (V4.3 ou supérieure)
- 3.2.3 Exemple de programmation d’une requête pour la station @ 2
- 3.2.4 Configuration de l’automate avec Unity PRO XL V1.0.1
- 3.2.5 Lecture de 5 mots dans l’étiquette à partir de mot %MW 0 de l’étiquette dans la station @ 2
- 4 Diagnostic
- 5 Glossaire
33
Modbus and Ethernet Modbus TCP/IP protocols
English
W916556680111
Example of programming a request for station @ 2
During programming, use the XWAY address to specify the station.
The Modbus address is set to 2.
PLC configuration with Unity PRO XL V1.0.1
(*----- Step 2 -----------------------------------------*)
(* Read status word = test presence tag station @ 2*)
IF NOT %MW702:X0 THEN
%MD1:=16#00008000;(* STATUS *)
READ_VAR(ADR#{1.106}0.0.2,'%mw',%MD1,1,%MW800:2,%MW702:4);
END_IF;
ADR#{1.106} <=> 139.160.32.242
Modbus address = 2










