Download  Print this page

Schedule Write - NEC V321-2 Communications Manual

V321-2 : rs232 codes for v321, v421, v461
Hide thumbs

Advertisement

Table of Contents
FL: Option
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to the section 4.5 "Check code" for a BCC calculation.
Delimiter
CR (0Dh): End of packet

10.2 Schedule Write

This command is used in order to write the setting of the Schedule.
1) The controller requests the monitor to write Schedule.
Header
SOH-'0'-Monitor ID-'0'-'A'-'1'-'6'
Header
SOH (01h): Start Of Header
'0' (30h): Reserved
Monitor ID: Specify the Monitor ID of which you want to change a setting.
'0' (30h): Message sender is the controller.
'A' (41h): Message type is "Command".
'1'-'6'(31h, 36h): Message length.
Message
STX (02h): Start of Message
'C'-'2'-'1'-'4' (43h, 32h, 31h, 34h): Schedule writes command
PG-ON HOURS-ON MIN-OFF HOURS-OFF Min-INPUT-WD-FL: Schedule data
PG: Program No.
ON_HOUR: Turn on time (hour)
ON_MIN: Turn on time (minute)
OFF_HOUR: Turn off time (hour)
EX.
'0'-'1'(30h, 31h): Monday
'0'-'4'(30h, 34h): Wednesday
'0'-'F'(30h, 46h): Monday, Tuesday, Wednesday and Thursday
'7'-'F'(37h, 46h): Monday to Sunday
bit 0: 0(30h):once 1(31h):Everyday
bit 1: 0(30h):once 1(31h):Every week
bit 2: 0:Disable 1:Enable
EX.
'0'-'1'(30h, 31h): Disable, Everyday
'0'-'4'(30h, 34h): Enable, once
STX-'C'-'2'-'1'-'4'-PG-ON HOUR-ON MIN-
OFF HOUR-OFF Min-INPUT-WD-FL-ETX
Ex.) If Monitor ID is '1', specify 'A'.
'0'-'0'(30h, 30h): Program No.1
|
'0'-'6'(30h, 36h): Program No.7
'0'-'0'(30h, 30h): 00
|
'1'-'7'(31h, 37h): 23 (=17h)
'1'-'8'(31h, 38h): ON timer isn't set.
'0'-'0'(30h, 30h): 0
|
'3'-'B'(33h, 42h): 59
'3'-'C'(33h, 43h): On timer isn't set.
'0'-'0'(30h, 30h): 00
|
'1'-'7'(31h, 37h): 23 (=17h)
Message
(25/37)
Check code
Delimiter
BCC
CR

Hide quick links:

Advertisement

Table of Contents
loading

  Also See for NEC V321-2

  Related Manuals for NEC V321-2