Legacy Communication Functions Available on M580 CPUs

Legacy communication functions role:

Name

Role

DATA_EXCH

End any requests (Modbus, Umas …) to any Modbus slave via a communication module plugged in a local rack or in an EIO drop.

INPUT_BYTE

Receive an array of bytes on a character mode link of a BMX NOM module plugged in a local rack or in an EIO drop.

INPUT_CHAR

Receive a character string on a character mode link of a BMX NOM module plugged in a local rack or in an EIO drop.

PRINT_CHAR

Send a character string on a character mode link of a BMX NOM module plugged in a local rack or in an EIO drop.

READ_VAR

Read the value of one or more language objects via a communication module plugged in a local rack or in an EIO drop.

SEND_EMAIL

Send an email over an Ethernet port of a communication module plugged in a local rack (Ethernet modules cannot be plugged in an EIO drop).

WRITE_VAR

Write the value of one or more language objects via a communication module plugged in a local rack or in an EIO drop.

Other Communication Functions Available on M580 CPUs

Other communication functions role:

Name

Role

ETH_PORT_CTRL

Activate or deactivate a protocol.

EthPort_Control_MX

Enable or disable the configured Ethernet services.

GET_TS_EVT_M (1)

Get the time stamped data in a Modicon BMX ERT 1604T or BMX CRA ••••• module plugged in a local rack or in an EIO drop.

READ_PARAM_MX (2) (3)

Read the parameter words of a Modicon X80 I/O module plugged in a local rack by performing an explicit exchange.

READ_STS_MX (2)

Read the status words of a Modicon X80 I/O module plugged in a local rack or in an EIO drop by performing an explicit exchange.

RESTORE_PARAM_MX (2) (3)

Restore the parameter words of a Modicon X80 I/O module plugged in a local rack by performing an explicit exchange.

SAVE_PARAM_MX (2) (3)

Save the parameter words of a Modicon X80 I/O module plugged in a local rack by performing an explicit exchange.

WRITE_CMD_MX (2)

Send a command to a Modicon X80 I/O module plugged in a local rack or in an EIO drop by performing an explicit exchange.

WRITE_PARAM_MX (2) (3)

Write the parameter words of a Modicon X80 I/O module plugged in a local rack by performing an explicit exchange.

1: GET_TS_EVT_M is part of the System Library (SysClock family).

2: READ_STS_MX, WRITE_CMD_MX, READ_PARAM_MX, WRITE_PARAM_MX, SAVE_PARAM_MX, and RESTORE_PARAM_MX are part of the I/O Management Library (Explicit Exchange family).

3: READ_PARAM_MX, WRITE_PARAM_MX, SAVE_PARAM_MX, and RESTORE_PARAM_MX can only be used with I/O modules plugged in a local rack. When sent to a module on an EIO drop, error code 16#2007 (Unauthorized network field on slave) is returned.

Utility Functions Available on M580 CPUs

These functions are executed synchronously. A function is synchronous when it is completely executed during the CPU task that activated this function.

Utility functions role:

Name

Role

ADDM

Convert a character string into an address that can be used directly by the communication functions.

ADDMX

Convert a character string respecting the Control Expert device address syntax into an array of integers.

CANCEL

Interrupt an asynchronous communication function in progress.

NOTE: Another way to cancel an asynchronous communication function in progress is to use the cancel bit of the management parameters.
NOTE:
  • To address a module on an EIO drop, address string to be used with ADDMX needs to be 0.0.3 {xx.xx.xx.xx} (3: channel 3 of CPU correspond to the embedded Ethernet port of the CPU, xx.xx.xx.xx corresponds to the IP address of the drop).

  • To address a module in a local rack with ***_MX functions, address string needs to be 0.0.10 (address of the CPU main server).