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. |
||||
FULL_DIAGNO_R idx |
Enables writing full communication diagnostics to 16 R registers. |
||||
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).
|
||||
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).
|
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.
|
||||||||||||||
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.
|
||||||||||||||
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.
|
||||||||||||||
O-offs R_32 idx [-RnRip] |
Defines the use of the indicated integer register r (4 bytes).
|
||||||||||||||
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.
|
||||||||||||||
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.
|
||||||||||||||
O-offs NVR_32 idx [-RnRip] |
Defines the use of the indicated integer retentive register nvr (4 bytes).
|
||||||||||||||
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).
|
||||||||||||||
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.
|
||||||||||||||
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).
|
||||||||||||||
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.
|
||||||||||||||
O-offs SR idx -CnChar |
Defines the use of the non-retentive string register sr given.
|
||||||||||||||
O-offs NVSR idx -CnChar |
Defines the use of the indicated retentive string register nvsr.
|
||||||||||||||
O-offs INP_W idx [-RnRip] |
Defines the use of the specified input word image. It can be used only in BLOCK_FROM_RBXs.
|
||||||||||||||
O-offs INP_DW idx [-RnRip] |
Defines the use of the specified input dword image. It can be used only in BLOCK_FROM_RBXs.
|
||||||||||||||
O-offs OUT_W idx [-RnRip] |
Defines the use of the specified output word image. It can be used only in BLOCK_FROM_RBXs.
|
||||||||||||||
O-offs OUT_DW idx [-RnRip] |
Defines the use of the specified output dword image. It can be used only in BLOCK_FROM_RBXs.
|
||||||||||||||
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'.
|
||||||||||||||
O-offs RES dim |
Reserve an area in the block equal to the indicated number of bytes.
|