beautypg.com

ElmoMC Multi-Axis Motion Controller-Maestro User Manual

Page 231

background image

Maestro

Software Manual

Ethernet/IP Communication

MAN-MASSW (Ver. Q)

12-11

ASCII over Serial communication

Parameters:

o

MODBUS address (view paragraph 1.1)

o

Serial port
Serial port identifier (default port value "COM1", for information only)

o

Baud rate
Port baud rate in bps (typically 38400)

o

Data bits
Port data bits

o

Stop bits
Port stop bits

o

Parity
Port parity: no parity, odd parity or even parity

MODBUS Slave Object functionality

Figure 12-4: MODBUS Slave Data Model with separate blocks.

Maestro MODBUS Slave Object uses the Data Model with four separate blocks (Figure
12-4).

MODBUS Slave Object Functions

Communication control:

int retVal = startupServer()

Puts the MODBUS slave (server) into operation.

Example:

slave.startupServer()

int retVal = shutdownServer()

Shuts down the MODBUS slave (server)