Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

ParameterMeaningUnitDefault value

Kotva
s
s
Station object definition

Definition of an object of Station type. It is not necessary to configure for the INA2000 line (the parameter is used on NET2000, DCAN, MODBUS, and SNMP lines).

--

Kotva
c
c
CPU object definition

Definition of an object of CPU type. The default value CD="/DAIP=127.0.0.1 /REPO=11160 /RT=1000" creates a connection to the locally running (/DAIP=127.0.0.1) virtual PLC on port 11160 (/REPO=11160), with a response timeout of 1000 ms (/RT=1000). According to the PVI documentation, there are the following usable parameters for UDP communication:

ParameterValuesSettingDescription
/DA1-2557Station number of the target station.
Automatic identification of the target station from the station number. The station number must be unique within the INA2000 network. The highest station number is 99 for SG3 and SGC with AR Version < 2.00, or 255 for SG4 and SGC with AR Version >= 2.00.
Example: "/DA=56".
/DAIPIP address,
Host name
NoneThe IP address of the target station.
Manual identification of the target station from the IP address or identification from the hostname (DNS, only possible for SG4).
Examples: "/DAIP=68.10.10.27" ... IP address, "/DAIP=CP340su" ... Hostname.

Specifying the parameter /DA depends on whether the parameter /DAIP is specified:
If the parameter /DAIP is not specified, then the parameter /DA must always be specified. If the parameter /DAIP is specified as an IP address, the parameter /DA is optional. If /DA is specified, however, the defined station number must be correct. If the /DAIP parameter is specified as a hostname, the /DA parameter is ignored.

/RT0 - 65535275

Response timeout in ms.
If a response to a sent frame is not received with this time, then the frame is transferred again. After the third retry, the connection is deemed canceled. The time in which an interrupted connection is detected is a result of ResponseTimeout * 4.
Setting /RT=0 uses the INA2000 default value (275 ms).
Example: "/RT=400".

Recommended values:

20 - 250...For simple point-point connections, or connections via a local network with pure variable communication on SG4 controllers with sufficient idle time, with AR 3.00 and higher.
250 - 500...For connections via a local network with pure variable communication to any target systems / AR versions.
500 - 750...For connections via a local network with PLC services running (e.g. Automation Studio project transfer).
750 - 1500...For connections via an in-house network.
1500 - 5000...For connections via Intranet/Internet.


/REPO1025 - 3276711159IP port number of the target station.
If the value is specified in Hexadecimal, then "0x" must be used to introduce the value (e.g. "/LOPO=0x2b97").
The port number must match the setting on the target station (PLC).
Example: "/REPO=11159".
/CKDA0 / 11Enables or disables the check to see if the target station number (parameter /DA) is unique.
The parameter /CKDA is irrelevant if used together with the parameter /DAIP (check is always disabled).
Example: "/CKDA=0" ... Checking is disabled.
/ANSL0 / 1*)Turn on/off fast TCP download/upload via ANSL.
Example: "/ANSL=0" ... Download/upload via ANSL is turned off.
/APN1025 - 3276711169ANSL IP port number of the target station (peer station) for fast TCP download/upload.
Example: "/APN=11169".


-CD="/DAIP=127.0.0.1 /REPO=11160 /RT=1000"

Kotva
m
m
Module object definition

Definition of the object of of Module type type. The parameter allows the creation of creating a connection to the module within the PLC.
Syntax of CD parameter:

/RO=[<Name of application module>::]<Module name>
or
[<Name of application module>::]<Module name>

Examples:

  • CD="/RO=Module1"
  • CD="/RO=Generator::Module1"
  • CD=Module2
  • CD=Generator::Module2
--

Kotva
t
t
Task object definition

Definition of an object of Task type. The parameter allows the creation of a connection to a task (program) within the PLC. The I/O tags that are children of the station represent the global variables of the PLC and local variables of the task specified by this parameter. It is, therefore, necessary to configure a separate station for each task within the PLC. If no parameter is specified, only global PLC variables are available.

--

...

ParameterDescription
CD

Connection description

EVDefinition of the enable mask for events. Default: "EV=ed".
  • "e": Change in error state
  • "d": Change in data
  • "f": Change in data format
  • "c": Change in the connection description
  • "p": Progress information about active requests
  • "s": Status changes
  • 'u': Change in the user tag string
  • 'l': Special line events
Example: "EV=edfc"
If no events should be enabled, then specify "EV=".
ATObject attributes. Default: "AT=rw"
  • "r": Allows read access
  • "w": Allows write access
  • "e": PLC event operation
  • "h": Immediate write echo if access type POBJ_ACC_DATA
  • "d": Direct event trigger for the POBJ_EVENT_DATA event
RFRefresh rate in ms. Default: "RF=1000".
  • =-1: Cyclic data refresh is turned off
  • = 0: Data refresh is only carried out once
  • > 0: Cyclic data refresh is carried out with the specified refresh rate
VTVariable type (Data format description). Default in the process object: "VT=i32"
  • "i8", "i16", "i32", "i64": 8 to 64-bit signed integer
  • "u8", "u16", "u32", "u64": 8 to 64-bit unsigned integer
  • "f32", "f64": 32/64-bit floating point
  • "boolean": Flag with element length of 1 byte
  • "string": String with 8-bit character size
  • "wstring": String with 16-bit character size
  • "struct": Structure
  • "time": 32-bit time in ms since midnight
  • "dt": 32-bit date and time in seconds since 1/1/1968
  • "date": 32-bit date,
  • "tod". 32-bit time of day,
  • "data": General variable type with 1-byte element length
VLVariable length in bytes (data format description). This parameter can only be specified together with the VT parameter.
For single variables, the variable length corresponds to the process data length. For array variables, the variable length is defined as the element length. This parameter does not need to be specified when used in conjunction with variable types which that have a fixed variable length (e.g. VT=i32 always has a variable length of 4 bytes).
VNThe number of elements in array variables (data format description). Default: VN=1. This parameter can only be specified together with the VT parameter.
VS

Optional additional specification of the variable type (Data format description). This parameter can only be specified together with the VT parameter.

The VS parameter provides additional information about the variable type (VT parameter), and does not affect how data is handled (data functions, type changes, etc.) in PVI. Each additional specification consists of comprises one or more specification IDs ('a' - 'z'). The individual specification IDs are separated by semicolons (';'). The following additional specifications are currently defined: 'a' ... array variable, 'b' ... bit string, 'e' ... enumeration, 'v' ... derived data type.

ALStructure alignment. Default: "AL=1".
This parameter only takes effect in connection with variable type "VT=struct". Alignment values 1, 2, 4, 8, or 16 can be defined.
CMMode for type casting (cast mode). Default: "CM=0".
The mode is defined as a bit list and controls type casting between link and process objects.
  • Bit 0: String variable for PG2000 or AS 1.3
  • Bit 1: String contents are interpreted as a decimal number
  • Bit 2: Value range is monitored
  • Bit 3: Rounding takes place when casting type from a float to an integer
  • Bit 4: Strings are always terminated with 0 (null).
VAVariable addressing. Default: No variable addressing
Using variable addressing, link objects can address subsets from the process data of a variable object.
DVThe default value for single variables (process data).
This parameter can be used to assign a default data value to process variable objects of type Integer, Floating Point, Boolean, or String. If this parameter is specified, then a data format also has to be defined in the object description. This default value is only written to the process image but is not transferred to the PLC.
Examples: DV=123,  DV=2.561e10,  DV="string format"
HYAssigned event hysteresis. Default: No hysteresis
Definition of event hysteresis for single variables or array variables of type Integer or Floating Point. Event hysteresis is specified as a hysteresis value.
Examples: HY=10, HY=2.5
FSAssigned data function. Default: No function
Definition of a data function for single variables or array variables of type Integer or Floating Point. The data function is specified as a function description.
UTA user tag. With user tags, PVI applications can assign a private user code or specific user data to a process object (module, task, or variable object) in the form of a string. User tags are only managed by PVI, not evaluated.

...