Loading…
Loading…
方法名称: ejx_method_do_test
方法ID: 0x4158
方法标签: DO Test
方法描述: Digital output test- Allows the user to test the contact output for a digital signal at the contact output terminal of the device. Select 'On' to output the digital signal.
- {
- int choice;
- long var_id[2];
- char status[3];
- { _set_all_resp_code(0); _set_device_status(0xFF,0); _set_xmtr_device_status(0xFF,0); _set_xmtr_all_resp_code(0); };
- _add_abort_method(16744);
- do {
- choice = SELECT_FROM_LIST("|en|DO Test","|en|Off;On;Exit" );
- if( (choice == 0)||(choice == 1) ) {
- _iassign(16610,(choice ));
- send( 193, status );
- if( status[0] ) {
- display_response_status( 193, status[0] );
请登录以获得完整内容