Micromod MOD: 1800P - MOD 30ML Identity Module (Version 2) System, I/O and Communications Functions User Manual

Page 115

Advertising
background image

Logic Functions - Book 1

MODCELL SERIAL COMMUNICATION BLOCK

4-33

82

Reset Counters (RESET).................................................................................................. – WR
The reset counters command will always read as NO. When YES is written, all diagnostic
counters will be set to zero (0).

83

Port Functionality (PORTFUNC) ......................................................................................CWR
Value indicates if the port is functioning as a slave or a master.

0

SLAVE

1

MASTER

84

Target Address (TARADDR) ............................................................................................ C – R
Value indicates the address configured for the slave unit. The value must match the switch
address as follows.

0

ANY

For modules with address switches, this configured value must have
an address set on the communication module switch of 1 to 247 or a
port mismatch will be reported (cannot have 0 or greater than 247).
Address switches are read only at power up. This value is not
allowed for the RS232 or RS485 single slot 2-wire modules because
they do not have address switches.

1 - 247

For modules with address switches, this configured value must be
equal to the address set on the communication module switches or a
port mismatch will be reported.

NOTE: Every device on the network should be given a unique address (even a master). This
is important when the use defaults switch is YES or the instrument is not RUN or HOLD
because the MSC block will always be a slave device under these conditions (block will only
function as a Master if the instrument state is RUN or HOLD).

85

Use Default Comm (USEDEF)...........................................................................................– – R
Value indicates the setting of the COMM DEFAULTS switch setting (read only at power up).

NO

0

The data base communication parameters are used.

YES

1

The communication parameters are 9600 baud, no parity, 1 stop bit
and the port functionality is slave. Data base values are left
unchanged. This switch allows you to communicate with the module
when there is a valid database but you do not know what the
database is and what the communication parameters are.

86

Write Message Timeout

(WRTIMOUT) .............................................................................CWR

Value (0 to 255) indicates the amount of time (in 50 millisecond units) that can elapse before
the write message timeout action is taken. This applies to the following messages:

WRITE_ATTRIBUTE,
SEQ_WRITE_ATTRIBUTE,
TAKE_CONTROL,
RELEASE_CONTROL AND
OVERRIDE_CONTROL

These messages cannot be processed until the scan task they are directed to is idle. If the
value is zero, an ACK is returned immediately, the Write Message Action attribute is not used
and the message will be processed when it can but it may or may not be accepted.

Advertising