4-5
Programming
Number to be Set
0
1
2
3
4
5
6
7
Channel 1
Use
Unuse
Use
Unuse
Use
Unuse
Use
Unuse
Channel 2
Use
Use
Unuse
Unuse
Use
Use
Unuse
Unuse
Channel 3
Use
Use
Use
Use
Unuse
Unuse
Unuse
Unuse
Note that whenever PSC5000 system is powered up or raises stop-all, setting of
register 7 will be cleared to "0" and forcibly turning OFF LED will be released.
Therefore, set the register on application program immediately before start of
execution.
Because this register is for writing only, it is impossible to see the set value.
4.2
Definition of Registers
These registers must be defined in configuration task as follows. In the following
description, "variable_name" is any variable name and "s" is slot number where
S-ABS II Card exists.
4.2.1 Absolute Position Data Registers
The absolute position data registers are defined in the following format.
HIODEF variable_name [SLOT=s, REGISTER=0] : ! Ch1 absolute data
HIODEF variable_name [SLOT=s, REGISTER=2] : ! Ch2 absolute data
HIODEF variable_name [SLOT=s, REGISTER=4] : ! Ch3 absolute data
or
IODEF variable_name! [SLOT=s, REGISTER=0] : ! Ch1 absolute data
IODEF variable_name! [SLOT=s, REGISTER=2] : ! Ch2 absolute data
IODEF variable_name! [SLOT=s, REGISTER=4] : ! Ch3 absolute data
4.2.2 Error Status Register
The error status register is defined in the following format.
IODEF variable_name% [SLOT=s, REGISTER=6] : ! Error status data
or (duplication is also allowable)
IODEF variable_name@ [SLOT=s, REGISTER=6, BIT=0] : ! Ch1 LED error
IODEF variable_name@ [SLOT=s, REGISTER=6, BIT=1] : ! Ch1 com error
. . .
IODEF variable_name@ [SLOT=s, REGISTER=6, BIT=14] : ! Ch3 batt error
Содержание S-ABS II Card
Страница 4: ...II PSC5000 Serial Absolute Encoder Input Card II S D4024...
Страница 6: ...IV PSC5000 Serial Absolute Encoder Input Card II S D4024...
Страница 8: ...VI PSC5000 Serial Absolute Encoder Input Card II S D4024...
Страница 18: ...3 6 PSC5000 Serial Absolute Encoder Input Card II S D4024...
Страница 26: ...5 2 PSC5000 Serial Absolute Encoder Input Card II S D4024...
Страница 30: ...A 2 PSC5000 Serial Absolute Encoder Input Card II S D4024...
Страница 32: ...B 2 PSC5000 Serial Absolute Encoder Input Card II S D4024...
Страница 44: ...E 6 PSC5000 Serial Absolute Encoder Input Card II S D4024...
Страница 51: ......