Instruction Manual
176 运动控制功能原理介绍
止将由当时相对应的数字输出状态及逻辑决定。以下为简单使用范
例
1. 使用 APS_set_board_param() 依照卡片参数表设定 PWM
输出信道与相对应数字输出以及判断逻辑。
2. 在点表 (Point table) 指定点的选项 (Option) 中打开
DO_Enable,决 定 DO_Channels及DO_ON或DO_OFF。
对应关系图
表 4-4:卡片参数表 (Board parameter table)
NO. SYMBOL Description Default
110h PRB_PWM0_MAP_DO
Disable mapping ; > 0: Enable mapping
(2) Bit0~7: Specify a Do channel.
(3) Bit8: Select logic;
Set to 1: Turning on Do maps enabling PWM0.
Turning off Do maps disabling PWM0. Set to 0:
Turning on Do maps disabling PWM0. Turning
off Do maps enabling PWM0.
111h PRB_PWM1_MAP_DO Please see description of
PRB_PWM0_MAP_DO
112h PRB_PWM2_MAP_DO Please see description of
PRB_PWM0_MAP_DO
113h PRB_PWM3_MAP_DO Please see description of
PRB_PWM0_MAP_DO
preliminary