Please enable JavaScript to view this site.

It must be in the alias folder SYS_DIR or FB_DIR.

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

Generics

Command

Description

;

To insert a comment line

PROFIBUS_ADDRESS n

Specifies the PROFIBUS address of the Robox board. It has higher priority than the value detected by the configuration switches.

Parameter

Description

n

Specified profibus address.

The permissible range is 1 ÷ 125

0

To not set the name and/or address of the station from control.

In this case name or address should be set by external configuration programs (e.g., Proneta). The value thus set by external is retentive but is not part of the retentive memory in the control.

NOTE: Only for profinet RP-2 communication, with BIOS > 3.4.0.

NOTE: The value of this keyword is replaced in case of address change via OVERRIDE_PROFI_ADDR parameter.

STATION_NAME name

Specifies the name of the PROFINET station.

NOTE: Only for RP-2 profinet communication with FBSLAVE interface and BIOS > 3.4.1.

IPADDR aaa.aaa.aaa.aaa

NETMASK nnn.nnn.nnn.nnn

GATEWAY ggg.ggg.ggg.ggg

Specifies the IP address of the PROFINET node.

NOTE: The lower part of the IP address specified by the keyword IPADDR is replaced in case of Profinet node address change via parameter OVERRIDE_PROFI_ADDR.

USE_MULTISLOT

Allows communications with the master to be handled in multislot mode. If omitted, single-slot communications are used.

NOTE: The appropriate version of bios for multislot mode must be installed on uRMC3.

DISABLE_COM_ALARM

Disables alarm generation on lack of profibus communication(9201 PFB.INT. No Profibus Communic.(code))

ENABLE_RESET

Enables the reset of the PROF.INT board in case of DP dropout. The reset occurs after a preset time of about 4 seconds from the last message received

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

LITTLE_ENDIAN_DWX

BIG_ENDIAN_DWX

MIDDLE_LITTLE_ENDIAN_DWX

MIDDLE_BIG_ENDIAN_DWX

Selects the mode of handling data in communication packets.

Since RTE 34.21.1, commands ending with _DWX have been added, which cause DWORDs to swap for 64-bit data (REAL, I64, or U64).

Default BIG_ENDIAN.

Assuming a word=0x0102 (2 bytes) a dword=0x01020304 (4 bytes) and a real=0x0102030405060708 (8 bytes):

Command

2 Bytes (hex)

4 Bytes (hex)

8 Bytes (hex)

LittleEndian

02,01

04,03,02,01

08,07,06,05,04,03,02,01

LittleEndianDWX

02,01

04,03,02,01

04,03,02,01,08,07,06,05

MiddleLittleEndian

02,01

02,01,04,03

06,05,08,07,02,01,04,03

MiddleLittleEndianDWX

02,01

02,01,04,03

02,01,04,03,06,05,08,07

BigEndian

01,02

01,02,03,04

01,02,03,04,05,06,07,08

BigEndianDWX

01,02

01,02,03,04

05,06,07,08,01,02,03,04

MiddleBigEndian

01,02

03,04,01,02

03,04,01,02,07,08,05,06

MiddleBigEndianDWX

01,02

03,04,01,02

07,08,05,06,03,04,01,02

ID_CODE

Specifies the PROFIBUS code of the Robox board. It replaces the default value. The allowable range is -32768 ÷ 65535.

RUN_ALWAYS

Enables transmission over PROFIBUS in any mode. By default, transmission occurs only in execution mode

DIAGNO_R idx [-Rn]

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

See diagnostics

Parameter

Description

idx

Index of the first register to be used

Rn

Number of registers to use (default 4)

BLOCK_TO_RBX n

Command to start the definition of a data block transmitted from the outside to Robox. Blocks should be numbered from 1 to 6 and be defined sequentially (first 1, then 2, 3, ...).

Parameter

Description

n

Block number

BLOCK_FROM_RBX n

Command to start the definition of a data block transmitted from Robox to the outside. Blocks should be numbered from 1 to 6 and be defined sequentially (first 1, then 2, 3, ...).

Parameter

Description

n

Block number

Defining the data structure within a block

Command

Description

BLOCK_STATUS n

Defines the congruence type on the block data in which it is specified. The meaning of the bits is as indicated by the DIN 19245-3 profibus standards (see word CONFIGURATION DATA).

If not specified, the default value is 0x7F.

Example of values to be imposed for communication:

Code

Description

0x7F

= 16 data configured to word in I/O with coherence on word

0xFF

= 16 data configured to word in I/O with coherence on block.

The value imposed here MUST be consistent with the value defined in the board configuration in the Profibus chain.

Parameter

Description

n

Status word

NOTE: Currently the value imposed on the to and from blocks must be the same for the same block index.

O-offs itemDefinition ...

Indicates with what offset to enter the unit in the data block (offset expressed in bytes). 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 integer register r (4 bytes) indicated.

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 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