Please enable JavaScript to view this site.

The following is the list of commands to be used in the configuration file.

This file can be uploaded to the CAN_DIR folder or to FB_DIR.

NOTE: For documentation on the Ethernet-IP configuration file, see the Ethernet-IP protocol documentation page.

Generics

Command

Description

;text

To insert a comment line, the first significant character must be a ; (semicolon)

WS_ID value

 

This number must be even and between 0 and 62.

The even address is associated with blocks with index 0, the next address is associated with blocks with index 1 (see instruction BLOCK_xxx").

NOTE: Allowed only before block definitions. Must be present for both DeviceNet and EtherNET/IP.

BAUDRATE value

Working frequency (in KHz) of the DEVICE NET. This number can take the following values: 125, 250 or 500

DISABLE_COM_ALARM

Disable runtime communication alarms 9203

PRO_CB

Reserved

REAL_AS_DOUBLE / REAL_AS_FLOAT

Indicates how REAL type data should be treated (where not explicitly stated). The default is REAL_AS_FLOAT

LITTLE_ENDIAN/ BIG_ENDIAN/ MIDDLE_LITTLE_ENDIAN/ MIDDLE_BIG_ENDIAN

Selects how data in communication packets should be handled. Default BIG_ENDIAN

RUN_ALWAYS

Enables transmission in any mode.

By default, transmission occurs only in execution mode

DIAGNO_R idx [-Rn]

Enables writing communication diagnostics to R registers. You can specify the number of registers to use. The default is 3 registers. Only values between 1 and 3 will be taken into account.

See diagnostics

FULL_DIAGNO_R idx

Enables writing full communication diagnostics to 16 R registers.

See diagnostics

BLOCK_TO_RBX n

Command to start the definition of a data block received from outside to Robox. The maximum total size of data exchanged in transmission is 200 bytes. Blocks must be numbered from 0 to 1 and be defined sequentially (first 0, then 1).

Parameter

Description

n

Block number

BLOCK_FROM_RBX n

Command to start the definition of a data block transmitted from Robox to the outside. The maximum total size of data exchanged on reception is 200 bytes. Blocks must be numbered from 0 to 1 and be defined sequentially (first 0, then 1).

Parameter

Description

n

Block number

Defining the data structure within a block

Command

Description

O-offs itemDefinition ...

Indicates with what offset to enter the unit in the data block. The value must be in the range 0-:-31 and must not point to a data area already, fully or partially, defined.

Parameter

Description

offs

Unit insertion offset within the block

itemDefinition

Definition of the unit to be inserted

O-offs R_16 idx [-RnRip]

Defines the use of the low 16 bits (2 bytes) of the indicated integer register.

In case of register assignment r, bit 15 (0x8000) will not be extended in the high word of the register.

Ex.

Value written to buffer 16 bits

32-bit register contents

0x1234 (4660)

0x00001234 (4660)

0xE000 (57344 or -8192) depending if considered U16 or I16

0x0000E000 (57344)

 

Parameter

Description

offs

Unit entry offset within the block

idx

Register index

nRip

Number of repetitions (default 1)

O-offs R_16_I idx [-RnRip]

Defines the use of the low 16 bits (2 bytes) of the indicated integer register.

In case of register assignment r, bit 15 (0x8000) will be extended in the high word of the register.

Ex.

Value written to buffer 16 bits

Contents of 32-bit register

0x1234 (4660)

0x00001234 (4660)

0xE000 (57344 or -8192) depending if considered U16 or I1

0xFFFFE000 (-8192)

 

Parameter

Description

offs

Unit entry offset within the block

idx

Register index

nRip

Number of repetitions (default 1)

O-offs R_32 idx [-RnRip]

Defines the use of the indicated integer register r (4 bytes).

Parameter

Description

offs

Unit entry offset within the block

idx

Register index

nRip

Number of repetitions (default 1)

O-offs NVR_16 idx [-RnRip]

Defines the use of the low 16 bits (2 bytes) of the indicated retentive integer register nvr.

In case of nvr register assignment bit 15 (0x8000) will not be extended in the high word of the register.

Ex.

Value written to buffer 16 bits

Contents of 32-bit register

0x1234 (4660)

0x00001234 (4660)

0xE000 (57344 or -8192) depending if considered U16 or I1

0x0000E000 (57344)

 

Parameter

Description

offs

Unit entry offset within the block

idx

Register index

nRip

Number of repetitions (default 1)

O-offs NVR_16_I idx [-RnRip]

Defines the use of the low 16 bits (2 bytes) of the indicated retentive integer register nvr.

In case of nvr register assignment bit 15 (0x8000) will be extended in the high word of the register.

Ex.

Value written to buffer 16 bits

Contents of 32-bit register

0x1234 (4660)

0x00001234 (4660)

0xE000 (57344 or -8192) depending if considered U16 or I1

0xFFFFE000 (-8192)

 

Parameter

Description

offs

Unit entry offset within the block

idx

Register index

nRip

Number of repetitions (default 1)

O-offs NVR_32 idx [-RnRip]

Defines the use of the indicated integer retentive register nvr (4 bytes).

Parameter

Description

offs

Unit entry offset within the block

idx

Register index

nRip

Number of repetitions (default 1)

O-offs RR idx [-RnRip]

Defines the use of the indicated real register rr. If REAL_AS_FLOAT the value is received/sent as float (4 bytes), with limitation to maximum float if the value of REAL is greater; if REAL_AS_DOUBLE the value is received/sent as double (8 bytes).

Parameter

Description

offs

Unit insertion offset within the block

idx

Register index

nRip

Number of repetitions (default 1)

O-offs RR_F idx [-RnRip]

Defines the use of the indicated real register rr. The value is received/sent as float (4 bytes), with limitation to maximum FLOAT if the value of the REAL is greater.

Parameter

Description

offs

Unit entry offset within the block

idx

Register index

nRip

Number of repetitions (default 1)

O-offs NVRR idx [-RnRip]

Defines the use of the indicated real retentive register nvrr. If REAL_AS_FLOAT the value is received/sent as float (4 bytes), with limitation to maximum float if the value of REAL is greater; if REAL_AS_DOUBLE the value is received/sent as double (8 bytes).

Parameter

Description

offs

Unit insertion offset within the block

idx

Register index

nRip

Number of repetitions (default 1)

O-offs NVRR_F idx [-RnRip]

Defines the use of the indicated real retentive register nvrr. The value is received/sent as float (4 bytes), with limitation to maximum float if the value of the REAL is greater.

Parameter

Description

offs

Unit entry offset within the block

idx

Register index

nRip

Number of repetitions (default 1)

O-offs SR idx -CnChar

Defines the use of the non-retentive string register sr given.

Parameter

Description

offs

Unit entry offset within the block

idx

Register index

nChar

Number of characters to be used

O-offs NVSR idx -CnChar

Defines the use of the indicated retentive string register nvsr.

Parameter

Description

offs

Unit entry offset within the block

idx

Register index

nChar

Number of characters to use

O-offs INP_W idx [-RnRip]

Defines the use of the specified input word image. It can be used only in BLOCK_FROM_RBXs.

Parameter

Description

offs

Unit input offset within the block

idx

Index of the input word

nRip

Number of repetitions (default 1)

O-offs INP_DW idx [-RnRip]

Defines the use of the specified input dword image. It can be used only in BLOCK_FROM_RBXs.

Parameter

Description

offs

Unit input offset within the block

idx

Index of the input dword

nRip

Number of repetitions (default 1)

O-offs OUT_W idx [-RnRip]

Defines the use of the specified output word image. It can be used only in BLOCK_FROM_RBXs.

Parameter

Description

offs

Unit entry offset within the block

idx

Index of the output word

nRip

Number of repetitions (default 1)

O-offs OUT_DW idx [-RnRip]

Defines the use of the specified output dword image. It can be used only in BLOCK_FROM_RBXs.

Parameter

Description

offs

Unit entry offset within the block

idx

Index of the output dword

nRip

Number of repetitions (default 1)

O-offs SEM dim

Defines the use of a semaphore for data exchange.

The semaphore delimits the beginning of a subset of definitions beginning at the offset following the semaphore itself and ending at the end of the block or at another semaphore.

If the imposed value is other than 0, all values in the subset are assigned to the defined registers.

If the imposed value is equal to 0, no value of the subset is assigned to the defined registers.

In the FROM_RBX blocks this flag will be set 'true'.

Parameter

Description

offs

Unit entry offset within the block

dim

Semaphore type:

1 = 1byte [U8]

2 = 2byte [U16]

4 = 4byte [U32]

-4 = 4byte [FLOAT]

-8 = 8bytes [DOUBLE]

O-offs RES dim

Reserve an area in the block equal to the indicated number of bytes.

Parameter

Description

offs

Unit entry offset within the block

dim

Number of bytes to be reserved

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC