Campbell RF410 Bedienerhandbuch Seite 45

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 124
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 44
PakBus Networking Guide
39
6.1.1 P190 – Send or Get Input Locations
Purpose:
To send or get Input Location data from a non-CRBasic datalogger in a PakBus
network. Best for large networks in terms of getting data from many remotes
the most quickly since the P190 can execute as fast as responses allow. P190
can also act as a Modbus master and issue commands to Modbus devices.
In order to establish P190 communications with a CR205, the
P190’s 1
st
parameter must agree with the attached RF400’s
Active Interface. For example, if the RF400 is set for CSDC 7,
then P190 Parameter 1 must be 17 (CSDC7 and SDC7 are
equivalent).
Remember to *D15 configure a Routing Table for max nodes,
max neighbors, and max routers so the datalogger can function as
a router. A good starting point is: *D15, xxxx, 5, 5, 5, 0.
Example:
6: PakBus - Get/Send Locations (P190)
1: 17 SDC 7 ; Associated RF400's Active Interface (same as CSDC 7)
2: 2 Address ; CR205's PakBus Address
3: 26 Get Value ; For CR205, 21,22 are for remote CR10XPB w/P196
4: 0000 Security
5: 0000 Remote Loc/Coil/Register
6: 1 Swath
7: 3 Local Loc [ CR205_Temp_Dat ]
8: 5 Result Code Loc [ StatusOfGet1 ]
If this instruction is used to retrieve a value or set a value in the remote
datalogger's public table an Instruction 63 or 68 is required following the P190
to specify the variable name to be accessed (see Quick Start). No terminator
character is needed in the P63/P68. The variable to be retrieved/set must be
declared a public variable.
Index Parameter 3 (--xx) to delay execution of subsequent program instructions
until the datalogger receives a valid response or error from the remote.
Otherwise, the PakBus command is queued, the datalogger proceeds to the next
instruction, and the communications are handled later when the remote replies.
Result Codes
0 Successful
>0 Initial attempt failed (value indicates the number of retries)
-99999 (or -INF) The datalogger does not know the route to the remote
datalogger.
The P190 can discover a neighbor. If the datalogger is neither beaconing nor
hello-ing, then the P190 will hello the node even if it does not have the route
yet by creating a static route from the specified address. Once it communicates,
NOTE
Seitenansicht 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 123 124

Kommentare zu diesen Handbüchern

Keine Kommentare