Zmotion ZMIO300 Series Hardware Manual page 46

Expansion module
Table of Contents

Advertisement

Output status configuration after communication breaks
Function
After master and slave communication breaks, this function is used to see
description
if the output status of output module (or DA module) keeps or not, there
are 2 modes, default is mode 2.
user target
Output module (ZMIO300-16DO, ZMIO300-16DOP)
audience
DA module (ZMIO300-4DA)
Data dictionary
5000h
Example
SDO_WRITE (0,0, $5001,1,6,1)
SDO_WRITE (0,0, $5001,1,6,2)
➢ This function is valid for output and DA expanded by the present coupler, it is
invalid for output and DA expanded by other couplers.
Channel enable configuration
Function
This function is used to control whether the input channel of the AD module
description
is enabled or not. There are 16 channel-enable mode settings. The default
is to enable all channels.
A four-bit binary number represents the enable state of four channels, each
bit is a channel, the lowest bit is channel 0 and the highest bit is channel 3.
Model
AD module (ZMIO300-4AD)
Data dictionary
5000h + expansion NO. of relative AD module
Example
'The first expanded expand submodule is AD module.
SDO_WRITE (0,0, $5001,2,6,0)
SDO_WRITE (0,0, $5001,2,6,3)
SDO_WRITE (0,0, $5001,2,6,12)
SDO_WRITE (0,0, $5001,2,6,15)
Mode 1: after communication breaks, output status is initial value
(output is 0, DA is the minimal value of present measurement range)
Mode 2: after communication breaks, output status is the status when
breaks.
46
ZMIO300 Series Hardware Manual Version 1.8
'configure as mode 1
'configure as mode 2
'all channels close
'channel 0, 1 open
'channel 2, 3 open
'all channels open

Advertisement

Table of Contents
loading

Table of Contents