ZMC408SCAN Motion Controller Hardware Manual V1.5
only through the IO number. The IO number of the EtherCAT bus expansion module is set
through the bus command NODE_IO, and the input and output are configured at the same
time.
When IO mapping, first check the maximum IO number of the controller itself
(including the external IO interface and the interface in the pulse axis), and then use the
command to set.
If the extended IO coincides with the IO number of the controller itself, the two will
work at the same time, so the mapped number of the IO mapping must not be repeated in
the entire control system.
IO mapping syntax:
NODE_ IO( slot, node ) = iobase
slot: slot number, 0-default
node: device number, starting from 0
iobase : mapping the IO start number, the setting result will only be a multiple of 8
Example:
NODE_IO(0,0)=32 'set the IO start number of slot 0 interface device 0 to 32
If device 0 is EIO16084, after configuration according to the above syntax, the IO
numbers corresponding to input IN0-15 are 32-47 in turn, the general input port numbers
in the axis interface are 48-55, and the drive alarm inputs of axes AXIS 0-3 are 48-51
respectively. The IO numbers corresponding to the output OUT0-7 are 32-39 in sequence,
the general output port numbers in the axis interface are 40-47, and the drive enable
outputs of the axes AXIS 0-3 are 40-43 respectively.
→
AXIS Mapping:
Before using the axis of the expansion module, you need to use the AXIS_ADDRESS
command to map the axis number, and the axis mapping also needs to pay attention to
the axis number of the entire system cannot be repeated. The mapping syntax of the EIO
series extended axis is the same as that of the bus driver.
Axis mapping syntax:
AXIS_ADDRESS( axis number )=(slot number<<16)+driver 1