ZMIO310 Vertical Bus Expansion Module User Manual V1.0
6.4.7.
Configure Channel Output Value of DO Module
Function description
This function is only used to configure the channel output
value of DO module, and one of DO module has 16 channels
(channel 0-15).
Four hexadecimal numbers are converted to sixteen binary
numbers, each bit represents the output status of each
channel.
Object to use
Analog output module: ZMIO310-16DO
Data dictionary
7030h, 7040h: 7000h + extension No. of corresponding DO
module * 10, please refer to Chapter 6.4.1 for sub-module
address assignment.
Examples
'7030h, 7040h are the DO module control dictionary
'configure the channel state of the first DO module's high 8 bits
to ON, and the low 8 bits to OFF
SDO_WRITE(0,0,$7030h,1,6, 0xFF00)
'configure the channel state of the second DO module's high 8
bits to OFF, and the low 8 bits to ON.
SDO_WRITE(0,0,$7040h,1,6, 0x00FF)
Note: if SDO command is used to configure DO output, it is only valid before EtherCAT
START, because after EtherCAT START, controller will open PDO command to configure
DO channel output automatically, PDO real-time is high, and it covers DO channel data of
SDO configuration. PDO command corresponds to OP in ZBasic, please refer to ZBasic
manual for specific usage of OP.
6.4.8.
Configure Channel Output Value of DA Module
Function description
This function is only used to configure the channel output
value of DA module, and one of DA module has 4 channels, they
are channel 0, channel 1, channel 2, and channel 3.
Object to use
Analog output module: ZMIO310-4DA.
Data dictionary
7061h: 7001h + extension No. of corresponding DA module *
10, please refer to Chapter 6.4.1 for sub-module address