Справочник Пользователя для Intelligent Motion Systems 17

Скачать
Страница из 69
58
MNEMONIC
FUNCTION
TYPE
S1 - S4
Set/Print I/O Point Type/Active State
I/O Instruction
DESCRIPTION
This instruction is used to setup the I/O type and active states for I/O points 1 - 4. Each of  MDrive Motion Control I/O points 1-
4 may be programmed as either general purpose inputs and outputs, or to one of nine dedicated input functions or one of two
dedicated output functions.
When programmed as inputs, these points will be sinking and may be programmed such that they are active when pulled to ground,
or active when left floating. By default each point is configured as a general purpose input, active when LOW.
There are two parameters attached to this instruction:  the type specifies the function of the I/O point. The second parameter sets
the active state, which defines the point as LOW or HIGH TRUE.
I/O FUNCTION
TYPE
ACTIVE STATE
PARAMETER
INPUTS
General Purpose Input
0
LOW = TRUE
0
Home Input
1
HIGH = TRUE
1
Limit + Input
2
Limit - Input
3
G0 Input
4
Soft Stop Input
5
Pause Input
6
Jog + Input
7
Jog - Input
8
OUTPUTS
General Purpose Output
16
Moving Output
17
Fault Output
18
Stall
19
USAGE
DEFAULT
S<1-4>=<type>,<active>
<type>=0, <active>=0
EXAMPLE:
S1=2,0
‘set i/o point 1 to a limit + function, active when LOW
S4=17,1 ‘set i/o point 4 as moving output, active when HIGH
RELATED COMMANDS: I1-4, IN, O1-4, OT
MNEMONIC
FUNCTION
TYPE
S5
Set/Print I/O Point 5
I/O Instruction
DESCRIPTION
This I/O point differs from I/O points 1-4 in that it is factory configured as a 0 - 5 V Analog Input with 10 bit A/D resolution.
I/O FUNCTION
TYPE
0-5V Analog Input
9
4-20 mA Analog Input
10
RELATED COMMANDS: I5, JE