Serial commands (cont’d), 8 communications – Electro Cam PS-6144 Series User Manual
Page 80

6-8 Communications
CMD
(hex)
Name
Function
1E
Grp Offset
Output group offset value.
Put:
! ADR 1E P XX YYYY CSM <CR>
Reply:
A <CR>
Get:
ADR 1E G XX CSM <CR>
Reply:
A YYYY CSM <CR>
where “XX” is the group number minus 1. “YYYY” is the offset
value for that group, in hex.
3C
Shaft Offset
Shaft position offset.
Put:
! ADR 3C P XXXX CSM <CR>
Reply:
A <CR>
Get:
! ADR 3C G CSM <CR>
Reply:
A XXXX CSM <CR>
where “XXXX” is the shaft offset in hex.
1F
Grp Chn Qty
Number of channels in a specified output group.
Put:
! ADR 1F P XX YY CSM <CR>
Reply:
A <CR>
Get:
! ADR 1F G XX CSM <CR>
Reply:
A YY CSM <CR>
where “XX” is the group number minus one. “YY” is the number
of output channels in that group, in hex.
21
Mode
Mode for the specified output group.
Put:
! ADR 21 P XX YY CSM <CR>
Reply:
A <CR>
Get:
! ADR 21 G XX CSM <CR>
Reply:
A YY CSM <CR>
where “XX” is the group number minus one. “YY” is the operating
mode, from zero to five.
47
Output Enab
Output Enable ANDing on or off for specified channel.
Put:
! ADR 47 P XX <00 or 01> CSM <CR>
Reply:
A <CR>
Get:
! ADR 47 G XX CSM <CR>
Reply:
A <00 or 01> CSM <CR>
where “XX” is the channel number minus one, in hex. “00” =
ANDing “off”; “01” = ANDing “on”.
4D
Pgm Sel Mode
Program select terminals use Binary, Gray Code, or BCD format.
Put:
! ADR 47 P <00, 01, or 02> CSM <CR>
Reply:
A <CR>
Get:
! ADR 47 G CSM <CR>
Reply:
A <00, 01, or 02> CSM <CR>
“00” = Binary; “01” = Gray Code; “02” = BCD.
Serial Commands (cont’d)
Configuration
Commands
(cont’d)