
EDAM-4200 Series User’s manual Version 1.03
8.4.33
$AAYM6CRPSTTTT (data)
Set
DI mismatch DO latch Mode
of DIO Sync.
Description: Set DO to DI mismatch DO latch Mode for Automatic DIO Synchronization. A single digital output
channel is activated (1 or 0) and latched, when DI input value mismatch DI mask pattern.
Command:
$AAYM6CPSTTTT (data) [CHK](cr)
Syntax:
$
Command leading code
AA
Module address ID (01 to FF , Always 01)
YM6
command to set DI mismatch/DO latch mode of Auto DIO Sync.
C
Mirrored DO channel number (hex 0~F).
R
write DO to local module or remote module when DIO sysnc active.
= 0 - Local Mode, (Local DI->Local DO)
= 1 - remote Mode,(Local DI->Remote DO)
P
Enable/Disable Auto Run(Start) DIO Synchronization operation when power-on.
= 0 - Disiable
= 1 - Enable
S
digital output active state when DI data pattern match
= 0 - digital output 0 when DI data pattern match
= 1 - digital output 1 when DI data pattern match
= 2 - toggle digital output
TTTT
DI channel pre-debounce time (hex 0000~FFFF ms)
(data)
represent DI mask pattern is used to indicate the monitored input
channels(0~15) and mask state, (16 char),
bits(15..0) - indicate DI channel(15..0) to be monitored and mask state,
= '1' - indicate DI channel n is monitored and mask state is ‘1’.
= '0'
- indicate DI channel n is monitored and mask state is ‘0’.
= 'X'
- don't care (not be monitored)
CHK
Check sum
(cr)
Carriage return
Response:
!AA [CHK](cr)
Valid command
?AA[CHK](cr)
Invalid command
!
Delimiter for valid command
?
Delimiter for invalid command
AA
Module address ID
CHK
Check sum
(cr)
Carriage return
Note
:
Before starting Automatic DIO Synchronization
function, you must set DO Mode to
"
DIO Sync. Mode "
(Ref. $AACONNDD).
Example:
Assume DI channel 0,2,5 are monitored and the ASCII form of DI mask pattern is
XXXXXXXXXX
1
XX
0
X
1
.
When DI input ch(0)
≠
1 or ch(5)
≠
1 or ch(2)
≠
0(mismatch DI mask pattern), the corresponding DO(0) will
be set to ON(1) and latched. DI pre-debounce time is 300 msec.
command:
$01YM60
11
012CXXXXXXXXXX
1
XX
0
X
1
(cr)
where R =
1
- remote Mode,(Local DI->Remote DO).
P =
1
- enable Auto Run(Start) DIO Synchronization operation when power-on.
S =
1
- digital output active state(=1) when DI value mismatch DI mask pattern
TTTT = 0x012C (300ms)
response:
!01(cr) ; valid
Related command:
$AACONNDD, @AA6ONSS, $AAY6MRCS, $AAY6MC, $AAY6MS, $AAYM1CPSHHHHLLLL (data),
$AAYM2CPSTTTT(data)
Printed Date: 27 February 2018
118