Pcs2
flcusat
Junior Member
in AMX Hardware
Could somebody explain how the outputs of the PCS2 behave when sensing a device conected to it?
Comments
-
Well, let's say you plug in a CD player. Normally with the power button off both outputs are open, when the players powered on, paused or stopped (system stby) output 2 makes/closes and output one stay open. When playing or FFWD/RWD output one makes/closes and output two opens. It may be reversed but I think that's right. So you basically have three possibilties to track: both open, one open & two closed or one closed and two open.
-
But when it is closed do you have any voltage or viceversa? How do you combine the status of the output on the PCS2 with an I/O port?
-
Two different ports.
Define_Device dv_IO = 5001:17:0 // I/0 = PORT 9 DATA_EVENT [dvCD] ///send stop to cd player { online: { pulse [dvCD,2] SEND_COMMAND dvCD,'SET MODE IR' // sets IR port 9 to IR mode SEND_COMMAND dvCD,'SET IO LINK 1' // sets IR port to link with I/O channel 1 (port 17) send_command dvCD, 'CARON' } } DATA_EVENT [dv_IO] /// I/O sensor input port 17 of NI4000 ch 1 & 2 { online: { send_command dv_IO,'SET INPUT 1 LOW' send_command dv_IO,'SET INPUT 2 LOW' send_command dv_IO,'SET INPUT 3 LOW' send_command dv_IO,'SET INPUT 4 LOW' } } CHANNEL_EVENT[dv_IO,1] /// IO current sensor for play/ffwd-rewnd on cd { ON: { wait 3 { if ([dv_IO,1]) nCDIO_PLAY = 1 } } OFF: { wait 3 { if (![dv_IO,1]) nCDIO_PLAY = 0 } } } CHANNEL_EVENT[dv_IO,2] /// IO current sensor for stop/pause on cd { ON: { wait 3 { if ([dv_IO,2]) nCDIO_STBY = 1 } } OFF: { wait 3 { if (![dv_IO,2]) nCDIO_STBY = 0 } } }
Leave a Comment
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums
