Porovnávané verzie

Kľúč

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

...

ParameterMeaningUnit / SizeDefault value

Kotva
p
p
Maximum Payload

Maximum size (in bytes) of data read by a single request. I/O tags whose addresses are consecutive will be grouped into reading requests so that the size of the response data does not exceed the configured value.1 až 1024 B100 B

Kotva
d
d
Cycle Delay

Waiting after reading of all I/O tags on a station. This parameter allows you to set read cycles less than 1 second (the time parameters configured on the station have a resolution of 1 second).
ss.mss100 ms

Kotva
vd
vd
Debug Values

Activates a debug info about the read/written values of I/O tags. Use this parameter only when communication must be debugged because it highly utilizes CPU and slows down the communication.YES/NONO

...

  • The "+" character is used for memory areas containing integer values and it means that the value will be interpreted as an Unsigned number (8, 16, or 32-bit unsigned integer).
    If the "+" character is not found, the value is interpreted as a Signed number (8, 16, or 32-bit signed integer).
    For memory areas containing bits or floating-point values, the "+" character is ignored.
  • MemoryArea specifies the type of memory:

    MemoryArea Memory type descriptionData size
    %IGNOREI/O tag will be ignored.
    Note: arbitrary character can follow after %IGNORE e.g. %IGNORE +%R1
    -
    %IInputBit (Discrete inputs, bit access-mode)1 bit
    %IBInputByte  (Discrete inputs, byte access-mode)1 byte
    %QOutputBit (Discrete outputs, bit access-mode)1 bit
    %QBOutputByte (Discrete outputs, byte access-mode)1 byte
    %TTemporaryBit (Temporary references, bit access-mode)1 bit
    %TBTemporaryByte (Temporary references, byte access-mode)1 byte
    %MMemoryBit (Internal references, bit access-mode)1 bit
    %MBMemoryByte (Internal references, byte access-mode)1 byte
    %SSBit (System status references, bit access-mode)1 bit
    %SSBSByte (System status references, byte access-mode)1 byte
    %SASABit (System status references A, bit access-mode)1 bit
    %SABSAByte (System status references A, byte access-mode)1 byte
    %SBSBBit (System status references B, bit access-mode)1 bit
    %SBBSBByte (System status references B, byte access-mode)1 byte
    %SCSCBit (System status references C, bit access-mode)1 bit
    %SCBSCByte (System status references C, byte access-mode)1 byte
    %GGlobalBit (Discrete globals, bit access-mode)1 bit
    %GBGlobalByte (Discrete globals, byte access-mode)1 byte
    %AIAnalogInput (Analog input registers, byte access-mode)2 bytes
    %AQAnalogInput (Analog output registers, byte access-mode)2 bytes
    %RRegisters (System register reference, byte access-mode)2 bytes
    %RDRegistersDouble (System register reference, 2 registers as a double word)4 bytes
    %RFRegistersFloat (System register reference, 2 registers as a floating-point)4 bytes
    %LLocalSubblock (Local registers, byte access-mode)2 bytes
    %PProgramBlockData (Program registers, byte access-mode)2 bytes

    Note: the order of bytes and words is little-endian: B1 B2 for 2-byte types, B1 B2 B3 B4 for 4-byte types.

  • Position defines the position of the object within the memory type. It is a positive 16-bit number (1-65535).
    Note: only positions 1-65534 are valid for the %RD and %RF memory types, as this is merely an integer/float interpretation of two consecutive registers in the %R memory area.

  • StringLength specifies the length of the string in characters. This parameter is only allowed for memory type %R. Each register is interpreted as a 2-character string (little-endian format). For example,  Ian I/O tag with address %R1000:4 will read a 4-character string from registers 1000 and 1001.

  • Count specifies the number of objects. This parameter only makes sense if the Destination Column is configured. It specifies the number of objects to be read and written to the structure.

...

The default mapping of R registers is related to the setting of $SNPX_ASG[1] to:

...

With this setting, the individual position components (X, Y, Z, W, P, R, etc.) will be mapped as 32-bit float numbers at the addresses %RF11000, %RF11002, %RF11004, and so on (50 registers per one PR, a total of 100 registers per PR[1] and PR[2]). For more details see subchapter 6.3 READING FROM AND WRITING TO POSITION REGISTERS (% R).

...

With this setting, the registers %R12430 to %R12433 will contain simulation contain the status of robot outputs RO[1] to RO[4] simulation. Similarly, it is possible to configure simulation status for other types of objects (e.g. 'DI[S1]', 'DO[C2S2]', 'DO[S1]', 'RI[S1]' etc) as well as values of these objects (e.g. 'DI[1]', 'DI[2]', 'UO[1]', 'SI[1]' atď). For more details see subchapter 6.9 READING AND WRITING THE VALUE AND SIM STATUS OF I/O (%R).

...